javascript - How to get scrollheight of CkEditor -
i trying scrollheight of ckeditor in javascript returns 0 though works fine in case of simple textarea object. can please tell me how can scroll height of ckeditor content in javascript?
thanks..
assuming use framed editor:
ckeditor.instances.yourinstancename.editable().$.scrollheight; >> 827 while editable() returns <body> element within editor's <iframe>, $ let access native dom object.
Comments
Post a Comment