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
Hi! The description is still very vague and lacks step-by-step instructions on how to reproduce. It doesn't include the version of Backdrop either, nor a list of contrib modules you are using...
Problems with HTML content and text formats
Sorry, it did seem confusing when I read it back... So if I add some html to a text field, for example in a page or a block, whatever the text format of the field may be (raw html or basic...
Problems with HTML content and text formats
Could you please post clear, step by step instructions to reproduce the problem? Your first message refers to HTML content, and your second to text formats. Please add details to reproduce each...
Problems with HTML content and text formats