[wp-trac] [WordPress Trac] #41049: Visual editor adds extra space to top of the post
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Jun 14 21:01:24 UTC 2017
    
    
  
#41049: Visual editor adds extra space to top of the post
----------------------------+-----------------------------
 Reporter:  programmin      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  TinyMCE         |    Version:  4.8
 Severity:  normal          |   Keywords:
  Focuses:  ui, javascript  |
----------------------------+-----------------------------
 When you have some html in the text mode, it saves and shows correctly:
 {{{
         <div class="a">
         <div class="b">
 <div>hello</div>
 </div>
 </div>
 }}}
 However, when you switch from visual to text again, it adds an empty
 (nbsp) line above the content. Even if you make no change to the visual
 editor (which shows by default), then go to text tab, it changes the
 content text!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list