7 April 2009 at 10:09pm
(Last edited: 7 April 2009 10:10pm),
I am trying to add text size and text colour to HtmlEditor Field. I have added formatselect,fontsizeselect", to the tinymce.template.js which shows the button in the toolbar but has no effect!
This is driving me crazy, and I have gone through the forum trying to find the answer, and the question seems to have arised a number of times.
These buttons are just not adding any styles. I have tried changing themes to see if it is being controlled in my stylesheets, and have just tried installing the latest version of SS but still cant get it to work.
8 April 2009 at 12:56am
I have just tried exactly as you described, added this line to the tinymce.template.js and it has added the colour text option, but when I try to use it, it only adds <p><span style="font-family: mceinline;">Test</span></p> to the text.
Thanks for posting, but still I cant get it to add any styles. I could understand that I may have some styles overriding it, but all that is showing is <span style="font-family: mceinline;">Test</span>
I think I may have solved my problem. I was flushing my browser, but it wasnt looking correct in safari, went into Firefox and it allowed me to apply inline styles through TinyMCE. Is this a Safari problem do you think?
I also looked through the TinyMCE site and found reference to applying -
inline_styles : true
8 April 2009 at 1:48am
nice one, well done for tracking it down. I guess it must be a safar issue as it was still able to apply the inline style, just not the right one Also I can do it without adding that line. still good to be aware of :)