Overriding default gallery in Gutenberg

jason's Avatar

jason

06 Feb, 2019 08:46 PM

I've updated the software to the latest version, but our Royal Slider doesn't appear to override the block gallery function any longer. I now see the RoyalSlider block in the editor, but there are no options on the right side and it just says no sliders available.

We have been using NRS for years to override the default WP gallery with a carousel slider. Any suggestions for a workaround or a step we are missing in the process?

  1. Support Staff 1 Posted by Dmitry Semenov on 06 Feb, 2019 10:17 PM

    Dmitry Semenov's Avatar

    Hello,

    Default Gutenberg gallery block does not support overriding, https://github.com/danielbachhuber/gutenberg-migration-guide/blob/m... They promise to add post_gallery filter support in the future, but for now there is no such option and there is no ETA when it'll be added.

    But [gallery] shortcode can still be overridden, as it's unchanged. To add it to Gutenberg you may use either "shortcode block" or "classic editor" block.

    Or you may keep using old WordPress post editor by installing Classic Editor plugin https://wordpress.org/plugins/classic-editor/

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac