You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my experience this is prone to future errors once a plugin is updated, for example, or WordPress core changes something regarding block markup.
Would it be possible to make the plugin output a simple inline HTML comment markup (such as is the case with core/site-logo block with its <!-- wp:site-logo /--> markup), something like:
I'm trying to add this block into my theme's template parts and noticed it outputs a full HTML markup in editor, such as:
From my experience this is prone to future errors once a plugin is updated, for example, or WordPress core changes something regarding block markup.
Would it be possible to make the plugin output a simple inline HTML comment markup (such as is the case with
core/site-logo
block with its<!-- wp:site-logo /-->
markup), something like:<!-- wp:tabor/dark-mode-toggle {"style":{"border":{"width":"2px"},"elements":{"link":{"color":{"text":"var:preset|color|contrast-alt"}}}},"backgroundColor":"base","textColor":"contrast-alt","borderColor":"contrast-alt"} /-->
Thank's for consideration!
The text was updated successfully, but these errors were encountered: