Opened 11 years ago
Last modified 11 years ago
#11339 confirmed New Feature
Inline editing: width / height configuration options do not work
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
Reported by a customer.
When using
CKEDITOR.inline()
to replace a textarea element, the width configuration setting does not work, the editor always takes the whole available width which can destroy the layout.
While investigating I've noticed that setting height
do not work as well. This is in quite confusing and not documented (e.g. here).
Proposed solutions:
- For width, apply the
width
inline style to the "main"<div class="cke_textarea_inline">
element
config.height
should be set withmin-height
, to allow expanding the size of the editor while the content is added.