Opened 14 years ago

Last modified 7 years ago

#5153 confirmed New Feature

Automatically set size to the dimensions of the replaced textarea

Reported by: Alfonso Martínez de Lizarrondo 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 12 years ago by Jakub Ś

Status: newconfirmed

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 8 years ago by Wim Leers

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

comment:3 Changed 8 years ago by Wim Leers

Related issue in Drupal tracker: #2717599.

comment:4 Changed 7 years ago by Frederico Caldeira Knabben

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy