[wp-trac] [WordPress Trac] #45307: Can't undo auto-embeds

WordPress Trac noreply at wordpress.org
Wed Nov 7 18:41:27 UTC 2018


#45307: Can't undo auto-embeds
--------------------------+-----------------------------
 Reporter:  afercia       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Seems that starting from WordPress 4.8 the "Undo" in TinyMCE is unable to
 undo an auto-embed.

 I've tested it first on WordPress 4.7:
 - create a new post
 - write something
 - add an embed URL in its own line, tried with:
   - a YouTube embed
   - a WordPress embed
 - once the auto-embed happens, clicking the Undo button or pressing Cmd /
 Ctrl + Z removes the auto-embed

 Then I've tested the same steps in WordPress 4.8:
 - clicking the Undo button or pressing Cmd / Ctrl + Z removes the embed
 but it gets immediately re-embedded
 - clicking Undo multiple times enters in an Undo / auto-embed loop

 Not sure anything has changed in the auto-embeds between WordPress 4.7 and
 4.8, seems to me more related to TinyMCE. For what is worth, it happens
 also in Gutenberg.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45307>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list