Opened 9 years ago

Closed 7 years ago

#6374 closed New Feature (invalid)

Extend Toolbar.hide function!

Reported by: Andi Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 3.4 Beta
Keywords: Cc:

Description

Hi there!

My customer wants to have only one row of the toolbar shown until he klicks on the arrow to show the full toolbar.

We have this case, because if your Editorwindow is only 400x400 px, the admin toolbar goes over 6-7 lines.

Now when you klick the little arrow on the right side, the button calls function 70, wich makes "toolbar.hide" and that sets the toolbar to "display:none"

here is the code:

hide : function() { this.setStyle( 'display', 'none' ); },

Is there a known possibility to set it only to one row?

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: toolbar hide removed
Resolution: invalid
Status: newclosed

I think this can be done with experimenting with styles in hide method you have mentioned. I also think that horizontal resizing should be disabed here to aviod any unnecessary suprises. http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_enabled
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_dir

Hiding all rows but one is a very specific request in my opinion. A much better approach was presented in ticket #7038.

Anyway I’m closing the ticket as invalid.

Last edited 7 years ago by Anna Tomanek (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy