Opened 13 years ago

Closed 12 years ago

#9065 closed New Feature (invalid)

Maximize to percent

Reported by: Stefan Petrov Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Some users forget that they have clicked the Maximize button, and instead of clicking it again to minimize - they click the browser back button and lose what they have written. If the Maximize button could be configured to 80% for example - users will be less confused and won't click the back button. Also you can make it minimize if clicked outside this 80% area.

Change History (2)

comment:1 Changed 12 years ago by Wiktor Walc

Keywords: maximize percent removed
Version: 3.6.3

comment:2 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Maximize as name implies maximizes the editor.

For the task you want to achieve you should

  1. Remove maximize plugin http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.removePlugins
  2. Create your own plugin that uses resize method and resizes editor to given dimensions

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#resize

How to write plugins: http://docs.cksource.com/CKEditor_3.x/Tutorials

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