简体   繁体   中英

CKEditor throws exception: 'n' is null or not an object

I have traced the root of this exception to the sourcearea plugin of CKEditor v3.0.1. It occurs (occasionally) after the user has entered content into the editor and he then clicks on the small arrow in the upper right hand of the editor (close toolbar arrow). Has anyone seen this problem? We are using IE6.

onResize(){
   textarea.hide();  // EXCEPTION occurs because textarea is null
   textarea.setStyle( 'height', holderElement.$.clientheight + 'px');
   textarea.show();
};

After the problem begins (n = textarea = null), it occurs every time the right arrow is clicked.

正如Pekka建议的那样,我现在检查null并将其称为一天。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM