mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: md editor: remove sub and sup
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -34,6 +34,10 @@ config({
|
||||
});
|
||||
}
|
||||
},
|
||||
markdownItPlugins(plugins) {
|
||||
console.log('Active builtin mdit plugins', plugins);
|
||||
return plugins.filter((plugin) => ['sub', 'sup'].includes(plugin.type));
|
||||
},
|
||||
});
|
||||
|
||||
export { MdEditor };
|
||||
Reference in new issue
Block a user