Opened 17 years ago

Closed 17 years ago

#68 closed Bug (fixed)

Properly handle EnterMode=br and block formatting

Reported by: Frederico Caldeira Knabben Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version:
Keywords: SD-COE Cc: pkdille, Jean-Marc Libs, Nyloth

Description

When EnterMode='br', we must properly handle the formatting of the blocks (block element change) with the "Format" toolbar combo.

Every line separated by a <br> must be considered a "block", and therefore only that part must be changed when switching block type. Also, if a selection embraces a <br>, the entire selection must be broken in different blocks.

Today, the entire block is changed to the selected block style. To test it:

  • Set EnterMode='br'
  • Type some lines of text
  • Position the cursor over one of the lines
  • Switch the format to Heading 1 -> The entire block will be transformed

Change History (7)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Cc: Pascal.KUSTNER@… added
Keywords: SD-COE added

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Cc: jean-marc.libs@… patrice.weber@… added

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Cc: pkdille Jean-Marc Libs Nyloth added; Pascal.KUSTNER@… jean-marc.libs@… patrice.weber@… removed

comment:4 Changed 17 years ago by Frederico Caldeira Knabben

Component: UI : Enter KeyCore : Styles

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Owner: set to Frederico Caldeira Knabben

comment:6 Changed 17 years ago by Frederico Caldeira Knabben

Status: newassigned

comment:7 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [811].

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