You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using addAutocomplete the editors seems to break something. I have tried to follow the documentation and even seek the Copenhagen code to find out how to use add extra AutoComplete. May yout give me a clue on how to use this feature
consted=newCopenhagen.Editor({language: 'javascript'});// open, but do not auto-focus the editored.open(editor.value,false);// set a valueed.setValue('var message = `hello world`;');ed.addAutocomplete('sel',function(editor,selection,inString,inComment){console.log(editor,selection,inString,inComment);return'some value '});
The text was updated successfully, but these errors were encountered:
When using addAutocomplete the editors seems to break something. I have tried to follow the documentation and even seek the Copenhagen code to find out how to use add extra AutoComplete. May yout give me a clue on how to use this feature
The text was updated successfully, but these errors were encountered: