Project

General

Profile

Actions

Bug #14498

closed

div tags converted to p tags

Added by old_vesterbaek almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-01-17
Due date:
% Done:

0%

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

Description

If I change to source code view in rtehtmlarea and write a div element, it is changed to a p tag when I save the document. It does not change anything if I set the PROC->useDIVasParagraphTagForRTE typoscript setting.

(issue imported from #M686)

Actions #1

Updated by Stanislas Rolland almost 20 years ago

in Page TSConfig, set:

RTE.default.proc.useDIVasParagraphTagForRTE = 1
RTE.config.tt_content.bodytext.proc.useDIVasParagraphTagForRTE = 1

Then, the div tag will be preserved. Note that p tags will also be replaced by div tags. Beware that other proc settings may affect this transformation especially if the tag has attributes that need to be preserved.

htmlArea RTE (rtehtmlarea) is not involved in these transformations (except for submitting the incoming/outgoing content to the parsing classes).

Actions

Also available in: Atom PDF