The forum operates in read-only mode. Please head to StackOverflow for support.
jaygridley wrote:I tryied to delete formats which I don´t want there, but no effect. Any suggestions?
CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4' });
lefou4 wrote:jaygridley wrote:I tryied to delete formats which I don´t want there, but no effect. Any suggestions?For example, you can like this :CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4' });Here you keep only p, h3 and h4.
jaygridley wrote: lefou4 wrote: jaygridley wrote:I tryied to delete formats which I don´t want there, but no effect. Any suggestions? For example, you can like this :CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4' }); Here you keep only p, h3 and h4. And in which file? And is possible to change h1 to be rendered as h3 in final html code? I want perserve h1 description in format combo box.
lefou4 wrote: jaygridley wrote:I tryied to delete formats which I don´t want there, but no effect. Any suggestions? For example, you can like this :CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4' }); Here you keep only p, h3 and h4.
CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4', contentsCss : myfilecss.css });
Re: Format
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.format_tags
Re: Format
I don't think so it is possible to make any change. Though I need to check it out as it is not absolutely in my knowledge. Give me a day time and I will be back. I hope you can bear for a time being.
Thanks.
Re: Format
Re: Format
For example, you can like this :
CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4' });Here you keep only p, h3 and h4.
Re: Format
And in which file? And is possible to change h1 to be rendered as h3 in final html code? I want perserve h1 description in format combo box.
Re: Format
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Setting_Configurations#Defining_Configurations_In-Page
CKEDITOR.replace('id_texte', { format_tags : 'p;h3;h4', contentsCss : myfilecss.css });