Hi there.
I'd like to remove the <p> </p> from the editor. I've found this solution and it works.:
But I'd like to use this only on a certain page (page A) with editor and not on all the other pages with an editor (pages B, C and the rest). So how can I overide the standard config on page A and so that the other pages (B, C and the rest) use the standard config.
Hope you can help me.
Leon
I'd like to remove the <p> </p> from the editor. I've found this solution and it works.:
FCKConfig.EnterMode = 'br' ; // p | div | br FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
But I'd like to use this only on a certain page (page A) with editor and not on all the other pages with an editor (pages B, C and the rest). So how can I overide the standard config on page A and so that the other pages (B, C and the rest) use the standard config.
Hope you can help me.
Leon

Re: Use different config on pages with editor
Assuming that you are initializing the editor on each of the pages individually, you can make a copy of the default configuration file and modify it as needed and set this file during initialization.
So basically lets say you created your custom config file; myconfig.js which is a copy of the original config file with the above lines changed. Then while initializing the editor in page A use the following
For all the other pages, don't set the oFCKeditor.Config["CustomConfigurationsPath"] option. Refer to the Configuration File section of the developer documentation. It gives you all the information you need.
http://docs.fckeditor.net/FCKeditor_2.x ... ation_File
Re: Use different config on pages with editor
Hi Shri.
Thnx for your anwser. This is what I was looking for!!!
Thnx,
Leon