Bug #64015
closedTAGS ALLOWED OUTSIDE P & DIV - has no effect?!
0%
Description
Hi developers!
The above function has no effect.
If an additional TAG is added according to instructions.
example:
RTE.default.proc.allowTags: = addToList (iframe)
RTE.default.proc.entryHTMLparser_db.allowTags: = addToList (iframe)
RTE.default.proc.allowTagsOutside: = addToList (iframe)
styles.content.links.allowTags = b, i, u, a, img, br, div, table centers, pre, font, hr,
sub, sup, p, strong, em, li, ul, ol, blockquote, strike, del, ins, span, h1, h2, h3, h4,
h5, h6, address, iframe
The <iframe> TAG is still enclosed in a <p> TAG.
I have also tested it without additional RTE configuration.
I mean, I tested it with a change in the original file extension "rtehtmlarea" - no effect.
What is also strange is if the file "rtehtmlarea \ Configuration \ Paget \ proc \ pageTSConfig.txt" setting
"#allowTagsOutside = address, article," is disabled, the specified TAGS be created anyway without <p> TAG?
Harald
Updated by Harald no-lastname-given almost 10 years ago
Everything back!¶
Sorry, in the front end, the <iframe> TAG is issued correctly and without enclosed <p> TAG.
What was misleading for me, is that in the RTE (backend) is the <iframe> TAG wrapped in a <p> tag. But not in the FE.
Merry Christmas
Updated by Mathias Schreiber almost 10 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
Updated by Stanislas Rolland almost 10 years ago
The iframe tag is indeed wrapped in paragraph in the RTE, but not in the database.
Address and article are treated differently because they are, by default, block elements.
If you want the iframe tag to be processed as a block element, you may configure
RTE.default.proc.blockElementList = PRE,UL,OL,H1,H2,H3,H4,H5,H6,ADDRESS,DL,DD,HEADER,SECTION,FOOTER,NAV,ARTICLE,ASIDE,IFRAME
Here, you need to provide the full list of block elements.
Then, the iframe is not wrapped in paragraph in the RTE.
Updated by Stanislas Rolland almost 10 years ago
- Status changed from New to Closed
Updated by Harald no-lastname-given almost 10 years ago
Thank you for this insightful information! I've searched in vain for it.
I wish you everything good
Harald