Opened 7 years ago

Last modified 5 months ago

#5153 confirmed New Feature

Automatically set size to the dimensions of the replaced textarea

Reported by: alfonsoml Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Drupal Cc: wim.leers@…


If the instance is created replacing a textarea, try to make it match those dimensions by default. If the config has some dimensions set, then of course, use that, but if it's missing, then get the size of the textarea like requested in

Change History (4)

comment:1 Changed 5 years ago by j.swiderski

  • Status changed from new to confirmed

If there is nothing set in CKEditor then it could use size of textarea based on rows and cols of textarea.

Editor width and height are empty by default but there are settings like resize_minWidth, resize_maxWidth, resize_minHeight, resize_maxHeight. It should be checked if they don't have any influence of initial editor dimensions.

comment:2 Changed 12 months ago by Wim Leers

  • Cc wim.leers@… added
  • Keywords Drupal added

comment:3 Changed 12 months ago by Wim Leers

Related issue in Drupal tracker: #2717599.

comment:4 Changed 5 months ago by fredck

Aren't we trying to do too much magic here? Shouldn't the integrators instead be the ones to set the editor height based on the number of rows of the textarea?

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