mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: disable link shortener for mdeditor
This commit is contained in:
1 file changed
+3
@@ -40,6 +40,9 @@ config({
|
||||
// disable all default plugins
|
||||
return [];
|
||||
},
|
||||
codeMirrorExtensions(extensions) {
|
||||
return extensions.filter((i) => i.type !== 'linkShortener');
|
||||
},
|
||||
});
|
||||
|
||||
export { MdEditor };
|
||||
Reference in new issue
Block a user