[wp-trac] [WordPress Trac] #33702: Editor strips line breaks

WordPress Trac noreply at wordpress.org
Fri Sep 4 21:03:23 UTC 2015


#33702: Editor strips line breaks
-------------------------------+------------------------------
 Reporter:  Cyril Washbrook    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  4.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => reporter-feedback


Comment:

 It's really strange that the problem still persists after all the steps
 you've taken to troubleshoot it. There are three more things to try:

 - What happens when you open a post for editing in the Text editor and
 then switch to Visual? Does it keep the paragraphs?
 - Do you see any JS errors at any point? To check:
 https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors.
 - Do you have any mu (must use) plugins:
 https://codex.wordpress.org/Must_Use_Plugins. If yes, move the file(s) out
 of the mu-plugins directory (to disable them) and test again after
 deleting the browser cache.

 There was a change in 4.3 in the way wpautop() is run when loading the
 content in the visual editor. Now it uses the JS version of it, so any JS
 errors on the page may prevent it from running.

 In some rare cases the browser (or network) cache may not get refreshed
 properly despite that we've changed the query string to force a refresh.
 In these cases holding Shift while reloading the page a few times in
 Firefox may fix it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33702#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list