Hi there
I try to customize TinyMCE "Formatselect" dropdown. Before starting I guessed it will really easy task. Actually on the end - no way!
First what I tried to do - change names. Ok, lets go to sapphire/lang and change names there - not working. Ok, lets go to htmlfieldeditor.php and change names there - not working. Ok, lets go to javascript/tiny_mce/themes/advanced/lang - working!
Second thing - remove not used headers and leave only 2 my changed headers.
I tried to delete them in these files:
- htmleditorfield.php
- editor_template.js (advanced theme folder, tiny_mce2)
- lang files (sapphire and advanced theme)
Nothing worked for me.
Maybe I missed the real tinymce2 config file?
Why we can't use simply configuration like (I tried this also in htmleditorfield.js)?:
tinyMCE.init({
...
theme_advanced_blockformats : "p,div,h2,h3,h4,blockquote,dt,dd,code,samp"
});
And every time we need to look for the proper file (I mean tinymce configuration is in several places - why not add this kind of configurations in one place?
p.s. after every change did flush, cache cleaning etc.
SS 2.3.2