Opened 18 years ago
Closed 17 years ago
#645 closed Bug (fixed)
[SS] Nesting block elements, invalid XHTML
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | Core : Styles | Version: | |
Keywords: | SF | Cc: | Frederico Caldeira Knabben |
Description (last modified by )
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.
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1087549&group_id=75348&atid=543653
Change History (3)
comment:1 Changed 18 years ago by
Cc: | Frederico Caldeira Knabben added |
---|---|
Reporter: | changed from Martin Kou to martinkronstad@… |
comment:2 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 17 years ago by
Component: | General → Core : Styles |
---|---|
Milestone: | → FCKeditor 2.5 |
Resolution: | → fixed |
Status: | new → closed |
Fixed with [774].
Click here for more info about our SVN system.
I'm marking this bug to [SS] (Style Selector).
Moved from SF. Original poster: fredck