Opened 18 years ago

Last modified 18 years ago

#645 closed Bug

[SS] Nesting block elements, invalid XHTML — at Initial Version

Reported by: Martin Kou Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version:
Keywords: SF Cc: Frederico Caldeira Knabben

Description

There is an unfortunate problem in the editor with nesting block elements. Using style/formate by marking text and assigning formate can lead to nesting block elements like this example:

<h2><p>Text her..</p> more text...</h2>

This is invalid XHTML and should therefore not be possible to do.

The formate assigned should be assigned to the blockelement itself, not only the marked text.

This is how it works in 1.x and should also work in 2.x.

If your marker is placed within a blockelement like a paragraph, you should be able to assign a header2- formate to the element, without having to mark up the text.

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy