Skip to content

Shortcode-UI highjacks the Media Uploader modal #691

@AndonDesign

Description

@AndonDesign

Noticed that once you've inserted a shortcode using the "Insert Post Element" modal and then try to insert an image into the editor using the WP native "Add Media" button, the media uploader modal will open at the last used "Insert Post Element" tab rather than the "Insert Media" tab. I know they both share the same modal but it seems it hangs on the Shortcake one after it's been used once.

I see this as potentially being confusing to the average user as they will try to insert an image and will not see the images but the shortcode elements. Not sure if this is a caching related issue or just that the modal needs to be reset after used with Shortcake.

Can someone else confirm this, not sure if it's a bug or has been discussed previously, I could not find another issue report on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions