spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
816 stars 258 forks source link

overriding underline markup #79

Closed guyisra closed 11 years ago

guyisra commented 11 years ago

I am trying to override the underline formatting so it won't make the <span style="text-decoration..>

I added to tinymce.yml

formats : { underline : {inline : 'u', exact : true} }

but it doesn't work.. I don't want to user legacy control. I want to be able to change only the underline with a custom tag.

Is this the proper way to do this?

spohlenz commented 11 years ago

I'd suggest looking into the TinyMCE documentation (http://www.tinymce.com/wiki.php) or forums (http://www.tinymce.com/forum/index.php).