[Typo3] RTE: Pasting Word or RTF Documents
Mark
mark at zapadinform.com
Sun Feb 6 12:41:55 CET 2005
Cool. That did the trick. Works quite well, actually.
Now do you happen to know how to turn-off RTE processing so the tags will
get stored and displayed as entered? ;-)
Mark
"Stefan Beylen" <intsys at swissinfo.org> wrote in message
news:mailman.1.1107504729.14752.typo3-english at lists.netfielders.de...
> Mark wrote:
> > The problem isn't really "cleaning" Word files -- it's that they're
cleaned
> > too much. The client wants to keep the formatting as done in Word. The
RTE
> > tends to convert everything to text (HTML-formatted text as well.)
> > I would like to keep the <font> tags, but they're being stripped no
matter
> > what settings are used.
>
> shouldnt be too difficult to modify the 50 lines of JavaScript that come
with the extension to fulfil your needs ;)
> for example see line 28:
>
> ---8<-----snip
> replace(/<\/?font[^>]*>/gi,''). // Disable if you want to keep font
formatting
> ---8<-----snap
>
> have a nice day
>
> --
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> Stefan Beylen
> W / private: http://www.lingoist.com
> ICQ private: 19461808
> MSN private: iiioiooo
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
More information about the TYPO3-english
mailing list