WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#32538 closed defect (bug) (invalid)

Embeds fetched again when undoing

Reported by: afercia Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: TinyMCE Keywords:
Focuses: javascript Cc:

Description

Not sure what is causing this. To reproduce:

  • Insert an embeddable media in TinyMCE, for example: http://playground.html5rocks.com/samples/html5_misc/chrome_japan.webm
  • write something
  • press the "Undo" button or Ctrl/Cmd+z
  • the embed is fetched again

Change History (1)

#1 @iseulde
7 years ago

  • Component changed from Editor to TinyMCE
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 4.2 deleted

Yes, this is how TinyMCE undo levels work. The entire body resets, while changing only the difference would be better. Not much we can do about this, unless it is fixed upstream, but it's not an easy task.

Note: See TracTickets for help on using tickets.