Hi,
i am reading my way through the documentation, but I have right now 2 questions.
Is it possible the choose what functions the Editor should offer to a user? I would like to have only bold, italic and show quellcode/html tags. I want my Editor only with theese 3 buttons and fuctions. If "yes", a link to that part of the documentation would be very helpful.
And is it possible to change the HTML Tags?
instead of
thanks
i am reading my way through the documentation, but I have right now 2 questions.
Is it possible the choose what functions the Editor should offer to a user? I would like to have only bold, italic and show quellcode/html tags. I want my Editor only with theese 3 buttons and fuctions. If "yes", a link to that part of the documentation would be very helpful.
And is it possible to change the HTML Tags?
instead of
<strong>text </strong>i want to have
<b>text </b>or whatever i want instead of <strong>
thanks
Re: 2 Questions about Functionality
First, "Yes".
Edit the fckconfig.js file, possibly modifying FCKConfig.ToolBarSets["Basic"] to contain only the elements you want. Be aware you'll also want to cut down on the ContextMenu and Keystrokes functions.
See http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Toolbar and
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
Re: 2 Questions about Functionality
See the fckconfig.js entry on 'CoreStyles'. There, Bold is listed as 'element: strong, overrides: b'. You probably want to switch the order on those if you wish to use 'b' instead of 'strong'.
(This may not be what you want. Doing a bulk change of tags is not generally automated, but can be programmed in JavaScript using the FCKeditor framework.)
Re: 2 Questions about Functionality
maybe there is another configuration that overrides this one, but i can't find any.
Re: 2 Questions about Functionality