I need help on where I can disable or even remove the show HTML source code button.
I only want people to use the editor feature to edit the page and not manually type in HTML codes into the source code.
Any help is appreciated.
Thanks in advance.
Sat, 02/09/2008 - 01:17
#1
Re: How do I disable the show HTML source button.
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText' .... etc
Simple remove the word 'Source', (Including the comma and apostrophe)
Abbey
Re: How do I disable the show HTML source button.
That solved my problem. Once that is disabled, do you think people can still find a way to type in HTML code and make it work without typing it into the source code since that has been disabled?
Thanks again.
Re: How do I disable the show HTML source button.
Absolutely not, they won't
Absolutely not, they won't only be able to forge the contents of the CKeditor instance simply using the browser, they can even add a breakpoint to your config file right after the point where you exlude the source button and manually add it back with a console command. So they will have the source button.
Security must be ALWAYS implemented server-side.