[wp-trac] [WordPress Trac] #41870: Code Editor: Add grunt task for building new CodeMirror bundles from external dependencies
WordPress Trac
noreply at wordpress.org
Mon Oct 16 19:55:29 UTC 2017
#41870: Code Editor: Add grunt task for building new CodeMirror bundles from
external dependencies
------------------------------+------------------------------
Reporter: westonruter | Owner: adamsilverstein
Type: task (blessed) | Status: assigned
Priority: high | Milestone: 4.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
------------------------------+------------------------------
Changes (by westonruter):
* keywords: has-patch dev-feedback => has-patch
Comment:
As we discussed on Slack, the next steps are:
* Bundle the linters with `wp-codemirror`, but expose them under the `wp`
global namespace for plugins that want to add new rules.
* Remove this entire block of code in `wp_enqueue_code_editor()` (with
updating some unit tests that check for specific linter scripts to be
enqueued): https://github.com/WordPress/wordpress-
develop/blob/fef4f1303a0c9ac68afcb29f763a3aee531563e5/src/wp-includes
/general-template.php#L3451-L3491
* Remove the separate linter sources from SVN and their entries in
`script-loader.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41870#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list