PluginProbe
Gutenberg / 22.3.0
Gutenberg v22.3.0
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / lib / experimental / class--wp-editors.php

class--wp-editors.php in Gutenberg 22.3.0, at lib/experimental/class--wp-editors.php

31 lines 600 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Contains the placeholder class to replace the default `_WP_Editors`.
4 *
5 * @package gutenberg
6 * @since 6.3.0
7 */
8
9 // phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital
10
11 if ( ! class_exists( '_WP_Editors' ) ) {
12
13 /**
14 * Placeholder class.
15 * Used to disable loading of TinyMCE assets.
16 *
17 * @access public
18 */
19 final class _WP_Editors {
20 /**
21 * Necessary to ensure no additional TinyMCE assets are enqueued.
22 */
23 public static function enqueue_default_editor() {}
24
25 /**
26 * Necessary for wp admin dashboard.
27 */
28 public static function editor() {}
29 }
30 }
31