Wreckmaster
Posts: 48
|
Posted: 09/22/2012, 6:18 AM |
|
I am using version CCS 4.3 .
While implementing FCK Editor, in config parameters I have added
my-text-area_FCK.Config["ForcePasteAsPlainText"] = true;
my-text-area_FCK.Config["UseBROnCarriageReturn"] = true;
This has no effect what so ever.
I have other issues with this editor such as adding <p> tags to every thing, is there an alternative editor with good photo upload facilities ?.
Thanks
|
|
|
Gena
Posts: 591
|
Posted: 09/22/2012, 6:42 AM |
|
I'm using
CKEDITOR, but manually attached to each textarea like
<textarea id="article_subtitle" name="{article_subtitle_Name}" rows="3" cols="85">{article_subtitle}</textarea>
<script type="text/javascript">
CKEDITOR.replace( 'article_subtitle' , {
height: "100px",
width: "100%",
toolbar: "Basic"
});
</script>
and for image uploading I'm using pdwfilebrowser (both as plugin for CKEDITOR as well as standalone)
_________________
Gena |
|
|
Wreckmaster
Posts: 48
|
Posted: 09/22/2012, 7:00 AM |
|
Thanks Gena
Does the CK editor have the same problems with <p> tags as FCK ?
|
|
|
Gena
Posts: 591
|
Posted: 09/22/2012, 7:11 AM |
|
CK editor adds <p> </p> tags to the paragraph and I have no problem with it. Why you say thet <p> is a problem? since you edit HTML document you have to follow the rules...
_________________
Gena |
|
|
Wreckmaster
Posts: 48
|
Posted: 09/22/2012, 8:15 AM |
|
Thanks again
The problem with FCK is it adds <p> tags to everything whether you wont them or not .
|
|
|
bannedone
Posts: 273
|
Posted: 09/22/2012, 8:30 AM |
|
Hi Wrecmaster
The issue is that CCS does not properly start FC or CK editor. The issue is that CCS never calls the config.js script.
This also could depend on what version of FCKeditor you have.
BTW your parameter my-text-area_FCK.Config["UseBROnCarriageReturn"] = true;
Should cause the editor to use <br> instead of <p> for new lines.
You could put that parameter into the editor thru CCS by adding it to the config dialog box in ccs.
Or you can look at this to see if that helps you.
http://realsites.biz/codecharge_studio_forum.php?forum_...169&forum_id=19
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2 |
|
|
Wreckmaster
Posts: 48
|
Posted: 09/22/2012, 1:12 PM |
|
Quote bannedone:
You could put that parameter into the editor thru CCS by adding it to the config dialog box in ccs.
Thats where I put it , got nothing .
Thanks for the link .
|
|
|
bannedone
Posts: 273
|
Posted: 09/22/2012, 5:02 PM |
|
Hmmm
Did you look into the HTML to see how CCS added that parameter???
Be sure it looks right.
if you entered:
my-text-area_FCK.Config["ForcePasteAsPlainText"] = true;
my-text-area_FCK.Config["UseBROnCarriageReturn"] = true;
into the CCS config paramerters for the control
try using this instead:
FCK.Config["ForcePasteAsPlainText"] = true;
FCK.Config["UseBROnCarriageReturn"] = true;
CCS will add the control name for U.
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2 |
|
|
Wreckmaster
Posts: 48
|
Posted: 09/22/2012, 5:31 PM |
|
Thanks for the reply.
I edited the FCK config file , as CCS is not doing the job .
|
|
|