Hi,
We are using the FCKeditor as our HTML editor within DNN installations.
When we input into a field with the FCKeditor enabled, the output is automattically wrapped in a <p> (or a <div> if you select Normal (DIV) from the Format Dropdown)
Is there a way to disable this?
Cheers,
m
We are using the FCKeditor as our HTML editor within DNN installations.
When we input into a field with the FCKeditor enabled, the output is automattically wrapped in a <p> (or a <div> if you select Normal (DIV) from the Format Dropdown)
Is there a way to disable this?
Cheers,
m

Re: Can I remove the default <p> tags??
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Can I remove the default <p> tags??
Is it possible to only effect a particual module with the change?
We are using an add on module called Xmod to create a number of custom displays for our client, and we are using FCKeditor to drive the <h
tmlinput> option Xmod provides.
I have found the documentation on the Configuration file and have created a seperate config file to override the EnterMode. I would like to implement this as suggest via Javascript, but was wondering if I could do this on a module level - instead of at a page level.
Xmod is a forms based module that recognises Javascript.
I tried placing:
<script language="javascript">
var oFCKeditor = new FCKeditor( "FCKeditor1" ) ;
oFCKeditor.Config["CustomConfigurationsPath"] = "Portals/_default/xmodConfigFCK.js" ;
oFCKeditor.Create() ;
</script>
Into my Xmod form but have had no luck?
Any ideas?
Cheers,
M
Re: Can I remove the default <p> tags??
I would suggest you using Firebug to be sure it is loading your custom configuration file properly. I've noted you are using a relative path there, but I think you would do better by using an absolution path (starting with slash, I mean).
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn