CkEditor - Uncaught TypeError: Cannot read property 'getSelection' of undefined
问题 I am implementing the CKEditor in my app. When I am trying to instantiate CKEditor to the textarea I am getting following error Cannot read property 'getSelection' of undefined at below line of ckeditor getNative: function() { return void 0 !== this._.cache.nativeSel ? this._.cache.nativeSel : this._.cache.nativeSel = B ? this.document.$.selection : this.document.getWindow().$.getSelection() } Any help is much appreciated. 回答1: I have a list of articles. every time I clicked on any article a