Ticket #9065 (closed New Feature: invalid)

Opened 2 years ago

Last modified 2 years ago

Maximize to percent

Reported by: ashmodean 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

comment:1 Changed 2 years ago by wwalc

  • Keywords maximize, percent removed
  • Version 3.6.3 deleted

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to closed
  • Resolution set to invalid

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy