[wp-trac] [WordPress Trac] #45684: Gutenberg breaks shortcode with nested quotes
WordPress Trac
noreply at wordpress.org
Tue Dec 18 11:54:08 UTC 2018
#45684: Gutenberg breaks shortcode with nested quotes
-------------------------------------+------------------------------
Reporter: siggeste | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0.1
Severity: critical | Resolution:
Keywords: needs-patch ux-feedback | Focuses:
-------------------------------------+------------------------------
Comment (by siggeste):
I've found the option to view the text as raw html called Code Editor,
tucked away in the hamburger menu at the top right. Unfortunately it
behaves similar to an HTML Block. Whenever I save the page, all nested
single quotes are changed into double ones.
I also discovered a new quirk. I thought that a page remembered which
editor and state were used last. The editor is indeed remembered (a flag
is set) but the state can sometimes inadvertently switch back to the
Visual Editor, breaking the code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45684#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list