JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.1
[ckeditor.git] / _source / themes / default / theme.js
index b250202..f7ff8e4 100644 (file)
@@ -352,12 +352,13 @@ CKEDITOR.editor.prototype.resize = function( width, height, isContentHeight, res
  * Gets the element that can be freely used to check the editor size. This method\r
  * is mainly used by the resize plugin, which adds a UI handle that can be used\r
  * to resize the editor.\r
+ * @param {Boolean} forContents Whether to return the "contents" part of the theme instead of the container.\r
  * @returns {CKEDITOR.dom.element} The resizable element.\r
  * @example\r
  */\r
-CKEDITOR.editor.prototype.getResizable = function()\r
+CKEDITOR.editor.prototype.getResizable = function( forContents )\r
 {\r
-       return this.container;\r
+       return forContents ? CKEDITOR.document.getById( 'cke_contents_' + this.name ) : this.container;\r
 };\r
 \r
 /**\r