[TYPO3-RTE] conatiner and quotation wrap around paragraphs?

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Jul 30 21:04:31 CEST 2008


Martin Kutschker wrote: on 30.07.2008 15:29:

>> In such context, block elements which may contain other block elements
>> will wrap the block in which the cursor is positioned or any selected
>> block. This is the case since TYPO3 4.2.0. The behaviour is similar to
>> that of the inline elements dropdown. The behaviour should be the same
>> in all browsers. There is no configuration option for changing this
>> behaviour.
> 
> Hm, doesn't seem to be very intuitive for me. I guess it's not much of a
> problem for the <blockquote>, but it's not good for a <div>. Why?
> Usually a div has no margins, but a paragraph has. When you now wrap a
> <div> around a non-empty <p> you cannot get rid of the <p>. the reason
> is that the "remove tag" option, removes the element: the opening and
> closing tag along with the contents.

Yes, a "strip tag" (without removing the content) would be a neat 
addition for this (and other) cases.

Cheers,
Ernesto


More information about the TYPO3-project-rte mailing list