mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 02:41:27 +01:00
81c87e7d5e
Allow `CodeEditorControl` to be instantiated with a `editor_settings` param which is merged with `wp.codeEditor.defaultSettings`. Also: * Turn redundant "CSS Code" control label into screen reader text for Additional CSS. * Remove `code-editor` as script dependency for `custom-html-widgets` since enqueueing is determined by `wp_enqueue_code_editor()`. * Remove useless exporting of `code_type` param to JS in `WP_Customize_Code_Editor_Control`. * Add `disabled` class to Custom HTML widget's Save button when linting errors are present. * Remove redundant `span` inside CodeEditorControl's `label`. See #41897, #12423, #41872. Built from https://develop.svn.wordpress.org/trunk@41957 git-svn-id: http://core.svn.wordpress.org/trunk@41791 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
custom-html-widgets.js | ||
custom-html-widgets.min.js | ||
media-audio-widget.js | ||
media-audio-widget.min.js | ||
media-gallery-widget.js | ||
media-gallery-widget.min.js | ||
media-image-widget.js | ||
media-image-widget.min.js | ||
media-video-widget.js | ||
media-video-widget.min.js | ||
media-widgets.js | ||
media-widgets.min.js | ||
text-widgets.js | ||
text-widgets.min.js |