[wp-trac] [WordPress Trac] #23743: TinyMCE overwrites text edits when wpautop is false

WordPress Trac noreply at wordpress.org
Mon Mar 11 22:36:12 UTC 2013


#23743: TinyMCE overwrites text edits when wpautop is false
--------------------------+------------------------------
 Reporter:  WraithKenny   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by WraithKenny):

 The possible permutations are:
  1. 'wpautop' = false, ed.hidden()
  2. 'wpautop' = true, ed.hidden()
  3. 'wpautop' = false, ! ed.hidden()
  4. 'wpautop' = true, ! ed.hidden()

 Case 1. is the problem, wherein (without the patch) ed.onSaveContent will
 overwrite the text edits with the old content stored in the Visual editor.
 The patch only changes the behavior of Case 1.

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


More information about the wp-trac mailing list