Closed guidu42 closed 3 months ago
By following this approach, it can be resolved
config({
codeMirrorExtensions(theme, _extensions, keyBindings) {
const extensions = [..._extensions];
// remove completions extension
extensions.pop();
return extensions;
},
});
Describe the issue
Hello, I'm working on a chat project. For multiple reasons i decided to use md-editor-v3 with Vue for writting messages.
My users won't specially need to use all the default completions that are defined in the set up of MdEditor. When i try to override codeMirrorExtensions like this, i got an error because the override key for codeMirrorExtensions is already called during the set up.
Could it be possible to override the defaultCompletion defined in packages/MdEditor/layouts/Content/codemirror /autocompletion.ts
Procedure version
Node v16.20.
Reproduction link
No response