[SOLVED] Changing styles in TinyMCE
Posted: Thu May 15, 2014 3:48 pm
Hi,
I use TinyMCE as my back-end WYSIWYG editor, and I have an issue which is probably quite common but I'd like to know if someone has found some way to work around this.
I have made some styles in the custom style list of TinyMCE, that correspond with the styles on my pages. However, when changing let's say a certain paragraph style to a header style, TinyMCE will add the header style to that text, but will not remove the paragraph style resulting in text that has both styles applied to it.
I know the way to work around this is first selecting the 'styles' from the dropdown to remove the current style and after that applying the desired style, but I think this will be confusing to a lot of my clients. So is there any way I can make this more user-friendly?
I use TinyMCE as my back-end WYSIWYG editor, and I have an issue which is probably quite common but I'd like to know if someone has found some way to work around this.
I have made some styles in the custom style list of TinyMCE, that correspond with the styles on my pages. However, when changing let's say a certain paragraph style to a header style, TinyMCE will add the header style to that text, but will not remove the paragraph style resulting in text that has both styles applied to it.
I know the way to work around this is first selecting the 'styles' from the dropdown to remove the current style and after that applying the desired style, but I think this will be confusing to a lot of my clients. So is there any way I can make this more user-friendly?