[opencms-dev] How to disable WYSIWYG editor?

Pedro Ribeiro pedroribeirojr at gmail.com
Wed Nov 10 00:45:56 CET 2004


Hi all.

I am totally frustrated with the default Activex Component Editor,
here some of the reasons:

- Copy and Paste does not work as expected. The component tries to
"Identify" where the paste content came from and tries to create
<font>  and <span> tags that turn the content similar with previous
situations... ok. it seems smart but if you copy and paste from
notepad it wont work any way, it put a big <font> around the block
(internally) and there is no way to remove it unless you edit the
code!

- It  provides a  feature to upload a image and instead of really
upload, it creates a <img src="file:c:///my documents/ " path and
upload with that.

- It looses <a> anchors ! 
- Links address are lost during edition, you have to do it twice.

If you are smart enough to deal with "extra features the editor
provides to you" its fine, but the idea is to provide a CONTENT
management above all the things for people who you dont wanna to mess
up with all the layout that is managed by templates.

The source - code editor is the close to the ideal world, but its
problem is the <CDATA xml tag that the user must not see it. So how
can I mix both? How can I say to opencms use the textare editor,
disable the buttons and edit the content without CDATA?

Thanks



More information about the opencms-dev mailing list