What's the best way of disabling features in FCKEditor?
FCKEditor, I love: but it gives tooo much power to the user = power to mess up!
What's the nest way of getting rid of all advanced controls?
I assume hiding the icons is not the best way?
2 big problems:
- the return key: when the user hits the return key, it jumps 2 lines
is there a way of stopping this?
i know htis is html behaviour: but it's annoying for users
- stopping formatting being copied with text, i.e. form Word?
i'm pretty sure i already have the flag turned on that says any pasting will be done as text - it doesn't seem to be working well
Thanks
OM
FCKEditor, I love: but it gives tooo much power to the user = power to mess up!
What's the nest way of getting rid of all advanced controls?
I assume hiding the icons is not the best way?
2 big problems:
- the return key: when the user hits the return key, it jumps 2 lines
is there a way of stopping this?
i know htis is html behaviour: but it's annoying for users
- stopping formatting being copied with text, i.e. form Word?
i'm pretty sure i already have the flag turned on that says any pasting will be done as text - it doesn't seem to be working well
Thanks
OM
Re: What's the best way of disabling features in FCKEditor?
anyone?
Re: What's the best way of disabling features in FCKEditor?
Open the fckconfig.js file and create your toolbar:
FCKConfig.ToolbarSets["MyToolbar"] = [
['Bold','Italic','Underline','StrikeThrough'],
['Cut','Copy','Paste'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['BGColor','TextColor','-','OrderedList','UnorderedList'],
'/',
['FontName','FontSize','FontFormat'],
'/',
['Image','Table','Source','-','Link'],
] ;
$oFCKeditor->ToolbarSet = "MyToolbar";
After making these changes clear browser cache.
Re: What's the best way of disabling features in FCKEditor?
that's great advice... i'll definitely be doing this
only... i still have the problems mentioned though:
- the return key: when the user hits the return key, it jumps 2 lines
is there a way of stopping this?
i know htis is html behaviour: but it's annoying for users
- stopping formatting being copied with text, i.e. form Word?
i'm pretty sure i already have the flag turned on that says any pasting will be done as text - it doesn't seem to be working well
any idea how to solve these?
let me know
thanks
Re: What's the best way of disabling features in FCKEditor?
In particular, understand the fckconfig.js file. Look for these two lines:
If you change EnterMode to 'br' then when a user hits the return key it will only go to the next line. Or just educate your users/put information on the website to use SHIFT+ENTER for one line, RETURN for two. Or you coudl just swap the functionality around. FCKEditor is pretty configurable using fckconfig.js file.
Re: What's the best way of disabling features in FCKEditor?
that's brilliant
thanks for that
Re: What's the best way of disabling features in FCKEditor?