[wp-trac] [WordPress Trac] #21812: Make custom TinyMCE views easier to implement

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 03:28:25 UTC 2012


#21812: Make custom TinyMCE views easier to implement
----------------------------+---------------------
 Reporter:  koopersmith     |       Owner:  azaozz
     Type:  task (blessed)  |      Status:  closed
 Priority:  high            |   Milestone:  3.5
Component:  TinyMCE         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------

Comment (by koopersmith):

 In [22210]:
 {{{
 #!CommitTicketReference repository="" revision="22210"
 MCE Views: First pass at keystroke and insertion handling.

 * When a MCE view is selected, normal keystrokes (those without
 command/control) are blocked.
 * Backspace/delete will successfully remove the view.
 * Arrow handling will be added at a later point.
 * When a MCE view is selected and content is pasted or injected (e.g. when
 an attachment is added), the content is added to the first text node after
 the view. If the view is at the end of the document or the next element is
 another view, a text node is injected into the DOM immediately after the
 selected view.

 see #21390, #21812, #21813, #21815.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21812#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list