Opened 11 years ago

Closed 11 years ago

#9355 closed Bug (fixed)

Menu panel never shrinks

Reported by: Olek Nowodziński Owned by: Olek Nowodziński
Priority: Normal Milestone: CKEditor 4.0
Component: UI : Floating Panel Version: 4.0
Keywords: Cc:


Use the following HTML:

<textarea cols="80" id="editor1" name="editor1" rows="10">			
	This is some text.

To create an editor with extended context menu label:

CKEDITOR.replace( 'editor1' );

CKEDITOR.on( 'instanceLoaded', function( evt ) {
	evt.editor._.menuItems.tablecell.label =, 10 );
  1. Right-click on the text. A narrow context menu is shown.
  2. Right-click the table. A very wide context menu is shown.
  3. Again, right-click on the text. The menu is still wide. It's nothing like this from 1.

Attachments (1)

contextMenuNoShrink.png (10.3 KB) - added by Olek Nowodziński 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Olek Nowodziński

Attachment: contextMenuNoShrink.png added

comment:1 Changed 11 years ago by Olek Nowodziński

Owner: set to Olek Nowodziński
Status: newreview

Created branch t/9355 with a solution.

comment:2 Changed 11 years ago by Garry Yao

Status: reviewreview_passed

Nice catch, it even not a v3 regression.

comment:3 Changed 11 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Small glitches:

target.setStyle( 'width', null ) -> target.removeStyle( 'width' )

Besides ticket number should present in comment line.

Fixed on master with:

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