@blocknote/core 0.17.0 → 0.18.0
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/angular-html-HQGguTAE.js +33 -0
- package/dist/angular-html-HQGguTAE.js.map +1 -0
- package/dist/angular-ts-q9PqJiJb.js +22 -0
- package/dist/angular-ts-q9PqJiJb.js.map +1 -0
- package/dist/astro-0iWgpDaK.js +17 -0
- package/dist/astro-0iWgpDaK.js.map +1 -0
- package/dist/blade-C3Z8AhvY.js +19 -0
- package/dist/blade-C3Z8AhvY.js.map +1 -0
- package/dist/blocknote.js +2353 -1501
- package/dist/blocknote.js.map +1 -1
- package/dist/blocknote.umd.cjs +10 -7
- package/dist/blocknote.umd.cjs.map +1 -1
- package/dist/c-TKJGJdXV.js +7 -0
- package/dist/c-TKJGJdXV.js.map +1 -0
- package/dist/coffee-CN_y6cG3.js +9 -0
- package/dist/coffee-CN_y6cG3.js.map +1 -0
- package/dist/cpp-Be_e67JE.js +19 -0
- package/dist/cpp-Be_e67JE.js.map +1 -0
- package/dist/css-DHLSoXzW.js +7 -0
- package/dist/css-DHLSoXzW.js.map +1 -0
- package/dist/glsl-8qSUIm5B.js +9 -0
- package/dist/glsl-8qSUIm5B.js.map +1 -0
- package/dist/graphql-D7_Dk2ma.js +15 -0
- package/dist/graphql-D7_Dk2ma.js.map +1 -0
- package/dist/haml-S3dmcfEW.js +11 -0
- package/dist/haml-S3dmcfEW.js.map +1 -0
- package/dist/handlebars-DaIrqVg3.js +15 -0
- package/dist/handlebars-DaIrqVg3.js.map +1 -0
- package/dist/html-Bx3A18fV.js +11 -0
- package/dist/html-Bx3A18fV.js.map +1 -0
- package/dist/html-derivative-Cf3KTZBS.js +9 -0
- package/dist/html-derivative-Cf3KTZBS.js.map +1 -0
- package/dist/http-BphR83YX.js +15 -0
- package/dist/http-BphR83YX.js.map +1 -0
- package/dist/imba-CmP25v0O.js +9 -0
- package/dist/imba-CmP25v0O.js.map +1 -0
- package/dist/java-Dg4kxH6C.js +7 -0
- package/dist/java-Dg4kxH6C.js.map +1 -0
- package/dist/javascript-CipAzIn1.js +7 -0
- package/dist/javascript-CipAzIn1.js.map +1 -0
- package/dist/jinja-tioldiz6.js +12 -0
- package/dist/jinja-tioldiz6.js.map +1 -0
- package/dist/jison-DWJFEE_I.js +9 -0
- package/dist/jison-DWJFEE_I.js.map +1 -0
- package/dist/json-_04EL6MS.js +7 -0
- package/dist/json-_04EL6MS.js.map +1 -0
- package/dist/json5-Dwmp5XFI.js +7 -0
- package/dist/json5-Dwmp5XFI.js.map +1 -0
- package/dist/jsonc-LqD5auy0.js +7 -0
- package/dist/jsonc-LqD5auy0.js.map +1 -0
- package/dist/jsonl-B4yVuYQH.js +7 -0
- package/dist/jsonl-B4yVuYQH.js.map +1 -0
- package/dist/jsx-Mg4WaD5k.js +7 -0
- package/dist/jsx-Mg4WaD5k.js.map +1 -0
- package/dist/julia-CWi-ZdpN.js +17 -0
- package/dist/julia-CWi-ZdpN.js.map +1 -0
- package/dist/less-BBvTHIGe.js +7 -0
- package/dist/less-BBvTHIGe.js.map +1 -0
- package/dist/markdown-DAXqtk9a.js +7 -0
- package/dist/markdown-DAXqtk9a.js.map +1 -0
- package/dist/marko-0aaNgUGV.js +15 -0
- package/dist/marko-0aaNgUGV.js.map +1 -0
- package/dist/mdc-hXJ2B4O0.js +13 -0
- package/dist/mdc-hXJ2B4O0.js.map +1 -0
- package/dist/mdx-CSCKbb_f.js +7 -0
- package/dist/mdx-CSCKbb_f.js.map +1 -0
- package/dist/php-B_-4RJ09.js +19 -0
- package/dist/php-B_-4RJ09.js.map +1 -0
- package/dist/postcss-SJfTvo_B.js +7 -0
- package/dist/postcss-SJfTvo_B.js.map +1 -0
- package/dist/pug-3q2tx0nf.js +13 -0
- package/dist/pug-3q2tx0nf.js.map +1 -0
- package/dist/python-Dpup1-fE.js +7 -0
- package/dist/python-Dpup1-fE.js.map +1 -0
- package/dist/r-Chyv38Fv.js +7 -0
- package/dist/r-Chyv38Fv.js.map +1 -0
- package/dist/regexp-BF0hfxNW.js +7 -0
- package/dist/regexp-BF0hfxNW.js.map +1 -0
- package/dist/sass-p2RMoqDT.js +7 -0
- package/dist/sass-p2RMoqDT.js.map +1 -0
- package/dist/scss-DmlHSoOY.js +9 -0
- package/dist/scss-DmlHSoOY.js.map +1 -0
- package/dist/shellscript-CZpPN8_x.js +7 -0
- package/dist/shellscript-CZpPN8_x.js.map +1 -0
- package/dist/sql-DtlkUz2m.js +7 -0
- package/dist/sql-DtlkUz2m.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/stylus-DEr8eSLm.js +7 -0
- package/dist/stylus-DEr8eSLm.js.map +1 -0
- package/dist/svelte-BRIJF62h.js +15 -0
- package/dist/svelte-BRIJF62h.js.map +1 -0
- package/dist/ts-tags-qkUtuI0N.js +42 -0
- package/dist/ts-tags-qkUtuI0N.js.map +1 -0
- package/dist/tsx-DTfbgJxi.js +7 -0
- package/dist/tsx-DTfbgJxi.js.map +1 -0
- package/dist/typescript-CCd4aQHh.js +7 -0
- package/dist/typescript-CCd4aQHh.js.map +1 -0
- package/dist/vue-B3TdbERm.js +32 -0
- package/dist/vue-B3TdbERm.js.map +1 -0
- package/dist/vue-html-BGmTBZk0.js +11 -0
- package/dist/vue-html-BGmTBZk0.js.map +1 -0
- package/dist/wasm-VDIDph3E.js +7 -0
- package/dist/wasm-VDIDph3E.js.map +1 -0
- package/dist/webpack-stats.json +1 -1
- package/dist/wgsl-2np_U3Z8.js +7 -0
- package/dist/wgsl-2np_U3Z8.js.map +1 -0
- package/dist/xml-CNyphW9R.js +9 -0
- package/dist/xml-CNyphW9R.js.map +1 -0
- package/dist/yaml-DxFiVFcM.js +7 -0
- package/dist/yaml-DxFiVFcM.js.map +1 -0
- package/package.json +6 -4
- package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +30 -0
- package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +25 -0
- package/src/api/blockManipulation/commands/moveBlock/__snapshots__/moveBlock.test.ts.snap +40 -0
- package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap +10 -0
- package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +40 -0
- package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +30 -0
- package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +87 -0
- package/src/api/clipboard/clipboard.test.ts +1 -1
- package/src/api/clipboard/fromClipboard/acceptedMIMETypes.ts +1 -0
- package/src/api/clipboard/fromClipboard/handleVSCodePaste.ts +49 -0
- package/src/api/clipboard/fromClipboard/pasteExtension.ts +6 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/empty/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/empty/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/python/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/python/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/noName/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/noPreview/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/lists/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/lists/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/table/allColWidths/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/allColWidths/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/basic/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/basic/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedColWidths/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedColWidths/internal.html +1 -0
- package/src/api/exporters/html/internalHTMLSerializer.ts +2 -7
- package/src/api/exporters/html/util/serializeBlocksInternalHTML.ts +20 -15
- package/src/api/exporters/markdown/__snapshots__/codeBlock/defaultLanguage/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/codeBlock/empty/markdown.md +2 -0
- package/src/api/exporters/markdown/__snapshots__/codeBlock/python/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/table/allColWidths/markdown.md +5 -0
- package/src/api/exporters/markdown/__snapshots__/table/basic/markdown.md +5 -0
- package/src/api/exporters/markdown/__snapshots__/table/mixedColWidths/markdown.md +5 -0
- package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +711 -0
- package/src/api/nodeConversions/blockToNode.ts +13 -2
- package/src/api/nodeConversions/nodeToBlock.ts +11 -1
- package/src/api/parsers/html/__snapshots__/parse-notion-html.json +5 -0
- package/src/api/parsers/markdown/parseMarkdown.ts +1 -1
- package/src/api/testUtil/cases/defaultSchema.ts +95 -0
- package/src/api/testUtil/partialBlockTestUtil.ts +26 -1
- package/src/blocks/CodeBlockContent/CodeBlockContent.ts +369 -0
- package/src/blocks/CodeBlockContent/defaultSupportedLanguages.ts +96 -0
- package/src/blocks/FileBlockContent/fileBlockHelpers.ts +7 -0
- package/src/blocks/TableBlockContent/TableBlockContent.ts +83 -8
- package/src/blocks/TableBlockContent/TableExtension.ts +10 -1
- package/src/blocks/defaultBlocks.ts +4 -0
- package/src/editor/Block.css +49 -2
- package/src/editor/editor.css +33 -5
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +8 -0
- package/src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +30 -29
- package/src/extensions/Placeholder/PlaceholderPlugin.ts +5 -0
- package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +5 -0
- package/src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts +2 -1
- package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +18 -0
- package/src/extensions/TableHandles/TableHandlesPlugin.ts +224 -119
- package/src/i18n/locales/ar.ts +6 -0
- package/src/i18n/locales/de.ts +299 -294
- package/src/i18n/locales/en.ts +6 -0
- package/src/i18n/locales/es.ts +310 -274
- package/src/i18n/locales/fr.ts +6 -0
- package/src/i18n/locales/is.ts +6 -0
- package/src/i18n/locales/ja.ts +6 -0
- package/src/i18n/locales/ko.ts +6 -0
- package/src/i18n/locales/nl.ts +6 -0
- package/src/i18n/locales/pl.ts +6 -0
- package/src/i18n/locales/pt.ts +6 -0
- package/src/i18n/locales/ru.ts +6 -0
- package/src/i18n/locales/vi.ts +6 -0
- package/src/i18n/locales/zh.ts +6 -0
- package/src/index.ts +10 -5
- package/src/schema/blocks/types.ts +2 -0
- package/types/src/api/blockManipulation/setupTestEnv.d.ts +22 -8
- package/types/src/api/clipboard/fromClipboard/acceptedMIMETypes.d.ts +1 -1
- package/types/src/api/clipboard/fromClipboard/handleVSCodePaste.d.ts +3 -0
- package/types/src/api/exporters/html/util/serializeBlocksInternalHTML.d.ts +2 -3
- package/types/src/api/testUtil/cases/customBlocks.d.ts +22 -8
- package/types/src/api/testUtil/cases/customInlineContent.d.ts +22 -8
- package/types/src/api/testUtil/cases/customStyles.d.ts +22 -8
- package/types/src/blocks/CodeBlockContent/CodeBlockContent.d.ts +57 -0
- package/types/src/blocks/CodeBlockContent/defaultSupportedLanguages.d.ts +6 -0
- package/types/src/blocks/TableBlockContent/TableBlockContent.d.ts +0 -12
- package/types/src/blocks/TableBlockContent/TableExtension.d.ts +3 -0
- package/types/src/blocks/defaultBlocks.d.ts +45 -16
- package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +9 -5
- package/types/src/i18n/locales/de.d.ts +6 -0
- package/types/src/i18n/locales/en.d.ts +6 -0
- package/types/src/i18n/locales/es.d.ts +6 -0
- package/types/src/index.d.ts +7 -5
- package/types/src/schema/blocks/types.d.ts +2 -0
package/src/i18n/locales/nl.ts
CHANGED
|
@@ -44,6 +44,12 @@ export const nl: Dictionary = {
|
|
|
44
44
|
aliases: ["p", "paragraaf"],
|
|
45
45
|
group: "Basisblokken",
|
|
46
46
|
},
|
|
47
|
+
code_block: {
|
|
48
|
+
title: "Codeblok",
|
|
49
|
+
subtext: "Codeblok met syntax highlighting",
|
|
50
|
+
aliases: ["code", "pre"],
|
|
51
|
+
group: "Basisblokken",
|
|
52
|
+
},
|
|
47
53
|
table: {
|
|
48
54
|
title: "Tabel",
|
|
49
55
|
subtext: "Gebruikt voor tabellen",
|
package/src/i18n/locales/pl.ts
CHANGED
|
@@ -44,6 +44,12 @@ export const pl: Dictionary = {
|
|
|
44
44
|
aliases: ["p", "akapit"],
|
|
45
45
|
group: "Podstawowe bloki",
|
|
46
46
|
},
|
|
47
|
+
code_block: {
|
|
48
|
+
title: "Blok kodu",
|
|
49
|
+
subtext: "Blok kodu z podświetleniem składni",
|
|
50
|
+
aliases: ["kod", "pre"],
|
|
51
|
+
group: "Podstawowe bloki",
|
|
52
|
+
},
|
|
47
53
|
table: {
|
|
48
54
|
title: "Tabela",
|
|
49
55
|
subtext: "Używana do tworzenia tabel",
|
package/src/i18n/locales/pt.ts
CHANGED
|
@@ -51,6 +51,12 @@ export const pt: Dictionary = {
|
|
|
51
51
|
aliases: ["p", "paragrafo"],
|
|
52
52
|
group: "Blocos Básicos",
|
|
53
53
|
},
|
|
54
|
+
code_block: {
|
|
55
|
+
title: "Bloco de Código",
|
|
56
|
+
subtext: "Usado para exibir código com destaque de sintaxe",
|
|
57
|
+
aliases: ["codigo", "pre"],
|
|
58
|
+
group: "Blocos Básicos",
|
|
59
|
+
},
|
|
54
60
|
table: {
|
|
55
61
|
title: "Tabela",
|
|
56
62
|
subtext: "Usado para tabelas",
|
package/src/i18n/locales/ru.ts
CHANGED
|
@@ -69,6 +69,12 @@ export const ru: Dictionary = {
|
|
|
69
69
|
aliases: ["p", "paragraph", "параграф"],
|
|
70
70
|
group: "Базовые блоки",
|
|
71
71
|
},
|
|
72
|
+
code_block: {
|
|
73
|
+
title: "Блок кода",
|
|
74
|
+
subtext: "Блок кода с подсветкой синтаксиса",
|
|
75
|
+
aliases: ["code", "pre", "блок кода"],
|
|
76
|
+
group: "Базовые блоки",
|
|
77
|
+
},
|
|
72
78
|
table: {
|
|
73
79
|
title: "Таблица",
|
|
74
80
|
subtext: "Используется для таблиц",
|
package/src/i18n/locales/vi.ts
CHANGED
|
@@ -51,6 +51,12 @@ export const vi: Dictionary = {
|
|
|
51
51
|
aliases: ["p", "doanvan"],
|
|
52
52
|
group: "Khối cơ bản",
|
|
53
53
|
},
|
|
54
|
+
code_block: {
|
|
55
|
+
title: "Mã",
|
|
56
|
+
subtext: "Sử dụng để hiển thị mã với cú pháp",
|
|
57
|
+
aliases: ["code", "pre"],
|
|
58
|
+
group: "Khối cơ bản",
|
|
59
|
+
},
|
|
54
60
|
table: {
|
|
55
61
|
title: "Bảng",
|
|
56
62
|
subtext: "Sử dụng để tạo bảng",
|
package/src/i18n/locales/zh.ts
CHANGED
|
@@ -69,6 +69,12 @@ export const zh: Dictionary = {
|
|
|
69
69
|
aliases: ["p", "paragraph", "text", "正文"],
|
|
70
70
|
group: "基础",
|
|
71
71
|
},
|
|
72
|
+
code_block: {
|
|
73
|
+
title: "代码块",
|
|
74
|
+
subtext: "用于显示带有语法高亮的代码块",
|
|
75
|
+
aliases: ["code", "pre", "代码", "预格式"],
|
|
76
|
+
group: "基础",
|
|
77
|
+
},
|
|
72
78
|
table: {
|
|
73
79
|
title: "表格",
|
|
74
80
|
subtext: "使用表格",
|
package/src/index.ts
CHANGED
|
@@ -4,16 +4,21 @@ export * from "./api/exporters/html/internalHTMLSerializer.js";
|
|
|
4
4
|
export * from "./api/getBlockInfoFromPos.js";
|
|
5
5
|
export * from "./api/testUtil/index.js";
|
|
6
6
|
export * from "./blocks/AudioBlockContent/AudioBlockContent.js";
|
|
7
|
+
export * from "./blocks/CodeBlockContent/CodeBlockContent.js";
|
|
8
|
+
export * from "./blocks/defaultBlockHelpers.js";
|
|
9
|
+
export * from "./blocks/defaultBlocks.js";
|
|
10
|
+
export * from "./blocks/defaultBlockTypeGuards.js";
|
|
11
|
+
export * from "./blocks/defaultProps.js";
|
|
7
12
|
export * from "./blocks/FileBlockContent/FileBlockContent.js";
|
|
8
13
|
export * from "./blocks/FileBlockContent/fileBlockHelpers.js";
|
|
9
14
|
export * from "./blocks/FileBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY.js";
|
|
10
15
|
export * from "./blocks/ImageBlockContent/ImageBlockContent.js";
|
|
11
16
|
export { parseImageElement } from "./blocks/ImageBlockContent/imageBlockHelpers.js";
|
|
17
|
+
export {
|
|
18
|
+
EMPTY_CELL_HEIGHT,
|
|
19
|
+
EMPTY_CELL_WIDTH,
|
|
20
|
+
} from "./blocks/TableBlockContent/TableExtension.js";
|
|
12
21
|
export * from "./blocks/VideoBlockContent/VideoBlockContent.js";
|
|
13
|
-
export * from "./blocks/defaultBlockHelpers.js";
|
|
14
|
-
export * from "./blocks/defaultBlockTypeGuards.js";
|
|
15
|
-
export * from "./blocks/defaultBlocks.js";
|
|
16
|
-
export * from "./blocks/defaultProps.js";
|
|
17
22
|
export * from "./editor/BlockNoteEditor.js";
|
|
18
23
|
export * from "./editor/BlockNoteExtensions.js";
|
|
19
24
|
export * from "./editor/BlockNoteSchema.js";
|
|
@@ -25,9 +30,9 @@ export * from "./extensions/LinkToolbar/LinkToolbarPlugin.js";
|
|
|
25
30
|
export * from "./extensions/SideMenu/SideMenuPlugin.js";
|
|
26
31
|
export * from "./extensions/SuggestionMenu/DefaultGridSuggestionItem.js";
|
|
27
32
|
export * from "./extensions/SuggestionMenu/DefaultSuggestionItem.js";
|
|
28
|
-
export * from "./extensions/SuggestionMenu/SuggestionPlugin.js";
|
|
29
33
|
export * from "./extensions/SuggestionMenu/getDefaultEmojiPickerItems.js";
|
|
30
34
|
export * from "./extensions/SuggestionMenu/getDefaultSlashMenuItems.js";
|
|
35
|
+
export * from "./extensions/SuggestionMenu/SuggestionPlugin.js";
|
|
31
36
|
export * from "./extensions/TableHandles/TableHandlesPlugin.js";
|
|
32
37
|
export * from "./i18n/dictionary.js";
|
|
33
38
|
export * from "./schema/index.js";
|
|
@@ -149,6 +149,7 @@ export type TableContent<
|
|
|
149
149
|
S extends StyleSchema = StyleSchema
|
|
150
150
|
> = {
|
|
151
151
|
type: "tableContent";
|
|
152
|
+
columnWidths: (number | undefined)[];
|
|
152
153
|
rows: {
|
|
153
154
|
cells: InlineContent<I, S>[][];
|
|
154
155
|
}[];
|
|
@@ -224,6 +225,7 @@ export type PartialTableContent<
|
|
|
224
225
|
S extends StyleSchema = StyleSchema
|
|
225
226
|
> = {
|
|
226
227
|
type: "tableContent";
|
|
228
|
+
columnWidths?: (number | undefined)[];
|
|
227
229
|
rows: {
|
|
228
230
|
cells: PartialInlineContent<I, S>[];
|
|
229
231
|
}[];
|
|
@@ -76,6 +76,28 @@ export declare function setupTestEnv(): () => BlockNoteEditor<import("../../inde
|
|
|
76
76
|
};
|
|
77
77
|
}, any, import("../../index.js").InlineContentSchema, import("../../index.js").StyleSchema>;
|
|
78
78
|
};
|
|
79
|
+
codeBlock: {
|
|
80
|
+
config: {
|
|
81
|
+
type: "codeBlock";
|
|
82
|
+
content: "inline";
|
|
83
|
+
propSchema: {
|
|
84
|
+
language: {
|
|
85
|
+
default: string;
|
|
86
|
+
values: string[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
implementation: import("../../index.js").TiptapBlockImplementation<{
|
|
91
|
+
type: "codeBlock";
|
|
92
|
+
content: "inline";
|
|
93
|
+
propSchema: {
|
|
94
|
+
language: {
|
|
95
|
+
default: string;
|
|
96
|
+
values: string[];
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}, any, import("../../index.js").InlineContentSchema, import("../../index.js").StyleSchema>;
|
|
100
|
+
};
|
|
79
101
|
bulletListItem: {
|
|
80
102
|
config: {
|
|
81
103
|
type: "bulletListItem";
|
|
@@ -195,10 +217,6 @@ export declare function setupTestEnv(): () => BlockNoteEditor<import("../../inde
|
|
|
195
217
|
textColor: {
|
|
196
218
|
default: "default";
|
|
197
219
|
};
|
|
198
|
-
textAlignment: {
|
|
199
|
-
default: "left";
|
|
200
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
201
|
-
};
|
|
202
220
|
};
|
|
203
221
|
};
|
|
204
222
|
implementation: import("../../index.js").TiptapBlockImplementation<{
|
|
@@ -211,10 +229,6 @@ export declare function setupTestEnv(): () => BlockNoteEditor<import("../../inde
|
|
|
211
229
|
textColor: {
|
|
212
230
|
default: "default";
|
|
213
231
|
};
|
|
214
|
-
textAlignment: {
|
|
215
|
-
default: "left";
|
|
216
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
217
|
-
};
|
|
218
232
|
};
|
|
219
233
|
}, any, import("../../index.js").InlineContentSchema, import("../../index.js").StyleSchema>;
|
|
220
234
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const acceptedMIMETypes: readonly ["blocknote/html", "Files", "text/html", "text/plain"];
|
|
1
|
+
export declare const acceptedMIMETypes: readonly ["vscode-editor-data", "blocknote/html", "Files", "text/html", "text/plain"];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { BlockNoteEditor } from "../../../editor/BlockNoteEditor.js";
|
|
2
|
+
import { BlockSchema, InlineContentSchema, StyleSchema } from "../../../schema/index.js";
|
|
3
|
+
export declare function handleVSCodePaste<BSchema extends BlockSchema, I extends InlineContentSchema, S extends StyleSchema>(event: ClipboardEvent, editor: BlockNoteEditor<BSchema, I, S>): Promise<boolean>;
|
|
@@ -2,10 +2,9 @@ import { DOMSerializer } from "prosemirror-model";
|
|
|
2
2
|
import { PartialBlock } from "../../../../blocks/defaultBlocks.js";
|
|
3
3
|
import type { BlockNoteEditor } from "../../../../editor/BlockNoteEditor.js";
|
|
4
4
|
import { BlockSchema, InlineContentSchema, StyleSchema } from "../../../../schema/index.js";
|
|
5
|
-
export declare function serializeInlineContentInternalHTML<BSchema extends BlockSchema, I extends InlineContentSchema, S extends StyleSchema>(editor: BlockNoteEditor<any, I, S>, blockContent: PartialBlock<BSchema, I, S>["content"], serializer: DOMSerializer,
|
|
6
|
-
options?: {
|
|
5
|
+
export declare function serializeInlineContentInternalHTML<BSchema extends BlockSchema, I extends InlineContentSchema, S extends StyleSchema>(editor: BlockNoteEditor<any, I, S>, blockContent: PartialBlock<BSchema, I, S>["content"], serializer: DOMSerializer, options?: {
|
|
7
6
|
document?: Document;
|
|
8
7
|
}): HTMLElement | DocumentFragment;
|
|
9
|
-
export declare const serializeBlocksInternalHTML: <BSchema extends Record<string, import("../../../../schema/index.js").BlockConfig>, I extends InlineContentSchema, S extends StyleSchema>(editor: BlockNoteEditor<BSchema, I, S>, blocks: PartialBlock<BSchema, I, S>[], serializer: DOMSerializer,
|
|
8
|
+
export declare const serializeBlocksInternalHTML: <BSchema extends Record<string, import("../../../../schema/index.js").BlockConfig>, I extends InlineContentSchema, S extends StyleSchema>(editor: BlockNoteEditor<BSchema, I, S>, blocks: PartialBlock<BSchema, I, S>[], serializer: DOMSerializer, options?: {
|
|
10
9
|
document?: Document;
|
|
11
10
|
}) => HTMLElement;
|
|
@@ -204,6 +204,28 @@ declare const schema: BlockNoteSchema<import("../../../schema/index.js").BlockSc
|
|
|
204
204
|
};
|
|
205
205
|
}, any, import("../../../schema/index.js").InlineContentSchema, import("../../../schema/index.js").StyleSchema>;
|
|
206
206
|
};
|
|
207
|
+
codeBlock: {
|
|
208
|
+
config: {
|
|
209
|
+
type: "codeBlock";
|
|
210
|
+
content: "inline";
|
|
211
|
+
propSchema: {
|
|
212
|
+
language: {
|
|
213
|
+
default: string;
|
|
214
|
+
values: string[];
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
implementation: import("../../../schema/index.js").TiptapBlockImplementation<{
|
|
219
|
+
type: "codeBlock";
|
|
220
|
+
content: "inline";
|
|
221
|
+
propSchema: {
|
|
222
|
+
language: {
|
|
223
|
+
default: string;
|
|
224
|
+
values: string[];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
}, any, import("../../../schema/index.js").InlineContentSchema, import("../../../schema/index.js").StyleSchema>;
|
|
228
|
+
};
|
|
207
229
|
bulletListItem: {
|
|
208
230
|
config: {
|
|
209
231
|
type: "bulletListItem";
|
|
@@ -323,10 +345,6 @@ declare const schema: BlockNoteSchema<import("../../../schema/index.js").BlockSc
|
|
|
323
345
|
textColor: {
|
|
324
346
|
default: "default";
|
|
325
347
|
};
|
|
326
|
-
textAlignment: {
|
|
327
|
-
default: "left";
|
|
328
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
329
|
-
};
|
|
330
348
|
};
|
|
331
349
|
};
|
|
332
350
|
implementation: import("../../../schema/index.js").TiptapBlockImplementation<{
|
|
@@ -339,10 +357,6 @@ declare const schema: BlockNoteSchema<import("../../../schema/index.js").BlockSc
|
|
|
339
357
|
textColor: {
|
|
340
358
|
default: "default";
|
|
341
359
|
};
|
|
342
|
-
textAlignment: {
|
|
343
|
-
default: "left";
|
|
344
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
345
|
-
};
|
|
346
360
|
};
|
|
347
361
|
}, any, import("../../../schema/index.js").InlineContentSchema, import("../../../schema/index.js").StyleSchema>;
|
|
348
362
|
};
|
|
@@ -78,6 +78,28 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
78
78
|
};
|
|
79
79
|
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
80
80
|
};
|
|
81
|
+
codeBlock: {
|
|
82
|
+
config: {
|
|
83
|
+
type: "codeBlock";
|
|
84
|
+
content: "inline";
|
|
85
|
+
propSchema: {
|
|
86
|
+
language: {
|
|
87
|
+
default: string;
|
|
88
|
+
values: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
implementation: import("../../../index.js").TiptapBlockImplementation<{
|
|
93
|
+
type: "codeBlock";
|
|
94
|
+
content: "inline";
|
|
95
|
+
propSchema: {
|
|
96
|
+
language: {
|
|
97
|
+
default: string;
|
|
98
|
+
values: string[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
102
|
+
};
|
|
81
103
|
bulletListItem: {
|
|
82
104
|
config: {
|
|
83
105
|
type: "bulletListItem";
|
|
@@ -197,10 +219,6 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
197
219
|
textColor: {
|
|
198
220
|
default: "default";
|
|
199
221
|
};
|
|
200
|
-
textAlignment: {
|
|
201
|
-
default: "left";
|
|
202
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
203
|
-
};
|
|
204
222
|
};
|
|
205
223
|
};
|
|
206
224
|
implementation: import("../../../index.js").TiptapBlockImplementation<{
|
|
@@ -213,10 +231,6 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
213
231
|
textColor: {
|
|
214
232
|
default: "default";
|
|
215
233
|
};
|
|
216
|
-
textAlignment: {
|
|
217
|
-
default: "left";
|
|
218
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
219
|
-
};
|
|
220
234
|
};
|
|
221
235
|
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
222
236
|
};
|
|
@@ -78,6 +78,28 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
78
78
|
};
|
|
79
79
|
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
80
80
|
};
|
|
81
|
+
codeBlock: {
|
|
82
|
+
config: {
|
|
83
|
+
type: "codeBlock";
|
|
84
|
+
content: "inline";
|
|
85
|
+
propSchema: {
|
|
86
|
+
language: {
|
|
87
|
+
default: string;
|
|
88
|
+
values: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
implementation: import("../../../index.js").TiptapBlockImplementation<{
|
|
93
|
+
type: "codeBlock";
|
|
94
|
+
content: "inline";
|
|
95
|
+
propSchema: {
|
|
96
|
+
language: {
|
|
97
|
+
default: string;
|
|
98
|
+
values: string[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
102
|
+
};
|
|
81
103
|
bulletListItem: {
|
|
82
104
|
config: {
|
|
83
105
|
type: "bulletListItem";
|
|
@@ -197,10 +219,6 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
197
219
|
textColor: {
|
|
198
220
|
default: "default";
|
|
199
221
|
};
|
|
200
|
-
textAlignment: {
|
|
201
|
-
default: "left";
|
|
202
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
203
|
-
};
|
|
204
222
|
};
|
|
205
223
|
};
|
|
206
224
|
implementation: import("../../../index.js").TiptapBlockImplementation<{
|
|
@@ -213,10 +231,6 @@ declare const schema: BlockNoteSchema<import("../../../index.js").BlockSchemaFro
|
|
|
213
231
|
textColor: {
|
|
214
232
|
default: "default";
|
|
215
233
|
};
|
|
216
|
-
textAlignment: {
|
|
217
|
-
default: "left";
|
|
218
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
219
|
-
};
|
|
220
234
|
};
|
|
221
235
|
}, any, import("../../../index.js").InlineContentSchema, import("../../../index.js").StyleSchema>;
|
|
222
236
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { SupportedLanguageConfig } from "./defaultSupportedLanguages.js";
|
|
2
|
+
interface CodeBlockOptions {
|
|
3
|
+
defaultLanguage: string;
|
|
4
|
+
indentLineWithTab: boolean;
|
|
5
|
+
supportedLanguages: SupportedLanguageConfig[];
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultCodeBlockPropSchema: {
|
|
8
|
+
language: {
|
|
9
|
+
default: string;
|
|
10
|
+
values: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const CodeBlock: {
|
|
14
|
+
config: {
|
|
15
|
+
type: "codeBlock";
|
|
16
|
+
content: "inline";
|
|
17
|
+
propSchema: {
|
|
18
|
+
language: {
|
|
19
|
+
default: string;
|
|
20
|
+
values: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
implementation: import("../../schema/index.js").TiptapBlockImplementation<{
|
|
25
|
+
type: "codeBlock";
|
|
26
|
+
content: "inline";
|
|
27
|
+
propSchema: {
|
|
28
|
+
language: {
|
|
29
|
+
default: string;
|
|
30
|
+
values: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}, any, import("../../schema/index.js").InlineContentSchema, import("../../schema/index.js").StyleSchema>;
|
|
34
|
+
};
|
|
35
|
+
export declare function customizeCodeBlock(options: Partial<CodeBlockOptions>): {
|
|
36
|
+
config: {
|
|
37
|
+
type: string;
|
|
38
|
+
content: "none";
|
|
39
|
+
propSchema: {
|
|
40
|
+
language: {
|
|
41
|
+
default: string;
|
|
42
|
+
values: string[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
implementation: import("../../schema/index.js").TiptapBlockImplementation<{
|
|
47
|
+
type: string;
|
|
48
|
+
content: "none";
|
|
49
|
+
propSchema: {
|
|
50
|
+
language: {
|
|
51
|
+
default: string;
|
|
52
|
+
values: string[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, any, import("../../schema/index.js").InlineContentSchema, import("../../schema/index.js").StyleSchema>;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -6,10 +6,6 @@ export declare const tablePropSchema: {
|
|
|
6
6
|
textColor: {
|
|
7
7
|
default: "default";
|
|
8
8
|
};
|
|
9
|
-
textAlignment: {
|
|
10
|
-
default: "left";
|
|
11
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
12
|
-
};
|
|
13
9
|
};
|
|
14
10
|
export declare const TableBlockContent: Node<any, any> & {
|
|
15
11
|
name: "table";
|
|
@@ -28,10 +24,6 @@ export declare const Table: {
|
|
|
28
24
|
textColor: {
|
|
29
25
|
default: "default";
|
|
30
26
|
};
|
|
31
|
-
textAlignment: {
|
|
32
|
-
default: "left";
|
|
33
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
34
|
-
};
|
|
35
27
|
};
|
|
36
28
|
};
|
|
37
29
|
implementation: import("../../schema/index.js").TiptapBlockImplementation<{
|
|
@@ -44,10 +36,6 @@ export declare const Table: {
|
|
|
44
36
|
textColor: {
|
|
45
37
|
default: "default";
|
|
46
38
|
};
|
|
47
|
-
textAlignment: {
|
|
48
|
-
default: "left";
|
|
49
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
50
|
-
};
|
|
51
39
|
};
|
|
52
40
|
}, any, import("../../schema/index.js").InlineContentSchema, import("../../schema/index.js").StyleSchema>;
|
|
53
41
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BlockNoDefaults, BlockSchema, InlineContentSchema, PartialBlockNoDefaults, StyleSchema } from "../schema/index.js";
|
|
2
|
+
export { customizeCodeBlock } from "./CodeBlockContent/CodeBlockContent.js";
|
|
2
3
|
export declare const defaultBlockSpecs: {
|
|
3
4
|
paragraph: {
|
|
4
5
|
config: {
|
|
@@ -76,6 +77,28 @@ export declare const defaultBlockSpecs: {
|
|
|
76
77
|
};
|
|
77
78
|
}, any, InlineContentSchema, StyleSchema>;
|
|
78
79
|
};
|
|
80
|
+
codeBlock: {
|
|
81
|
+
config: {
|
|
82
|
+
type: "codeBlock";
|
|
83
|
+
content: "inline";
|
|
84
|
+
propSchema: {
|
|
85
|
+
language: {
|
|
86
|
+
default: string;
|
|
87
|
+
values: string[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
implementation: import("../schema/index.js").TiptapBlockImplementation<{
|
|
92
|
+
type: "codeBlock";
|
|
93
|
+
content: "inline";
|
|
94
|
+
propSchema: {
|
|
95
|
+
language: {
|
|
96
|
+
default: string;
|
|
97
|
+
values: string[];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}, any, InlineContentSchema, StyleSchema>;
|
|
101
|
+
};
|
|
79
102
|
bulletListItem: {
|
|
80
103
|
config: {
|
|
81
104
|
type: "bulletListItem";
|
|
@@ -195,10 +218,6 @@ export declare const defaultBlockSpecs: {
|
|
|
195
218
|
textColor: {
|
|
196
219
|
default: "default";
|
|
197
220
|
};
|
|
198
|
-
textAlignment: {
|
|
199
|
-
default: "left";
|
|
200
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
201
|
-
};
|
|
202
221
|
};
|
|
203
222
|
};
|
|
204
223
|
implementation: import("../schema/index.js").TiptapBlockImplementation<{
|
|
@@ -211,10 +230,6 @@ export declare const defaultBlockSpecs: {
|
|
|
211
230
|
textColor: {
|
|
212
231
|
default: "default";
|
|
213
232
|
};
|
|
214
|
-
textAlignment: {
|
|
215
|
-
default: "left";
|
|
216
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
217
|
-
};
|
|
218
233
|
};
|
|
219
234
|
}, any, InlineContentSchema, StyleSchema>;
|
|
220
235
|
};
|
|
@@ -508,6 +523,28 @@ export declare const defaultBlockSchema: import("../schema/index.js").BlockSchem
|
|
|
508
523
|
};
|
|
509
524
|
}, any, InlineContentSchema, StyleSchema>;
|
|
510
525
|
};
|
|
526
|
+
codeBlock: {
|
|
527
|
+
config: {
|
|
528
|
+
type: "codeBlock";
|
|
529
|
+
content: "inline";
|
|
530
|
+
propSchema: {
|
|
531
|
+
language: {
|
|
532
|
+
default: string;
|
|
533
|
+
values: string[];
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
implementation: import("../schema/index.js").TiptapBlockImplementation<{
|
|
538
|
+
type: "codeBlock";
|
|
539
|
+
content: "inline";
|
|
540
|
+
propSchema: {
|
|
541
|
+
language: {
|
|
542
|
+
default: string;
|
|
543
|
+
values: string[];
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
}, any, InlineContentSchema, StyleSchema>;
|
|
547
|
+
};
|
|
511
548
|
bulletListItem: {
|
|
512
549
|
config: {
|
|
513
550
|
type: "bulletListItem";
|
|
@@ -627,10 +664,6 @@ export declare const defaultBlockSchema: import("../schema/index.js").BlockSchem
|
|
|
627
664
|
textColor: {
|
|
628
665
|
default: "default";
|
|
629
666
|
};
|
|
630
|
-
textAlignment: {
|
|
631
|
-
default: "left";
|
|
632
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
633
|
-
};
|
|
634
667
|
};
|
|
635
668
|
};
|
|
636
669
|
implementation: import("../schema/index.js").TiptapBlockImplementation<{
|
|
@@ -643,10 +676,6 @@ export declare const defaultBlockSchema: import("../schema/index.js").BlockSchem
|
|
|
643
676
|
textColor: {
|
|
644
677
|
default: "default";
|
|
645
678
|
};
|
|
646
|
-
textAlignment: {
|
|
647
|
-
default: "left";
|
|
648
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
649
|
-
};
|
|
650
679
|
};
|
|
651
680
|
}, any, InlineContentSchema, StyleSchema>;
|
|
652
681
|
};
|
|
@@ -6,16 +6,19 @@ import { BlockFromConfigNoChildren, BlockSchemaWithBlock, InlineContentSchema, S
|
|
|
6
6
|
import { EventEmitter } from "../../util/EventEmitter.js";
|
|
7
7
|
export type TableHandlesState<I extends InlineContentSchema, S extends StyleSchema> = {
|
|
8
8
|
show: boolean;
|
|
9
|
-
|
|
9
|
+
showAddOrRemoveRowsButton: boolean;
|
|
10
|
+
showAddOrRemoveColumnsButton: boolean;
|
|
11
|
+
referencePosCell: DOMRect | undefined;
|
|
10
12
|
referencePosTable: DOMRect;
|
|
11
13
|
block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], I, S>;
|
|
12
|
-
colIndex: number;
|
|
13
|
-
rowIndex: number;
|
|
14
|
+
colIndex: number | undefined;
|
|
15
|
+
rowIndex: number | undefined;
|
|
14
16
|
draggingState: {
|
|
15
17
|
draggedCellOrientation: "row" | "col";
|
|
16
18
|
originalIndex: number;
|
|
17
19
|
mousePos: number;
|
|
18
20
|
} | undefined;
|
|
21
|
+
widgetContainer: HTMLElement | undefined;
|
|
19
22
|
};
|
|
20
23
|
export declare class TableHandlesView<I extends InlineContentSchema, S extends StyleSchema> implements PluginView {
|
|
21
24
|
private readonly editor;
|
|
@@ -24,16 +27,17 @@ export declare class TableHandlesView<I extends InlineContentSchema, S extends S
|
|
|
24
27
|
emitUpdate: () => void;
|
|
25
28
|
tableId: string | undefined;
|
|
26
29
|
tablePos: number | undefined;
|
|
30
|
+
tableElement: HTMLElement | undefined;
|
|
27
31
|
menuFrozen: boolean;
|
|
28
32
|
mouseState: "up" | "down" | "selecting";
|
|
29
33
|
prevWasEditable: boolean | null;
|
|
30
34
|
constructor(editor: BlockNoteEditor<BlockSchemaWithBlock<"table", DefaultBlockSchema["table"]>, I, S>, pmView: EditorView, emitUpdate: (state: TableHandlesState<I, S>) => void);
|
|
31
35
|
viewMousedownHandler: () => void;
|
|
32
|
-
|
|
36
|
+
mouseUpHandler: (event: MouseEvent) => void;
|
|
33
37
|
mouseMoveHandler: (event: MouseEvent) => false | undefined;
|
|
34
38
|
dragOverHandler: (event: DragEvent) => void;
|
|
35
39
|
dropHandler: (event: DragEvent) => void;
|
|
36
|
-
|
|
40
|
+
update(): void;
|
|
37
41
|
destroy(): void;
|
|
38
42
|
}
|
|
39
43
|
export declare const tableHandlesPluginKey: PluginKey<any>;
|