• Resolved paulmil11

    (@paulmil11)


    I believe there may be a compatibility issue with Snippy and the new gutenberg editor. Does anyone know if this has been flagged? In doing some digging, I found that snippy is appearing before the DOCTYPE tag on the html – here is the start of the source code:

    <div id=”snippy–mce-shortcode-popup” style=”display:none;”>

    </div>

    <!DOCTYPE html>
    <!–[if IE 8]>

    Over on github there appears to be a number of plugins that are appearing before the DOCTYPE tag and forcing the metaboxes (Yoast, likes, etc…) to block the “blocks” in the gutenberg editor.

    It works if I deactivate the plugin, but I would love to keep using this plugin instead of moving to a different one

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Rik Schennink

    (@pqina)

    Hi! This is weird, I’ve tested it before claiming the plugin was compatible but didn’t find anything wrong then.

    I’ll retest and see if I can find something.

    Plugin Author Rik Schennink

    (@pqina)

    I haven’t been able to reproduce this.

    Can you give me some more information? Does this happen with all Snippy shortcodes? If you create a very simple shortcode (just text) does it show the same problem? Have you updated to the latest version? What version of WordPress are you running currently?

    Thread Starter paulmil11

    (@paulmil11)

    You may want to see this thread on github – https://github.com/WordPress/gutenberg/pull/12575#issuecomment-455084760

    Someone said: “But I would encourage you to reach out the developer of the Snippy plugin and ask them to fix so the content isn’t output before the doctype.”

    Its a general problem on any draft post page – the code is not loading correcntly

    Plugin Author Rik Schennink

    (@pqina)

    Do you have an example of the code the shortcode is generating?

    Thread Starter paulmil11

    (@paulmil11)

    its not a problem of the shortcode – on the gutenberg editor, the snippy code is appearing before the doctype – I am not sure what that means just passing along the message

    Plugin Author Rik Schennink

    (@pqina)

    I understand I’m simply trying to solve the issue.

    I’ve tested by adding a shortcode to the page using the “Most Used/Shortcode” block. The shortcode appears at the correct location on the page and nothing is rendered before the doctype. So, I can’t reproduce the issue on my test project.

    If you’re willing to send a test Username, Password and URL to info[at]pqina.nl, I’m happy to take a look on your WordPress installation.

    Thread Starter paulmil11

    (@paulmil11)

    I sent you a login

    Plugin Author Rik Schennink

    (@pqina)

    Thanks! Looking into it now.

    Plugin Author Rik Schennink

    (@pqina)

    I’ve reproduced the issue on my test environment. Will probably release a new version of Snippy in a couple hours. Thanks for reporting this problem.

    Plugin Author Rik Schennink

    (@pqina)

    New version 1.3.5 of Snippy has been uploaded, should fix the issue. Please confirm.

    Thread Starter paulmil11

    (@paulmil11)

    You are the man – thanks so much!

    Such a valuable plugin – any way I can support?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Snippy errors with Gutenberg?’ is closed to new replies.