WP Editor Issue in Backend
WP Editor Issue in Backend
WP Editor Issue in Backend
snippet code of notification display when check notify checkbox and display message in Update and Publish post or page in admin function cabtv_add_post_options() { // Add our meta box for the “post” post type (default) $post_types = array(“post”, “page”); foreach ($post_types as $post_type) { add_meta_box(‘cabtv_notif_on_post’,’Notifications’,’cabtv_notif_on_post_html_view’,$post_type,’side’,’high’); } } add_action(‘add_meta_boxes’, ‘cabtv_add_post_options’); function cabtv_notif_on_post_html_view($post) { wp_nonce_field( ‘cabtv_notif_metabox’, ‘cabtv_notif_metabox’ … Read more
Ah … Got it. It’s not related to Gutenberg editor but WordPress core itself: window.wp.editor is being initiated here with those methods: https://github.com/WordPress/wordpress-develop/blob/9ed92faaca92f66ec9e2979c9d896ddab3e4e993/src/js/_enqueues/wp/editor/base.js And then, window.wp.oldEditor = window.wp.editor: https://github.com/WordPress/wordpress-develop/blob/5868743f1f2b05c93642c9eebf89cb7f6610d6df/src/wp-includes/script-loader.php#L369
Can the wordpress color palettes by changed through Javascript?
how add custom tag/tool in classic editor?
Visual editor issue by having multiple tiny mce editors in a CPT
wp_editor() youtube link does not load video
Before WP 5.9 it was possible to get rid of some heading types with CSS like this: .block-library-heading-level-toolbar .components-toolbar-group { button:nth-child(1), button:nth-child(5), button:nth-child(6) { display: none; } } Since WP 5.9 the HTML code has changed. Now you can hide H1, H5 and H6 like this: [aria-label=”Heading 1″], [aria-label=”Heading 5″], [aria-label=”Heading 6″] { display: none; … Read more
How to Disable auto id attributes in Heading tag?
I believe your best bet is to create a custom post type for the certain posts you want editable by multiple authors. When you register your post assign a capability type (#WIKI# in this example) and then add the ‘edit_others_#WIKI#s’ to the author role.