Opened 13 years ago

Last modified 11 years ago

#5471 confirmed Bug

Insert 'Div' result wrong in enterMode=BR

Reported by: Garry Yao Owned by:
Priority: Low Milestone:
Component: General Version: 3.0
Keywords: Cc:


Reproducing Procedures

  1. Load the 'enterkey' sample and switch enterMode from <P> to <BR>;
  2. Click on 'Div' command and insert a default div container.
  • Expected Result:
    		This is some <strong>sample text</strong>. You are using <a href="">CKEditor</a>. </div>
  • Actual Result: Line is wrapped by an extra paragraph.
    		This is some <strong>sample text</strong>. You are using <a href="">CKEditor</a>.</p>

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Priority: NormalLow
Status: newconfirmed
Version: SVN (CKEditor) - OLD3.0

Currently this is how div container works - it inserts div with p inside. Thanks to such approach div is not replaced by other block level elements (like list or table) when they are inserted.

Perhaps adjusting div container to enter mode would require using attribute on this div?

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