[wp-trac] [WordPress Trac] #45248: Setting _wpGutenbergCodeEditorSettings is unnecessary
WordPress Trac
noreply at wordpress.org
Thu Nov 1 01:09:04 UTC 2018
#45248: Setting _wpGutenbergCodeEditorSettings is unnecessary
--------------------------+-----------------------------
Reporter: noisysocks | Owner: noisysocks
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
The HTML block used to use `wp.codeEditor` to add syntax highlighting, but
this was [later
removed](https://github.com/WordPress/gutenberg/pull/10396). Setting
`window. _wpGutenbergCodeEditorSettings` when the block editor loads is
therefore unnecessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45248>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list