Opened 17 years ago

Closed 16 years ago

#646 closed Bug (fixed)

Bullet-Function breaks when swapping <BR> <P>

Reported by: anonymous Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Lists Version:
Keywords: SF Cc: aemi@…


When swapping BR and P so that IE creates <BR> on <ENTER>-Key, the bullet function (at least that one) seems to be broken, as it indents the whole text. Only when inserting a <P> somewhere, the bullet function stops where the paragraph tag was inserted.

Logical, but this way, the <BR> / <P> swap is difficult to use efficiently.

Moved from SF:

Change History (2)

comment:1 Changed 17 years ago by Martin Kou

Cc: aemi@… added
Reporter: changed from Martin Kou to anonymous

This is just one reason why it is bad practice to use <br/> instead of <p> when hitting carriage return.

Why would you want to replace <p> by <br/>?

  • Because it looks better? Then you should use proper css

applied to <p>.

  • Because of browser incompatibilities? Then you should go

the other way around and have an option UsePOnCarriageReturn to overwrite Firefox's standard behavior.

Moved from SF. Original poster: aemi

I'm having the same problem but would still like to use the <br> functionality. Could a patch be made please that would surround the highlighted text you intend to bullet/number with a <p> and </p> pair before it applies the bullet?

Moved from SF. Original poster: Anonymous

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Lists
Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

Fixed with [869]. Click here for more info about our SVN system.

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