[wp-trac] [WordPress Trac] #49795: Content loss when switching between code and visual editor with the keyboard shortcut (Ctrl+Shift+Alt+M)

WordPress Trac noreply at wordpress.org
Fri Apr 3 13:59:35 UTC 2020


#49795: Content loss when switching between code and visual editor with the
keyboard shortcut (Ctrl+Shift+Alt+M)
--------------------------+------------------------------
 Reporter:  angelxube     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Otto42):

 Okay, so I was able to reproduce it with that info. It appears that
 clicking anywhere outside of the content block makes it "stick" when you
 switch. It only loses content when you switch with the keyboard without
 ever leaving the text block.

 Seemingly anything that causes that text box in the code editor to lose
 focus will save it, and then it will be there after the switch.

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


More information about the wp-trac mailing list