Issue Bug Closed

#45527RTE custom tags, automatically p-tags after saving

Marcel Utz 02/16/13, 12:45 updated 01/06/14, 11:12

Description

Adding custom tags to RTE in TSConfig like this:
RTE.default {
proc {
allowTags := addToList(button,form)
allowTagsOutside := addToList(button,form)
denyTags := removeFromList(button,form)
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
}
}
}
and this in Typoscript Setup:
lib.parseFunc_RTE.allowTags := addToList(button,form)

Adding the following code in the HTML source code, by clicking the “toggle text mode” button first and then adding the code:

text

<form action="index.php" method="post"><button>button</button></form>

After saving I got this:

text

<form action="index.php" method="post"><button>button</button></form>

How can I disable this automatically added p-tags?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.