Opened 17 years ago
Closed 17 years ago
#780 closed Bug (fixed)
Justification Buttons Function Improperly
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | |
Keywords: | SF | Cc: |
Description
The justify buttons do not function like a normal justification in any document program. According to all justification rules in text editors you should be able to have different lines with different justifications. However, in the FCKeditor this is not the case. For example:
- Open up the editor window and type a line of text,
hit enter, and type a second line.
- Try to left justify the top line and then right
justify the bottom line.
Notice the bottom line follows the alignment above it. This is cause by the replacement of the <p> tag with the div tags.
ACTUAL CODE:
<div align="right">testing<br /> line <br /> </div>
SHOULD BE
<p>testing<br /> <div align="right">line 2</div> </p>
The logic being that left justify does not require and div tags since by default the text goes left. The right and center tags should be turned on when the button is clicked. A value should be marked the one of the justify buttons is on. When the user changes the justify, the code should close the previous div and start the new.
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1569555&group_id=75348&atid=543653
Change History (2)
comment:1 Changed 17 years ago by
Reporter: | changed from Martin Kou to delella@… |
---|
comment:2 Changed 17 years ago by
Milestone: | → FCKeditor 2.5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
We have recently reworked the alignment feature and this should not anymore be an issue. For now, it is available at our SVN.
In any case, we'll never produce <div> inside <p>, which is completely wrong.