Project

General

Profile

Actions

Bug #16226

closed

rte not using of br instead of p

Added by Andreas Balzer over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-06-10
Due date:
% Done:

0%

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

Description

As the default of TYPO3 4.0, br should be used instead of p. RTE does however not care about this and uses a p in FF..

current version of rte
(issue imported from #M3646)

Actions #1

Updated by Erik Svendsen over 18 years ago

Sorry to say, - you are wrong. HTMLArea is doing it correct. Enter (hard linebreak) wraps the paragraph with <p> .... </p> who is correct. Shift-Enter (soft linebreak), end the line with <br />, who is also correct.

<br /> should never be standard behavior for Enter, because Enter (hard linebreak) are defined as end of paragraph and not end of line. Every Word-Processor made has this behavior, and it's also correct HTML-coding.

Have no problem in any of mine 4.0 installs (either HTMLArea are configured or not), with using <p> and <br /> like it should. I'm also using FF as browser.

My conclusion. Not a bug.

Actions #2

Updated by Stanislas Rolland over 18 years ago

IE produces a p tag when you hit enter. Making IE enter br instead of p is not a planned feature. Shift-enter will produce a br tag.

Mozilla/Firefox produces a br tag when you hit enter. However, htmlArea RTE makes this configurable so that you can produce a p tag when you hit enter. This is the prefered behavior.

This default behavior will not be changed unless you can get consensus on such change from the subscribers of this list:
news://news.netfielders.de/typo3.projects.rte

Actions #3

Updated by Stanislas Rolland over 18 years ago

Please: "Current version of the RTE" is not very informative.

Actions

Also available in: Atom PDF