Make WordPress Core

Opened 9 years ago

Last modified 8 years ago

#42351 new defect (bug)

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

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

Description

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 ​https://wordpress.slack.com/archives/C0381N237/p1509058118000165.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

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


9 years ago

#2 @westonruter
9 years ago

  • Milestone Future Release → 4.9.1

#3 @johnbillion
9 years ago

  • Milestone 4.9.1 → 5.0

#4 @melchoyce
8 years ago

  • Milestone 5.0 → 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.