mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 18:48:57 +01:00
f0b5c39bde
* Adds `WP_Customize_Code_Editor_Control` and `wp.customize.CodeEditorControl()`. * Control respects user preference for syntax highlighting, showing a textarea when user opts out. * Code editor control takes the ad hoc code for Additional CSS and makes it reusable and extensible, for Additional CSS in core and plugins to use (such as Jetpack). * Replace `settings` arg in `wp_enqueue_code_editor()` with separate args for `codemirror`, `csslint`, `jshint`, and `htmlhint`. * Prefix `codemirror` script and style handles with `wp-` to prevent collisions, as also the object is exported as `wp.CodeMirror` in JS. * Reduce indent size in Customizer code editor instances and Custom HTML widget to use tab size of 2 instead of 4 to save on space. See #12423, #38707, #35395. Fixes #41897. Built from https://develop.svn.wordpress.org/trunk@41558 git-svn-id: http://core.svn.wordpress.org/trunk@41391 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-customize-background-image-control.php | ||
class-wp-customize-background-image-setting.php | ||
class-wp-customize-background-position-control.php | ||
class-wp-customize-code-editor-control.php | ||
class-wp-customize-color-control.php | ||
class-wp-customize-cropped-image-control.php | ||
class-wp-customize-custom-css-setting.php | ||
class-wp-customize-filter-setting.php | ||
class-wp-customize-header-image-control.php | ||
class-wp-customize-header-image-setting.php | ||
class-wp-customize-image-control.php | ||
class-wp-customize-media-control.php | ||
class-wp-customize-nav-menu-auto-add-control.php | ||
class-wp-customize-nav-menu-control.php | ||
class-wp-customize-nav-menu-item-control.php | ||
class-wp-customize-nav-menu-item-setting.php | ||
class-wp-customize-nav-menu-location-control.php | ||
class-wp-customize-nav-menu-name-control.php | ||
class-wp-customize-nav-menu-section.php | ||
class-wp-customize-nav-menu-setting.php | ||
class-wp-customize-nav-menus-panel.php | ||
class-wp-customize-new-menu-control.php | ||
class-wp-customize-new-menu-section.php | ||
class-wp-customize-partial.php | ||
class-wp-customize-selective-refresh.php | ||
class-wp-customize-sidebar-section.php | ||
class-wp-customize-site-icon-control.php | ||
class-wp-customize-theme-control.php | ||
class-wp-customize-themes-section.php | ||
class-wp-customize-upload-control.php | ||
class-wp-widget-area-customize-control.php | ||
class-wp-widget-form-customize-control.php |