tiptap-markdown-react 0.8.8 → 0.8.9
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/components/EditorToolbar.d.ts +1 -1
- package/dist/{extractToc-Dft8DJ1g.js → extractToc-DiY1iu1J.js} +3 -3
- package/dist/{extractToc-Dft8DJ1g.js.map → extractToc-DiY1iu1J.js.map} +1 -1
- package/dist/importPlaceholder.d.ts +12 -0
- package/dist/importPlaceholder.test.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +142 -75
- package/dist/index.js.map +1 -1
- package/dist/labels.d.ts +3 -5
- package/dist/server.js +2 -2
- package/dist/style.css +120 -113
- package/package.json +1 -1
package/dist/labels.d.ts
CHANGED
|
@@ -32,14 +32,12 @@ export interface ToolbarLabels {
|
|
|
32
32
|
importMarkdownFailed: string;
|
|
33
33
|
/** 主栏导入按钮。默认只吃 .md,宿主传 onImportDocument 后可扩展格式。 */
|
|
34
34
|
importDocument: string;
|
|
35
|
-
/** 导入进行中的按钮 title
|
|
35
|
+
/** 导入进行中的按钮 title。 */
|
|
36
36
|
importDocumentBusy: string;
|
|
37
|
-
/**
|
|
37
|
+
/** 光标占位:上传阶段,传入 0–100。 */
|
|
38
38
|
importDocumentUploading: (percent: number) => string;
|
|
39
|
-
/**
|
|
39
|
+
/** 光标占位:转换阶段,不要百分比。 */
|
|
40
40
|
importDocumentConverting: string;
|
|
41
|
-
/** 导入进行中的取消按钮。 */
|
|
42
|
-
importDocumentCancel: string;
|
|
43
41
|
/** 非 Markdown 文件导入失败(onError 的 source === 'import')。 */
|
|
44
42
|
importDocumentFailed: string;
|
|
45
43
|
blockquote: string;
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as stabilizeMarkdown, h as applyCitationSources, b as baseExtensions, p as pureCodeBlock, f as pureImage, C as CitationRef, d as makeTocGetId, n as renderMathElementHtml, j as extractToc } from "./extractToc-
|
|
2
|
-
import { c, R, i, e, l, a, m } from "./extractToc-
|
|
1
|
+
import { k as stabilizeMarkdown, h as applyCitationSources, b as baseExtensions, p as pureCodeBlock, f as pureImage, C as CitationRef, d as makeTocGetId, n as renderMathElementHtml, j as extractToc } from "./extractToc-DiY1iu1J.js";
|
|
2
|
+
import { c, R, i, e, l, a, m } from "./extractToc-DiY1iu1J.js";
|
|
3
3
|
import { TableOfContents, generateTocIds } from "@tiptap/extension-table-of-contents";
|
|
4
4
|
import { MarkdownManager } from "@tiptap/markdown";
|
|
5
5
|
import { renderToHTMLString } from "@tiptap/static-renderer";
|