WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 7 months 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:
Milestone: 5.0 Priority: normal
Severity: normal Version: 4.8
Component: Widgets Keywords: needs-patch
Focuses: Cc:

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 8 months ago.

Download all attachments as: .zip

Change History (4)

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


8 months ago

#2 @westonruter
8 months ago

  • Milestone changed from Future Release to 4.9.1

#3 @johnbillion
7 months ago

  • Milestone changed from 4.9.1 to 5.0
Note: See TracTickets for help on using tickets.