Hi guys, I looked in the docs and forum but can't seem to find the solution. I want to change the default source e.g. when you start the editor and it is empty you then view the source the following appear:
<html dir="">
<head>
</head>
<body spellcheck="false">
<p> </p>
</body>
</html>
I don;t need the html & body etc tags - I had a look in the source files and searche dfor the e.g. </body> tag but it seems all over - and none of the place where I changed it had an effect - any ideas where I can change this default behaviour?
Thanks
<html dir="">
<head>
</head>
<body spellcheck="false">
<p> </p>
</body>
</html>
I don;t need the html & body etc tags - I had a look in the source files and searche dfor the e.g. </body> tag but it seems all over - and none of the place where I changed it had an effect - any ideas where I can change this default behaviour?
Thanks
Re: change default source
Re: change default source
Re: change default source
There are a couple of files that you need to edit:
editor/js/fckeditorcode_ie.js
On line 32, you will see:
var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,...
Change this to:
var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:1,Toolbar:null,HasFocus:false,...
editor/js/fckeditorcode_gecko.js
On line 31, you will see:
var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,...
Change this to:
var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:1,Toolbar:null,HasFocus:false,...
Hope that helps!
Paul
Founder
AvenueHiFi.com