Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#43073 new defect (bug)

Undo leaves a big blank spot where content wp-view was

Reported by: programmin's profile programmin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.9.1
Component: Editor Keywords:
Focuses: javascript, administration Cc:


  1. Add a Wordpress audio playlist (or video playlist, or others)
  2. Select and click "x" to remove.
  3. Undo, ctrl+z.

Now there is a big blank spot... where is it?? It's there but transparent.

Tested in the Twenty Fifteen theme and another theme, so it's not the theme.

Change History (4)

#1 @programmin
6 years ago

Seems this generally happens when the view is the only thing in the new post.

#2 @subrataemfluence
6 years ago

  • Version changed from trunk to 4.9.1

I could reproduce the issue and its not related to theme. I am using a fully custom created theme.

#3 @azaozz
6 years ago

  • Milestone changed from Awaiting Review to Future Release

Can reproduce it too, only with audio and video (and audio and video playlists). No errors in the console, just the sandbox iframe body is empty. Guessing it's a side effect from updating MediaElement.js.

A workaround for now is to switch to the Text tab and back, then the preview gets rendered.

#4 @programmin
6 years ago

I don't think so, I think this was brought up months (years?) ago on 4.8 or before.

Any reason not to run wp.mce.views.render() in this case?

Note: See TracTickets for help on using tickets.