-2

How to add simple tool bar in silverstripe in content like heading h1,h2 etc. I want to add a simple css class there.? Any help is accepted. Thank you

  • hard to tell what's being asked here. you're talking about the rendered template output? what kind of 'toolbar'? what element to add a css class to? – schellmax Nov 20 '14 at 18:13
  • 3
    If you want to add a class selector to styles dropdown on the CMS TinyMCE WYSIWYG editor, this has a nice answer here: http://stackoverflow.com/questions/2141209/silverstripe-adding-styles-to-styles-drop-down-menu-on-editor – 3dgoo Nov 20 '14 at 20:06

1 Answers1

0

Supposing you want to configure the TineMCE HTMLEditorfield have a look at the tinytidy module. You'll have to copy the configuration example to your mysite/_config.php to make it working.

wmk
  • 4,598
  • 1
  • 20
  • 37