[wp-trac] [WordPress Trac] #26959: Incorporate preview of inserted galleries in the visual editor using a new version of the wpview tinymce plugin
WordPress Trac
noreply at wordpress.org
Sat Mar 15 15:40:42 UTC 2014
#26959: Incorporate preview of inserted galleries in the visual editor using a new
version of the wpview tinymce plugin
----------------------------+-----------------------------
Reporter: gcorne | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.9
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, javascript
----------------------------+-----------------------------
Comment (by gcorne):
[attachment:26959-08.patch 26959-08.patch] builds on
[attachment:26959-07.patch 26959-07.patch] by better handling cases where
the caret is an empty node. The patch also includes more comments.
A couple notes:
1. The patch assumes that a wpview takes us further down the patch of
assuming that each view is a block-level element that is a child of the
body.
2. When a more complex set of nested elements such as a <ul> or <ol> is
immediately before or after the {{{wpview}}} the behavior is a little
inconsistent.
3. A bit more work needs to be done for old IE to behave consistently.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26959#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list