[TYPO3-RTE] problems understanding configuration of htmlarea rte
Simon Harhues
Simon.Harhues at muenster.de
Sat Nov 8 02:44:55 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Thomas,
thanks, that solved my problems partly.
Thomas Allmer schrieb:
> addToList(...) also needs :=
You're right, missed it there. After fixing it, it is working like expected.
> and you have to activate the exitHTMLparser
> exitHTMLparser_db = 1
Do I really have to activate it manually? Because in the manual[1] it is
said, that it is activated as default. But even if I activate it
manually in my configuration, it doesn't work.
Now i and b tags stay in source code but don't get remapped to em and
strong tags on saving.
My Page TS Config now looks like this (only important part for
transforming and allowing/disabling tags):
RTE {
default {
removeTags := addToList(h1, h3, h4, h5, h6, div)
removeTagsAndContents := addToList(xml, table)
proc {
allowTagsOutside = blockquote
allowTags = a, blockquote, br, em, h2, p, strong, i, b
# doesn't matter if I use following line or not
# exitHTMLparser_db = 1
exitHTMLparser_db {
tags.b.remap = strong
tags.i.remap = em
}
}
}
}
Dis-/Enabling only the wanted classes for the wanted tags is a task I
will try to solve later.
Simon
[1]
http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea_manual/1.7.4/view/5/1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJFO8Xzqmr83R5SCwRApzdAJ9tlEAyRjxGKXPsO90VvRqpSbYcaQCfa40j
GmHALqht5CHQMWekRtIMxlU=
=pjX5
-----END PGP SIGNATURE-----
More information about the TYPO3-project-rte
mailing list