Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8596 closed Bug (invalid)

FCKEditor inserts <p></p> in code

Reported by: marc Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: FCKeditor 2.6.5
Keywords: Cc:

Description

Hi,

I have a form in the FCKEditor. This is how it looks:

<p>[to:test@test.com;bcc:info@text.com;subject:some email subject]<style type="text/css"> ... more css code... </style></p><table ..more html code

I don't want the <p> before the [ and the </p> after the </style> tag so I remove it but as soon as I choose the source code button, FCKEditor inserted it again. I checked several things in my FCKConfig::

FCKConfig.EnterMode = 'p' FCKConfig.FormatSource = false ; the 3 FCKConfig.ProtectedSource lines are all commented out

Can I stop FCKEditor from inserting this code? If so, how? Btw I need the text between []. It contains placeholders for my code. Is this a problem for FCK?

I use FCKEditor Version 2.6.5, Firefox 8.01 on W7

Marc

Change History (5)

comment:1 Changed 8 years ago by Anna Tomanek

Resolution: invalid
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

comment:2 Changed 8 years ago by Anna Tomanek

Keywords: <p> removed

comment:3 Changed 8 years ago by Anna Tomanek

Version: FCKeditor 2.6.5

comment:4 in reply to:  1 Changed 8 years ago by marc

Replying to Anna:

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

I use FCKEditor 2.6.5 since it has support for uploading files using Coldfusion. To my knowledge CKEditor does not support this language.

comment:5 Changed 8 years ago by Anna Tomanek

True, CKEditor does not contain a built-in file browser. But you can either build your custom one or use CKFinder that offers seamless integration with the editor (see the demo that is using CKEditor + CKFinder), also for ColdFusion. You can probably find other ready-made solutions around, too.

In any case, you obviously need to choose an option that makes more sense in your usage scenario.

Furthermore, you can use the community forums to find other users that are facing the same problem with FCKeditor confifguration that you are having.

Last edited 8 years ago by Anna Tomanek (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy