Description of the need
Right now the mobile menu toggle text is hardcoded (though translated) as Menu. Does it seem reasonable to folks to allow that text to be adjusted on a per menu block basis? (ie. when configuring the block, it defaults to Menu but can be overwritten)
$data['content']['#prefix'] = theme('menu_toggle', array(
'enabled' => $config['toggle'],
'id' => $id,
'text' => t('Menu'),
));
I am considering a case where there are potentially two toggles (in different parts of the page) and it would be helpful to be able to use different language for each. At first I thought I'd just override theme_menu_toggle but I really don't have enough information to grab onto inside that function to know much about the particulars of the menu.
If we add this, it could only appear underneath the "Display menu toggle..." option if it was selected:
Recent comments
Worked like a charm! Exactly what I envisioned... now I can edit the ruby text right in the editor, sweet:) Thank you! For those who may have a similar issue, try TinyMCE, create a new "text...
Specific tags to work in CKEditor 5
Yes, you can use TinyMCE on some content and CKEditor5 in others. There is no problem having both enabled on a system.
Specific tags to work in CKEditor 5
Thank you both for your suggestions. Yeah, I'll give TinyMCE a try... better than trying to fight that behemoth CKEditor 5. The TinyMCE page says it can "co-exist with CKEditor" which is...
Specific tags to work in CKEditor 5