@halo-dev/richtext-editor 0.0.0-alpha.5 → 0.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rich-text-editor.es.js +1 -1
- package/dist/rich-text-editor.es.js.map +1 -1
- package/dist/rich-text-editor.iife.js +1 -1
- package/dist/rich-text-editor.iife.js.map +1 -1
- package/dist/style.css +3 -4
- package/package.json +16 -16
- package/dist/extensions/code-block/code-block.d.ts +0 -2
- package/dist/extensions/code-block/index.d.ts +0 -2
- package/dist/extensions/code-block/lowlight.d.ts +0 -2
- package/dist/extensions/commands-menu/commands.d.ts +0 -3
- package/dist/extensions/commands-menu/index.d.ts +0 -2
- package/dist/extensions/commands-menu/suggestion.d.ts +0 -23
- package/dist/extensions/index.d.ts +0 -35
- package/dist/extensions/katex/index.d.ts +0 -2
- package/dist/index.d.ts +0 -7
|
@@ -26990,7 +26990,7 @@ img.ProseMirror-separator {
|
|
|
26990
26990
|
title: "\u6570\u5B66\u516C\u5F0F",
|
|
26991
26991
|
keywords: ["katex", "math", "shuxuegongshi"],
|
|
26992
26992
|
command: ({ editor, range }) => {
|
|
26993
|
-
editor.chain().focus().deleteRange(range).
|
|
26993
|
+
editor.chain().focus().deleteRange(range).addKatex().run();
|
|
26994
26994
|
}
|
|
26995
26995
|
}
|
|
26996
26996
|
].filter(
|