Project

General

Profile

Actions

Bug #64015

closed

TAGS ALLOWED OUTSIDE P & DIV - has no effect?!

Added by Harald no-lastname-given almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2014-12-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

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

Actions #2

Updated by Mathias Schreiber almost 10 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)
Actions #3

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.

Actions #4

Updated by Stanislas Rolland almost 10 years ago

  • Status changed from New to Closed
Actions #5

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

Actions

Also available in: Atom PDF