Ticket #6910 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

[enterBr] undesired paragraph in blockquote

Reported by: garry.yao Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.0
Keywords: Cc:

Description

  1. With enterMode = CKEDITOR.ENTER_BR open any sample page;
  2. Clear page content and click on "blockquote";
    • Actual Result:
      <blockquote>
      	<p>
      		&nbsp;</p>
      </blockquote>
      
    • Expected Result: There's no created paragraph.

Change History

comment:1 Changed 3 years ago by wwalc

  • Status changed from new to confirmed

Same with div coniatner.

comment:2 Changed 3 years ago by krst

I think TT made for #6566 r6493 reveals strange behaviour of setting blockquote on selection in entermode = BR.
selected 2 lines

[2<br />
3]<br />

are first converted into

<p>2<br /> 
3</p>

and then to

<blockquote>
  <p>2<br /> 
  3</p>
</blockquote>

I hope it could be useful for investigation.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy