Opened 7 months ago
Last modified 3 months ago
#61007 new defect (bug)
Shortcode aren't paste inline in paragraphs
Reported by: | soivigol | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | major | Version: | 6.5 |
Component: | Shortcodes | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Attachments (1)
Change History (9)
#3
@
7 months ago
Additional information: @carloslongarela and I were tested on several installations and in some installations we had this problem, but in others not. We don't have common plugins or themes, where there is the problem. Ones are created with the Block Editor and other ones with Classic themes. Servers, languages and other configurations are different. We don't see any external resource that could cause it.
We tested in WordPress Playground, with different PHP versions, and we had the same error too.
This ticket was mentioned in Slack in #core-editor by soivigol. View the logs.
5 months ago
#5
@
4 months ago
having a similar issue, cross-linking https://github.com/WordPress/gutenberg/issues/60564#issuecomment-2205904038
my testing suggests the "source" when copying mattered - if i pasted [bracket] i am generic text [/bracket]
from an unformatted source, it got converted, but when pasting from eg a word document or rendered on a page, it displayed as text
[bracket] i am generic text bracket
it also looks like html ([code]Hello <em>world</em>[/code]
) can cause it to be converted to a shortcode block
#6
@
3 months ago
I'm definately still getting this issue. Any time I past a shortcode anywhere it auto creates a shortcode block. I have a mostly automated system of delivery that this change breaks 100%..The only way I'm able to add a shortcode is by typing it in manually. I'm running WP 6.6.1.
#7
@
3 months ago
Hey, I built an override for this that I use in my theme, here's a mini repo with that patch.
https://github.com/schlotterer/shortcode-filter
here's my theme:
https://github.com/schlotterer/flexline
#61006 was marked as a duplicate.