tiptap-markdown-react 1.4.0 → 1.6.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/README.md +1 -1
- package/dist/{ReportContent-B0HdrWAi.js → ReportContent-DUvhic0o.js} +13 -13
- package/dist/{ReportContent-B0HdrWAi.js.map → ReportContent-DUvhic0o.js.map} +1 -1
- package/dist/{ReportContentWithCharts-3cn7_5Tz.js → ReportContentWithCharts-BaBitkZX.js} +47 -26
- package/dist/ReportContentWithCharts-BaBitkZX.js.map +1 -0
- package/dist/components/EditorToolbar.d.ts +17 -1
- package/dist/{extractToc-Bz924Nh4.js → extractToc-B-hg0XuH.js} +4 -2
- package/dist/extractToc-B-hg0XuH.js.map +1 -0
- package/dist/formatBrush.d.ts +34 -0
- package/dist/formatBrush.test.d.ts +1 -0
- package/dist/fullscreen.d.ts +20 -0
- package/dist/icons/index.d.ts +6 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +547 -70
- package/dist/index.js.map +1 -1
- package/dist/labels.d.ts +8 -0
- package/dist/reader.js +2 -2
- package/dist/server.js +4 -4
- package/dist/style-inline.css +523 -459
- package/dist/style.css +523 -459
- package/package.json +1 -1
- package/dist/ReportContentWithCharts-3cn7_5Tz.js.map +0 -1
- package/dist/extractToc-Bz924Nh4.js.map +0 -1
package/dist/labels.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export interface ToolbarLabels {
|
|
|
23
23
|
scriptNormal: string;
|
|
24
24
|
superscript: string;
|
|
25
25
|
subscript: string;
|
|
26
|
+
/** 格式刷。双击锁定,Esc 取消。 */
|
|
27
|
+
formatPainter: string;
|
|
28
|
+
/** 卸掉选区里的排版,保留链接、评论、列表和代码块。 */
|
|
29
|
+
clearFormatting: string;
|
|
26
30
|
link: string;
|
|
27
31
|
/** 段落对齐下拉:触发器 title / aria-label。 */
|
|
28
32
|
align: string;
|
|
@@ -118,6 +122,10 @@ export interface ToolbarLabels {
|
|
|
118
122
|
* (`<MarkdownWysiwygEditor>`),点击后由宿主调 `handle.openFind()`。
|
|
119
123
|
*/
|
|
120
124
|
search: string;
|
|
125
|
+
/** 更多菜单里的全屏项。把包住工具栏和正文的容器铺满视口。 */
|
|
126
|
+
fullscreen: string;
|
|
127
|
+
/** 已处于全屏时,同一按钮的 title / aria-label。 */
|
|
128
|
+
exitFullscreen: string;
|
|
121
129
|
codeBlock: string;
|
|
122
130
|
hr: string;
|
|
123
131
|
/** 导入下拉里的 Markdown 项。 */
|
package/dist/reader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C, a, R, b, c, f, m, r, s } from "./ReportContentWithCharts-
|
|
3
|
-
import { a as a2, e, b as b2 } from "./ReportContent-
|
|
2
|
+
import { C, a, R, b, c, f, m, r, s } from "./ReportContentWithCharts-BaBitkZX.js";
|
|
3
|
+
import { a as a2, e, b as b2 } from "./ReportContent-DUvhic0o.js";
|
|
4
4
|
export {
|
|
5
5
|
C as ChartMount,
|
|
6
6
|
a as CitationInteractive,
|
package/dist/server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as stabilizeMarkdown, p as prepareChartMarkdown, b as baseExtensions, a as pureCodeBlock, c as pureImage, d as pureChart, C as CitationRef, m as makeTocGetId, r as renderMathElementHtml, e as extractToc } from "./extractToc-
|
|
2
|
-
import { f, g, l, h, i, j } from "./extractToc-
|
|
3
|
-
import { a as applyCitationSources } from "./ReportContent-
|
|
4
|
-
import { R, e, s } from "./ReportContent-
|
|
1
|
+
import { s as stabilizeMarkdown, p as prepareChartMarkdown, b as baseExtensions, a as pureCodeBlock, c as pureImage, d as pureChart, C as CitationRef, m as makeTocGetId, r as renderMathElementHtml, e as extractToc } from "./extractToc-B-hg0XuH.js";
|
|
2
|
+
import { f, g, l, h, i, j } from "./extractToc-B-hg0XuH.js";
|
|
3
|
+
import { a as applyCitationSources } from "./ReportContent-DUvhic0o.js";
|
|
4
|
+
import { R, e, s } from "./ReportContent-DUvhic0o.js";
|
|
5
5
|
import { TableOfContents, generateTocIds } from "@tiptap/extension-table-of-contents";
|
|
6
6
|
import { flattenExtensions } from "@tiptap/core";
|
|
7
7
|
import { MarkdownManager } from "@tiptap/markdown";
|