[wp-trac] [WordPress Trac] #44820: CodeMirror in Customize - copy & paste bug
WordPress Trac
noreply at wordpress.org
Mon Aug 20 16:10:30 UTC 2018
#44820: CodeMirror in Customize - copy & paste bug
--------------------------------------------+-----------------------------
Reporter: dionysous | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.9.8
Severity: minor | Keywords:
Focuses: ui, javascript, administration |
--------------------------------------------+-----------------------------
Wrong behavior in CodeMirror:
I go to **Customize > Additional CSS** and copy one selector including the
opening curly bracket "{". I paste the copied text at the end of the
content of the CSS textarea and press enter to create a new line. The new
line won't be created, instead Autocompletion of CodeMirror is executed
and the CSS attribute **''align-content''** is added.
Animated screen capture as GIF:
[https://hipp.design/media/code-mirror-copy-paste.gif]
It only happens, when the selector is pasted at the end (of the textarea)
and if the CSS field was already filled out and the Customize have been
saved before.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44820>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list