Hi all,
I'm currently using a heavily customized verison of HTMLArea 2.0 in a CMS.
How easy would it be for me to implement the following features in FCKEditor?
1. Lots of configurable filtering on pasted HTML (i.e. restricting the HTML to only certain user-defined tags, filtering out CSS)
2. Ideally I'd also like to filter out tags even if the user enters them in the HTML Source View.
3. Forcing the HTML to be contained in <P> tags, or forcing the contents to NOT be contained in <P> tags
4. Converting <P> to <BR>
5. Forcing the contents all on one line (i.e. filtering out <P> and <BR>)
How much of this can I do with a plugin? Is there a another modular way to do this? I'd like to avoid getting into a situation wher I have to add these features in by hand every time I want to upgrade to a newer version of FCKEditor.
Thx,
Eli
I'm currently using a heavily customized verison of HTMLArea 2.0 in a CMS.
How easy would it be for me to implement the following features in FCKEditor?
1. Lots of configurable filtering on pasted HTML (i.e. restricting the HTML to only certain user-defined tags, filtering out CSS)
2. Ideally I'd also like to filter out tags even if the user enters them in the HTML Source View.
3. Forcing the HTML to be contained in <P> tags, or forcing the contents to NOT be contained in <P> tags
4. Converting <P> to <BR>
5. Forcing the contents all on one line (i.e. filtering out <P> and <BR>)
How much of this can I do with a plugin? Is there a another modular way to do this? I'd like to avoid getting into a situation wher I have to add these features in by hand every time I want to upgrade to a newer version of FCKEditor.
Thx,
Eli
RE: Adding custom features
RE: Adding custom features
RE: Adding custom features
I totally agree -- and I am checking most of these rules on the server-side too -- but the problem is that wihtout some javascript, the user can't see any of these filtering rules in action until they submit the form.
Lets say a user copies HTML from another website that is full of <FONT FACE=..> changes and CSS, and then pastes it into the editor. I want the user to see that 90% of the formatting is being stripped out while they are still editing.
Eli
RE: Adding custom features
It would be great if someone knows how to do this.
Danny
RE: Adding custom features
RE: Adding custom features
I haven't tried it yet, but there IS a plugin in the "tracker" section caleed 'clean html' or some such.

Sounds mighty interesting to you.
Bet you guessed "caleed" was spoze to be "called", neh? :-p