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

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -