简体   繁体   中英

a.nativeSelection is null TinyMCE Editor

I have a tinyMCE editor embedded in my page. At times it gets loaded find. Other times it throws "a.nativeSelection is null".

What could be wrong?

I had used multiple tinyMCE editors in same page with same id for the textarea controls over which tinyMCE is applied. This leads to problems of editor not loading perfectly. I have now modified my code to clear the existing editor off the textarea and load the new one. This solved it.

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