In my system I do not want the user to be able to see all the options that are displayed by default in the "Format" menu on the toolbar.
In 2.4 I used:
FCKConfig.FontFormats = 'h1;h2;h3' ;
And all that showed up was those 3 options.
How do I customize what is displayed in that menu under the new CoreStyles system??
Also In this particular implementation I have FCKeditor set to use br instead of p tags.
I want to be able to select "Normal" from the format menu to remove a H1 or H2 tag on the selected text, but I dont want it to get wraped in a p or div tag. I just what the h1 or h2 tag to be removed.
So if this was my starting text
I would want it to look like this after selecting "Some title" and selecting "normal" from the format menu
Or ideally
Thanks.
In 2.4 I used:
FCKConfig.FontFormats = 'h1;h2;h3' ;
And all that showed up was those 3 options.
How do I customize what is displayed in that menu under the new CoreStyles system??
Also In this particular implementation I have FCKeditor set to use br instead of p tags.
I want to be able to select "Normal" from the format menu to remove a H1 or H2 tag on the selected text, but I dont want it to get wraped in a p or div tag. I just what the h1 or h2 tag to be removed.
So if this was my starting text
<h1>Some title</h1> Autem qui te lobortis duis dolore, eu minim tincidunt. Facilisi duis, ipsum eum ullamcorper hendrerit aliquam dolor feugiat.
I would want it to look like this after selecting "Some title" and selecting "normal" from the format menu
Some title Autem qui te lobortis duis dolore, eu minim tincidunt. Facilisi duis, ipsum eum ullamcorper hendrerit aliquam dolor feugiat.
Or ideally
Some title<br /> Autem qui te lobortis duis dolore, eu minim tincidunt. Facilisi duis, ipsum eum ullamcorper hendrerit aliquam dolor feugiat.
Thanks.
Re: using the new FCKConfig.CoreStyles
Re: using the new FCKConfig.CoreStyles
you have to edit the file fckstyles.xml
Just comment out everything that you don't need.
To see the results, you might have to clear your browsers cache
That goes against the idea of using styles in the first place. Why do you want to use <br>?