I have the CKEditor on a page. Whenever the users changes the height by dragging the editor, I want to know the new height, so I can save it.
Using CKEDITOR.config.height I can get the configured height, but I want the current height.
I have also tried using height() from jQuery, but that only gives me the height set via CSS - and if no height set, it gives me "43".
I would like to either
- Get the current height of the CKEditor textarea (minus menus, but I can do that calculation myself)
- Have CKEditor trigger something whenever the height changes
The reason is, that I want to save this information along with the content, in order to size the iframe it will be shown in correctly.