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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -