Opened 15 years ago
Last modified 8 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@… |
Description
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 http://cksource.com/forums/viewtopic.php?f=11&t=17682
Change History (4)
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 9 years ago by
Cc: | wim.leers@… added |
---|---|
Keywords: | Drupal added |
comment:4 Changed 8 years ago by
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?
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.