Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#42351 new defect (bug)

Customizer: Text widget loses Visual tab data when moved from one widget area to another

Reported by: melchoyce's profile melchoyce Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.8
Component: Widgets Keywords: needs-patch
Focuses: Cc:


I moved my text widget to a different widget area, and now the content in the visual tab is empty, and I can’t click into the text area. If I switch to text, I see the content. Throughout this, I can also still see my content in the preview pane.

If I save, my content remains. Then, if I close and reopen the Customizer, it shows back up. There are no related console errors.

This only appears when I move the Text widget from one widget area to another. If I move it around within the same widget area, it's fine.

@westonruter says:

The problem is when the control gets moved in the DOM the editor iframe needs to be re-initialized. I think we are accounting for a widget being reordered in a sidebar but not when moved between sidebars.

See attached screenshot and

Attachments (1)

Screen Shot 2017-10-26 at 6.47.53 PM.png (953.9 KB) - added by melchoyce 6 years ago.

Download all attachments as: .zip

Change History (5)

This ticket was mentioned in Slack in #core-customize by melchoyce. View the logs.

6 years ago

#2 @westonruter
6 years ago

  • Milestone changed from Future Release to 4.9.1

#3 @johnbillion
6 years ago

  • Milestone changed from 4.9.1 to 5.0

#4 @melchoyce
6 years ago

  • Milestone changed from 5.0 to Future Release

5.0 is only going to include Gutenberg, so I'm punting this to a future release.

Note: See TracTickets for help on using tickets.