[TYPO3-RTE] Display nonprinting characters?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Jul 10 09:45:48 CEST 2006


Sacha Vorbeck schrieb:
> Hi,
> 
> I currently have a some problems with the HTMLareas as things like
> <h3></h3> or <p><strong></strong></p> are created when editors write
> text and modify it without care.
> 
> In OOffice or Word you can turn on the display of non-printing chars
> like carriage returns, linebreaks etc.. Could this be included into
> HTMLarea? I think it could help editors to modify text correctly without
> creating wrong markup.

I think this would be great. But I think it's difficult to achieve. To make 
it work you could create extra markup (that gets removed on save) for 
display. But the user will probably be able to edit those extra markup.

With markup I mean something like <span class="RTE">¶</span>.

Perhaps it is possible to have non-editable parts within an editable area. 
Have a look at the HTML/JS/DOM-docs to see if it is possible.

Masi



More information about the TYPO3-project-rte mailing list