Hey! Thank you again for a truly helpful plugin.
Wysiwyg custom fields created with Pods Framework, has the following toolbar when MRW is activated.
I was previously using a custom plugin configured to hide even more buttons, resulting in this:
This was achieved by passing this to the plugin.
function pix_extended_editor_mce_buttons($buttons) {
return array(
"undo", "redo",
"bold", "italic",
"bullist", "numlist",
"link", "unlink",
"removeformat");
}
Would it be possible to filter the TinyMCE buttons available using MRW Simplified Editor to achieve this result?
]]>Just to let you know; I’ve tested MRW on my WP 6.5 test site, running PHP 8.3 and WP_DEBUG enabled. No issues found. MRW Simplified Editor continues to make my block editor experience even more enjoyable ??
Thank you for your continued support of this little gem of a plugin. ?
]]>Hi!
I prefer not to use pulled from or hosted at Openverse. At least not without proper tagging and credits.
Currently, I use this snippet to disable Openverse setting during image insert
add_filter(
'block_editor_settings_all',
function( $settings ) {
$settings['enableOpenverseMediaCategory'] = false;
return $settings;
},
10
);
/*
The Openverse media category can be controlled with a new public block editor setting. The default is to show this category, but it can be turned off.
https://make.www.ads-software.com/core/2023/03/07/miscellaneous-editor-changes-in-wordpress-6-2/#disable-openverse-category-in-new-media-tab
*/
Would it be meaningful to add this option to the MRW simplified editor? I can’t decide.
]]>Final question today, I promise ??
So besides the already hidden core embeds, at the time of writing:
Amazon Kindle, Animoto, Cloudup, Crowd Signal, Daily Motion, Hulu, Mixcloud, Polldaddy, Reverbnation, Smugmug, Speaker, VideoPress, Wolfram Cloud, and WordPress.tv
How do I hide more embeds? Say, I’d like to hide SoundCloud, Twitter and Spotify. I experimented with the following, which is not working, but maybe could give you an idea of what I’m trying to achieve:
// MRW Simplified Editor - Hide Additional Embeds
add_filter( 'mrw_hidden_embeds', 'mrw_hide_additional_embeds', 10, 2 );
function mrw_hide_additional_embeds( $hidden_embeds ) {
$hidden_embeds[] = array('soundcloud','twitter','spotify');
return $hidden_embeds;
}
And can it be turned around, to be a positive list instead of a negative list? Like, only allow, say, YouTube and Vimeo embeds, disable all the others?
Again, thanks for the help. And no stress!
]]>Do you have any suggestion to enable MRW Simplified Editor for, say, any role but the administrator only?
So an editor or an author would have the simpler experience, while an administrator would have the default full experience, including query loops and whatnot for landing pages.
]]>Hey! Thank you for a nice plugin. Really makes the editor more approachable to us with some degree of cognitive challenges.
I figured out how to ‘unhide’ individual blocks I use, using the examples present and complete list of core blocks
add_filter( 'mrw_hidden_blocks', 'mrw_unhide_blocks', 10, 2 );
function mrw_unhide_blocks( $blocks, $context ) {
// Unhide the following blocks (which are hidden by default)
$blocks = array_diff( $blocks, array( 'core/audio','core/code','core/details','core/table','core/video') );
return $blocks;
}
But I also use some inline markup in my content, including kbd, code
and pre
How do I ‘unhide’ these?
]]>Nevermind.
]]>I’m pleased to announce the beta release of version 2.0.0 of this plugin, to be renamed “MRW Simplified Editor”. It includes changes to the block editor that are philosophically aligned with the plugin’s mission.
This also marks a move to open source development on Github where the beta is available for download.
You can find the full list of changes in the readme. New filters and code examples are further down the page in the FAQ section. Here’s the list of what it does:
* If you were adding the “More” button back to the TinyMCE editor, then the plugin should detect that and leave the More Block visible
** Headings only hidden for English sites right now
I hope to release the update in a week or two, and would appreciate any and all feedback and testing.
]]>I just uploaded version 1.2.0-beta for testing. Please download the linked zip and comment if you’re a user of the plugin.
This will be a major update that moves, adds, and removes buttons as well as renames a few things. This is all with the goal of providing the most streamlined set of buttons and options for correctly formatting content.
From the changelog:
Plugin doesn’t work – didn’t show settings in admin dashboard.
No any settings, please, see the screencast https://screencast.com/t/MrWpMC2pT
https://www.ads-software.com/plugins/mrw-web-design-simple-tinymce/
]]>