Support

Account

Home Forums Gutenberg Display block differently in editor and front-end Reply To: Display block differently in editor and front-end

  • Just in case someone else stumbles into this answer, I’ll add that there is a much easier way to prevent this specific problem of preventing the clicking of an anchor tag in the block editor.

    Enter CSS. =)

    
    .editor-styles-wrapper .your-block-class a {
        pointer-events: none;
    }