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
This is an interesting note, when you use [ brackets ] in something you aren't always signifying a shortcode. Gutenberg gets a little keen when it sees this. Is there anything we can do to ease this?
Just to be clear, it seems the issue is that, for instance, text containing [bracket] that isn't already a Gutenberg block (no wp: comments around it), will show the classic editor and then when converted to a block change into a shortcode block even though no valid shortcode for that exists, right? I can reproduce that but I wasn't quite clear if that's what this issue is describing.
If I type [brackets] into an empty new block, an existing block, etc. I don't see Gutenberg try to change it to a shortcode...
Activity
karmatosed commentedon Apr 18, 2018
Closing as see #3806 has this covered.
ellatrix commentedon Apr 18, 2018
@karmatosed I don't think this is the same issue?
ellatrix commentedon Apr 18, 2018
Reopening. I think the best thing to do here is get all registered short codes and match any of those instead of anything in between brackets.
karmatosed commentedon Apr 19, 2018
Ah thanks for clarification @iseulde
tofumatt commentedon May 8, 2018
Just to be clear, it seems the issue is that, for instance, text containing
[bracket]that isn't already a Gutenberg block (nowp:comments around it), will show the classic editor and then when converted to a block change into a shortcode block even though no valid shortcode for that exists, right? I can reproduce that but I wasn't quite clear if that's what this issue is describing.If I type
[brackets]into an empty new block, an existing block, etc. I don't see Gutenberg try to change it to a shortcode...ellatrix commentedon May 14, 2018
See also #5695. I think we might have fixed the worst part with #6329. What is currently broken here?
mtias commentedon Jun 22, 2018
@karmatosed anything pending here?
karmatosed commentedon Jun 22, 2018
I can't replicate in latest version so lets close.