I don't see how to do this and a quick Google search didn't seem to help.

Some other editors I've tried have the capability to add a button to the toolbar for users where they can choose class and ID based styles (specified ones being available is preferable) from a pulldown on the wysiwyg editor instead of free forming for font and all. I see where I can throw in a format block where they can choose the HTML structure type (p, h1, h2, etc.) but don't see a way to add a pulldown with selected styles available to the editor.

Am I missing something or is this feature coming?

Comments

drupalnesia’s picture

Whizzywig able to add custom buttons, look at my sample custom-buttons on administer-siteconfigurations-whizzywig, here:

buts = 'selectall superscript code';
dobut['superscript'] = '';
dobut['selectall'] = 'js:oW.document.execCommand("selectall",false,"");';
dobut['code'] = '';

sels = 'textbox';
opts['textbox'] = new Array('Text box', 'Right', 'Left');
vals['textbox'] = new Array("","

#","
#");
avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -id, -class, -whizzywig, -wysiwg, -assign css styles

I am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.