We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30ed0d commit eff205eCopy full SHA for eff205e
plugin.js
@@ -31,7 +31,8 @@ CKEDITOR.plugins.add('scayt', {
31
32
CKEDITOR.plugins.autocomplete.prototype.getModel = function(arg1) {
33
var editor = this.editor,
34
- model = originalFn(arg1);
+ geModelFn = originalFn.bind(this),
35
+ model = geModelFn(arg1);
36
37
model.on('change-isActive', function(evt) {
38
evt.data ? editor.fire('autocompletePanelShow') : editor.fire('autocompletePanelHide');
@@ -2057,4 +2058,4 @@ CKEDITOR.on('scaytReady', function() {
2057
2058
*
2059
* @cfg {String} [scayt_elementsToIgnore='style']
2060
* @member CKEDITOR.config
- */
2061
+ */
0 commit comments