Published on Jan 10, 2020

How to Make Oxygen Modals Editable in Gutenberg

David Browne

By default, modals that are added to pages are hidden when the page is 'made editable in Gutenberg'. This is wise as it can mess up the page layout quite a bit and be confusing to content editors. However, if we do want to make them visible, so they can be editable directly from the page editor, we can.

Inline modal inside Gutenberg

Note - If we have lots of modals on the page, this may not be the best way to go about allowing content editors to edit them. Creating custom fields could be a better method. Also, this method will only apply to modals that exist inside pages, not modals that are setup globally.

That said, let's do it.

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right