@pixerate/editor 0.19.0 → 0.21.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 +95 -4
- package/dist/agent/index.cjs +625 -2
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +286 -2
- package/dist/agent/index.d.ts +286 -2
- package/dist/agent/index.js +624 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/canvas/index.cjs +1240 -22
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +515 -3
- package/dist/canvas/index.d.ts +515 -3
- package/dist/canvas/index.js +1219 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-3TYMNULT.js +1367 -0
- package/dist/chunk-3TYMNULT.js.map +1 -0
- package/dist/chunk-4QPLEUL2.cjs +4480 -0
- package/dist/chunk-4QPLEUL2.cjs.map +1 -0
- package/dist/chunk-4SUNJZWB.cjs +553 -0
- package/dist/chunk-4SUNJZWB.cjs.map +1 -0
- package/dist/chunk-A7DKIA72.js +2657 -0
- package/dist/chunk-A7DKIA72.js.map +1 -0
- package/dist/chunk-AXV2ZW34.cjs +118 -0
- package/dist/chunk-AXV2ZW34.cjs.map +1 -0
- package/dist/chunk-B2ZRLN4S.js +118 -0
- package/dist/chunk-B2ZRLN4S.js.map +1 -0
- package/dist/chunk-CYFJCKC4.js +4480 -0
- package/dist/chunk-CYFJCKC4.js.map +1 -0
- package/dist/chunk-GVW4P7BG.js +2706 -0
- package/dist/chunk-GVW4P7BG.js.map +1 -0
- package/dist/chunk-JACER6TE.cjs +1 -0
- package/dist/chunk-JACER6TE.cjs.map +1 -0
- package/dist/chunk-JYRIOFEN.cjs +2657 -0
- package/dist/chunk-JYRIOFEN.cjs.map +1 -0
- package/dist/chunk-KYRZDWM4.js +299 -0
- package/dist/chunk-KYRZDWM4.js.map +1 -0
- package/dist/chunk-LA7PEGU3.cjs +299 -0
- package/dist/chunk-LA7PEGU3.cjs.map +1 -0
- package/dist/chunk-N7FG6CBO.js +1 -0
- package/dist/chunk-N7FG6CBO.js.map +1 -0
- package/dist/chunk-OYXSKQFR.js +553 -0
- package/dist/chunk-OYXSKQFR.js.map +1 -0
- package/dist/chunk-TVRC4KVT.cjs +1367 -0
- package/dist/chunk-TVRC4KVT.cjs.map +1 -0
- package/dist/chunk-U6NDQFOK.cjs +2706 -0
- package/dist/chunk-U6NDQFOK.cjs.map +1 -0
- package/dist/controller-OUdxPY-X.d.cts +754 -0
- package/dist/controller-OUdxPY-X.d.ts +754 -0
- package/dist/extensions/index.cjs +144 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +9 -144
- package/dist/extensions/index.d.ts +9 -144
- package/dist/extensions/index.js +145 -4
- package/dist/grammar/index.cjs +31 -3
- package/dist/grammar/index.cjs.map +1 -1
- package/dist/grammar/index.d.cts +239 -19
- package/dist/grammar/index.d.ts +239 -19
- package/dist/grammar/index.js +31 -3
- package/dist/history/index.d.cts +2 -41
- package/dist/history/index.d.ts +2 -41
- package/dist/index-Ng1pG7JE.d.ts +899 -0
- package/dist/index-k3mFbPx_.d.cts +899 -0
- package/dist/index.cjs +457 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +99 -12
- package/dist/index.d.ts +99 -12
- package/dist/index.js +457 -20
- package/dist/index.js.map +1 -1
- package/dist/registry-iAHbqkYt.d.cts +128 -0
- package/dist/registry-iAHbqkYt.d.ts +128 -0
- package/dist/serializers/index.cjs +26 -3
- package/dist/serializers/index.cjs.map +1 -1
- package/dist/serializers/index.d.cts +119 -6
- package/dist/serializers/index.d.ts +119 -6
- package/dist/serializers/index.js +24 -1
- package/dist/spreadsheet/index.cjs +122 -2
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +371 -313
- package/dist/spreadsheet/index.d.ts +371 -313
- package/dist/spreadsheet/index.js +127 -7
- package/dist/tokens-CyLZmIei.d.cts +76 -0
- package/dist/tokens-CyLZmIei.d.ts +76 -0
- package/dist/track-changes-G8JcWB8b.d.cts +306 -0
- package/dist/track-changes-G8JcWB8b.d.ts +306 -0
- package/dist/types-BZgcDsC5.d.cts +42 -0
- package/dist/types-BZgcDsC5.d.ts +42 -0
- package/dist/{types-JV3S8VeR.d.cts → types-DMe0vFB1.d.cts} +1 -1
- package/dist/{types-JV3S8VeR.d.ts → types-DMe0vFB1.d.ts} +1 -1
- package/package.json +11 -4
- package/dist/chunk-7FWEWE6T.js +0 -1888
- package/dist/chunk-7FWEWE6T.js.map +0 -1
- package/dist/chunk-AIZUKWTL.js +0 -1715
- package/dist/chunk-AIZUKWTL.js.map +0 -1
- package/dist/chunk-GLSIZKOX.js +0 -17
- package/dist/chunk-GLSIZKOX.js.map +0 -1
- package/dist/chunk-LDES3EOS.cjs +0 -1888
- package/dist/chunk-LDES3EOS.cjs.map +0 -1
- package/dist/chunk-LLUAKTLW.cjs +0 -532
- package/dist/chunk-LLUAKTLW.cjs.map +0 -1
- package/dist/chunk-MPPXH7U5.cjs +0 -336
- package/dist/chunk-MPPXH7U5.cjs.map +0 -1
- package/dist/chunk-O7LOPQMH.js +0 -336
- package/dist/chunk-O7LOPQMH.js.map +0 -1
- package/dist/chunk-QGVMBCT5.js +0 -532
- package/dist/chunk-QGVMBCT5.js.map +0 -1
- package/dist/chunk-SEDR75VH.cjs +0 -17
- package/dist/chunk-SEDR75VH.cjs.map +0 -1
- package/dist/chunk-YQCI4CCN.cjs +0 -1715
- package/dist/chunk-YQCI4CCN.cjs.map +0 -1
- package/dist/mention-Dcevh3ff.d.cts +0 -32
- package/dist/mention-Dcevh3ff.d.ts +0 -32
- package/dist/tokens-7kRTEtPb.d.cts +0 -39
- package/dist/tokens-7kRTEtPb.d.ts +0 -39
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var _chunkLDES3EOScjs = require('../chunk-LDES3EOS.cjs');
|
|
21
|
-
require('../chunk-SEDR75VH.cjs');
|
|
22
20
|
|
|
23
21
|
|
|
24
22
|
|
|
@@ -38,5 +36,148 @@ require('../chunk-SEDR75VH.cjs');
|
|
|
38
36
|
|
|
39
37
|
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
var _chunk4QPLEUL2cjs = require('../chunk-4QPLEUL2.cjs');
|
|
73
|
+
require('../chunk-AXV2ZW34.cjs');
|
|
74
|
+
require('../chunk-LA7PEGU3.cjs');
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
var _chunkTVRC4KVTcjs = require('../chunk-TVRC4KVT.cjs');
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
exports.Autocorrect = _chunk4QPLEUL2cjs.Autocorrect; exports.Bookmark = _chunk4QPLEUL2cjs.Bookmark; exports.COMMENT_MARK_NAME = _chunk4QPLEUL2cjs.COMMENT_MARK_NAME; exports.ColorHighlighter = _chunk4QPLEUL2cjs.ColorHighlighter; exports.CommentStore = _chunkTVRC4KVTcjs.CommentStore; exports.Comments = _chunk4QPLEUL2cjs.Comments; exports.CrossReference = _chunk4QPLEUL2cjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunk4QPLEUL2cjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DELETION_MARK_NAME = _chunkTVRC4KVTcjs.DELETION_MARK_NAME; exports.FileImport = _chunk4QPLEUL2cjs.FileImport; exports.FontSize = _chunk4QPLEUL2cjs.FontSize; exports.Footnote = _chunk4QPLEUL2cjs.Footnote; exports.FootnoteReference = _chunk4QPLEUL2cjs.FootnoteReference; exports.Footnotes = _chunk4QPLEUL2cjs.Footnotes; exports.GradientText = _chunk4QPLEUL2cjs.GradientText; exports.INSERTION_MARK_NAME = _chunkTVRC4KVTcjs.INSERTION_MARK_NAME; exports.Image = _chunk4QPLEUL2cjs.Image; exports.LoadingNode = _chunk4QPLEUL2cjs.LoadingNode; exports.Markdown = _chunk4QPLEUL2cjs.Markdown; exports.Mention = _chunk4QPLEUL2cjs.Mention; exports.Outline = _chunk4QPLEUL2cjs.Outline; exports.RichClipboard = _chunk4QPLEUL2cjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunk4QPLEUL2cjs.SMILIE_REPLACEMENTS; exports.SlashCommands = _chunk4QPLEUL2cjs.SlashCommands; exports.SmilieReplacer = _chunk4QPLEUL2cjs.SmilieReplacer; exports.TRACK_CHANGES_SKIP_META = _chunkTVRC4KVTcjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunk4QPLEUL2cjs.TableOfContents; exports.TemplateSuggestions = _chunk4QPLEUL2cjs.TemplateSuggestions; exports.TrackChanges = _chunkTVRC4KVTcjs.TrackChanges; exports.TrackChangesStore = _chunkTVRC4KVTcjs.TrackChangesStore; exports.TrackedDeletion = _chunkTVRC4KVTcjs.TrackedDeletion; exports.TrackedInsertion = _chunkTVRC4KVTcjs.TrackedInsertion; exports.autocorrectPluginKey = _chunk4QPLEUL2cjs.autocorrectPluginKey; exports.buildOutlineTree = _chunk4QPLEUL2cjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunk4QPLEUL2cjs.capitalizeSentenceRules; exports.commentsPluginKey = _chunk4QPLEUL2cjs.commentsPluginKey; exports.computeOutline = _chunk4QPLEUL2cjs.computeOutline; exports.createCommentStore = _chunkTVRC4KVTcjs.createCommentStore; exports.createMentionExtension = _chunk4QPLEUL2cjs.createMentionExtension; exports.createOutlineStore = _chunk4QPLEUL2cjs.createOutlineStore; exports.createReviewId = _chunkTVRC4KVTcjs.createReviewId; exports.createRichTextPreset = _chunk4QPLEUL2cjs.createRichTextPreset; exports.crossReferencePluginKey = _chunk4QPLEUL2cjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunk4QPLEUL2cjs.defaultAutocorrectRules; exports.documentStructureCommandItems = _chunk4QPLEUL2cjs.documentStructureCommandItems; exports.fileImportPluginKey = _chunk4QPLEUL2cjs.fileImportPluginKey; exports.findAutocorrection = _chunk4QPLEUL2cjs.findAutocorrection; exports.findCommentRanges = _chunk4QPLEUL2cjs.findCommentRanges; exports.findHexColors = _chunk4QPLEUL2cjs.findHexColors; exports.footnotesMarkdownIt = _chunk4QPLEUL2cjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunk4QPLEUL2cjs.footnotesPluginKey; exports.formatReviewTime = _chunkTVRC4KVTcjs.formatReviewTime; exports.fractionRules = _chunk4QPLEUL2cjs.fractionRules; exports.getActiveHeading = _chunk4QPLEUL2cjs.getActiveHeading; exports.getBookmarks = _chunk4QPLEUL2cjs.getBookmarks; exports.getCommentAnchors = _chunk4QPLEUL2cjs.getCommentAnchors; exports.getCommentAuthor = _chunk4QPLEUL2cjs.getCommentAuthor; exports.getCommentIdsAt = _chunk4QPLEUL2cjs.getCommentIdsAt; exports.getCommentStore = _chunk4QPLEUL2cjs.getCommentStore; exports.getCrossReferenceTargets = _chunk4QPLEUL2cjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunk4QPLEUL2cjs.getDocumentStructureCommandItems; exports.getFootnotes = _chunk4QPLEUL2cjs.getFootnotes; exports.getOutline = _chunk4QPLEUL2cjs.getOutline; exports.getTableOfContentsEntries = _chunk4QPLEUL2cjs.getTableOfContentsEntries; exports.getTrackChangesStore = _chunkTVRC4KVTcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkTVRC4KVTcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkTVRC4KVTcjs.getTrackedChanges; exports.handleImageInsertion = _chunk4QPLEUL2cjs.handleImageInsertion; exports.imagePastePluginKey = _chunk4QPLEUL2cjs.imagePastePluginKey; exports.insertImageNode = _chunk4QPLEUL2cjs.insertImageNode; exports.isInsidePromptToken = _chunk4QPLEUL2cjs.isInsidePromptToken; exports.isTrackChangesEnabled = _chunkTVRC4KVTcjs.isTrackChangesEnabled; exports.navigateToHeading = _chunk4QPLEUL2cjs.navigateToHeading; exports.outlinePluginKey = _chunk4QPLEUL2cjs.outlinePluginKey; exports.removeImageNode = _chunk4QPLEUL2cjs.removeImageNode; exports.resolveTrackedChanges = _chunkTVRC4KVTcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunk4QPLEUL2cjs.richClipboardPluginKey; exports.smartQuoteRules = _chunk4QPLEUL2cjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunk4QPLEUL2cjs.smilieAutocorrectRules; exports.symbolRules = _chunk4QPLEUL2cjs.symbolRules; exports.syncFootnotes = _chunk4QPLEUL2cjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunk4QPLEUL2cjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunk4QPLEUL2cjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkTVRC4KVTcjs.trackChangesPluginKey; exports.twoInitialCapitalsRules = _chunk4QPLEUL2cjs.twoInitialCapitalsRules; exports.updateImageSrc = _chunk4QPLEUL2cjs.updateImageSrc; exports.writeRichClipboard = _chunk4QPLEUL2cjs.writeRichClipboard;
|
|
42
183
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,08KAAC","file":"/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"}
|
|
@@ -1,147 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { DecorationSet } from '@tiptap/pm/view';
|
|
4
|
-
import { Node as Node$1 } from '@tiptap/pm/model';
|
|
5
|
-
import { b as MentionOptions } from '../mention-Dcevh3ff.cjs';
|
|
6
|
-
export { M as Mention, a as MentionEntity, c as createMentionExtension } from '../mention-Dcevh3ff.cjs';
|
|
7
|
-
import { MarkdownOptions } from 'tiptap-markdown';
|
|
1
|
+
export { A as AddCommentOptions, a as Autocorrect, b as AutocorrectContext, c as AutocorrectCorrection, d as AutocorrectOptions, e as AutocorrectRule, f as AutocorrectStorage, g as Bookmark, h as BookmarkInfo, i as BookmarkOptions, C as COMMENT_MARK_NAME, j as ColorHighlighter, k as CommentRange, l as Comments, m as CommentsOptions, n as CommentsStorage, p as CrossReference, q as CrossReferenceOptions, r as CrossReferenceTarget, s as CrossReferenceTargetType, t as DEFAULT_AUTOCORRECT_EXCEPTIONS, v as DocumentStructureCommandArgs, w as DocumentStructureCommandItem, F as FileImport, x as FileImportOptions, y as FocusHeadingOptions, z as FontSize, E as Footnote, G as FootnoteInfo, H as FootnoteReference, I as Footnotes, J as FootnotesOptions, K as GradientText, L as GradientTextOptions, M as Image, N as ImageOptions, O as InsertFootnoteOptions, P as InsertTableOfContentsOptions, Q as LoadingNode, R as Markdown, S as Outline, T as OutlineHeading, U as OutlineOptions, V as OutlineSnapshot, W as OutlineStorage, X as OutlineStore, Y as OutlineTreeItem, Z as RichClipboard, _ as RichClipboardOptions, $ as RichClipboardStorage, a0 as RichTextPresetOptions, a1 as SMILIE_REPLACEMENTS, a2 as SetBookmarkOptions, a3 as SlashCommandMatchData, a4 as SlashCommands, a5 as SlashCommandsOptions, a6 as SmilieReplacer, a7 as TableOfContents, a8 as TableOfContentsEntry, a9 as TableOfContentsOptions, aa as TemplateSuggestions, ab as TemplateSuggestionsOptions, ac as autocorrectPluginKey, ad as buildOutlineTree, ae as capitalizeSentenceRules, af as commentsPluginKey, ag as computeOutline, ai as createOutlineStore, aj as createRichTextPreset, ak as crossReferencePluginKey, al as defaultAutocorrectRules, an as documentStructureCommandItems, ao as fileImportPluginKey, ap as findAutocorrection, aq as findCommentRanges, ar as findHexColors, at as footnotesMarkdownIt, au as footnotesPluginKey, av as fractionRules, aw as getActiveHeading, ax as getBookmarks, ay as getCommentAnchors, az as getCommentAuthor, aA as getCommentIdsAt, aB as getCommentStore, aC as getCrossReferenceTargets, aD as getDocumentStructureCommandItems, aE as getFootnotes, aG as getOutline, aH as getTableOfContentsEntries, aI as handleImageInsertion, aK as imagePastePluginKey, aM as insertImageNode, aN as isInsidePromptToken, aP as navigateToHeading, aQ as outlinePluginKey, aT as removeImageNode, aU as richClipboardPluginKey, aW as smartQuoteRules, aX as smilieAutocorrectRules, aY as symbolRules, aZ as syncFootnotes, a_ as tableOfContentsMarkdownIt, a$ as tableOfContentsPluginKey, b0 as twoInitialCapitalsRules, b2 as updateImageSrc, b3 as writeRichClipboard } from '../index-k3mFbPx_.cjs';
|
|
2
|
+
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, D as DELETION_MARK_NAME, I as INSERTION_MARK_NAME, M as Mention, h as MentionEntity, i as MentionOptions, R as ReviewAuthor, S as SerializedComments, T as TRACK_CHANGES_SKIP_META, j as TrackChanges, k as TrackChangesOptions, l as TrackChangesSnapshot, m as TrackChangesStorage, n as TrackChangesStore, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedInsertion, u as createCommentStore, v as createMentionExtension, w as createReviewId, x as formatReviewTime, y as getTrackChangesStore, z as getTrackedChangeAt, A as getTrackedChanges, B as isTrackChangesEnabled, E as resolveTrackedChanges, F as trackChangesPluginKey } from '../track-changes-G8JcWB8b.cjs';
|
|
8
3
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
4
|
+
import '@tiptap/core';
|
|
5
|
+
import '../tokens-CyLZmIei.cjs';
|
|
6
|
+
import '@tiptap/pm/state';
|
|
7
|
+
import '@tiptap/pm/view';
|
|
8
|
+
import '@tiptap/pm/model';
|
|
9
|
+
import '@tiptap/extension-image';
|
|
10
|
+
import '../registry-iAHbqkYt.cjs';
|
|
11
11
|
import '@tiptap/extension-mention';
|
|
12
12
|
import '@tiptap/suggestion';
|
|
13
|
-
|
|
14
|
-
interface GradientTextOptions {
|
|
15
|
-
templateColorMap: Map<string, ColorGradient>;
|
|
16
|
-
speed?: number;
|
|
17
|
-
jsonVariables?: string[] | Set<string>;
|
|
18
|
-
onTemplateClick?: (templateName: string, event: MouseEvent) => void;
|
|
19
|
-
}
|
|
20
|
-
declare const GradientText: Mark<GradientTextOptions, any>;
|
|
21
|
-
|
|
22
|
-
interface SlashCommandMatchData {
|
|
23
|
-
match: RegExpMatchArray;
|
|
24
|
-
query: string;
|
|
25
|
-
from: number;
|
|
26
|
-
to: number;
|
|
27
|
-
coords: {
|
|
28
|
-
top: number;
|
|
29
|
-
left: number;
|
|
30
|
-
bottom: number;
|
|
31
|
-
right: number;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
interface SlashCommandsOptions {
|
|
35
|
-
trigger?: string;
|
|
36
|
-
onMatch?: (data: SlashCommandMatchData) => void;
|
|
37
|
-
onClear?: () => void;
|
|
38
|
-
containerId?: string;
|
|
39
|
-
}
|
|
40
|
-
declare const SlashCommands: Extension<SlashCommandsOptions, any>;
|
|
41
|
-
|
|
42
|
-
interface TemplateSuggestionsOptions {
|
|
43
|
-
templates: Template[];
|
|
44
|
-
char?: string;
|
|
45
|
-
onSuggestion?: (props: {
|
|
46
|
-
query: string;
|
|
47
|
-
range: {
|
|
48
|
-
from: number;
|
|
49
|
-
to: number;
|
|
50
|
-
};
|
|
51
|
-
clientRect?: (() => DOMRect | null) | null;
|
|
52
|
-
items: Template[];
|
|
53
|
-
command: (props: {
|
|
54
|
-
name: string;
|
|
55
|
-
}) => void;
|
|
56
|
-
}) => void;
|
|
57
|
-
}
|
|
58
|
-
declare const TemplateSuggestions: Extension<TemplateSuggestionsOptions, any>;
|
|
59
|
-
|
|
60
|
-
declare const LoadingNode: Node<any, any>;
|
|
61
|
-
|
|
62
|
-
declare const SmilieReplacer: Extension<any, any>;
|
|
63
|
-
|
|
64
|
-
declare function findHexColors(doc: Node$1): DecorationSet;
|
|
65
|
-
declare const ColorHighlighter: Extension<any, any>;
|
|
66
|
-
|
|
67
|
-
declare module "@tiptap/core" {
|
|
68
|
-
interface Commands<ReturnType> {
|
|
69
|
-
fontSize: {
|
|
70
|
-
setFontSize: (size: string) => ReturnType;
|
|
71
|
-
unsetFontSize: () => ReturnType;
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
declare const FontSize: Extension<any, any>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Built-in native Markdown extension for @pixerate/editor based on tiptap-markdown.
|
|
79
|
-
* Enables automatic markdown parsing, serialization, and clipboard handling.
|
|
80
|
-
*/
|
|
81
|
-
declare const Markdown: any;
|
|
82
|
-
|
|
83
|
-
interface ImageOptions extends Partial<ImageOptions$1> {
|
|
84
|
-
/**
|
|
85
|
-
* Custom upload handler called when an image is pasted or dropped.
|
|
86
|
-
* Resolves to the uploaded image URL string.
|
|
87
|
-
*/
|
|
88
|
-
upload?: (file: File) => Promise<string> | string;
|
|
89
|
-
/**
|
|
90
|
-
* Callback invoked if the upload handler throws or rejects, or if an image
|
|
91
|
-
* exceeds maxBase64Size when no upload handler is configured.
|
|
92
|
-
*/
|
|
93
|
-
onUploadError?: (error: Error, file: File) => void;
|
|
94
|
-
/**
|
|
95
|
-
* Maximum allowed file size (in bytes) when embedding images as base64 data URLs
|
|
96
|
-
* without an upload handler. Defaults to 65536 (64 KB).
|
|
97
|
-
* Files larger than this will be rejected to avoid memory bloat and prompt/stream saturation.
|
|
98
|
-
*/
|
|
99
|
-
maxBase64Size?: number;
|
|
100
|
-
/**
|
|
101
|
-
* Whether to enable automatic image pasting from clipboard. Defaults to true.
|
|
102
|
-
*/
|
|
103
|
-
enablePaste?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to enable automatic image drop. Defaults to true.
|
|
106
|
-
*/
|
|
107
|
-
enableDrop?: boolean;
|
|
108
|
-
}
|
|
109
|
-
declare const imagePastePluginKey: PluginKey<any>;
|
|
110
|
-
/**
|
|
111
|
-
* Inserts an image node into the editor view at the current selection.
|
|
112
|
-
*/
|
|
113
|
-
declare function insertImageNode(view: any, src: string, alt?: string): void;
|
|
114
|
-
/**
|
|
115
|
-
* Updates an existing image node's src attribute across document positions.
|
|
116
|
-
*/
|
|
117
|
-
declare function updateImageSrc(view: any, oldSrc: string, newSrc: string): void;
|
|
118
|
-
/**
|
|
119
|
-
* Removes an existing image node matching src attribute across document positions.
|
|
120
|
-
*/
|
|
121
|
-
declare function removeImageNode(view: any, src: string): void;
|
|
122
|
-
/**
|
|
123
|
-
* Handles inserting a pasted or dropped image file, supporting both async upload
|
|
124
|
-
* handlers and direct base64/object-URL fallbacks.
|
|
125
|
-
*/
|
|
126
|
-
declare function handleImageInsertion(view: any, file: File, options: ImageOptions): void;
|
|
127
|
-
declare const Image: any;
|
|
128
|
-
|
|
129
|
-
interface RichTextPresetOptions {
|
|
130
|
-
placeholder?: string | ((props: {
|
|
131
|
-
node: any;
|
|
132
|
-
}) => string);
|
|
133
|
-
characterLimit?: number;
|
|
134
|
-
openLinksOnClick?: boolean;
|
|
135
|
-
enableSmilies?: boolean;
|
|
136
|
-
enableColorHighlighter?: boolean;
|
|
137
|
-
headingLevels?: (1 | 2 | 3 | 4 | 5 | 6)[];
|
|
138
|
-
mention?: MentionOptions | boolean;
|
|
139
|
-
markdown?: MarkdownOptions | boolean;
|
|
140
|
-
image?: ImageOptions | boolean;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Creates a standard rich-text extensions bundle with full formatting support.
|
|
144
|
-
*/
|
|
145
|
-
declare function createRichTextPreset(options?: RichTextPresetOptions): Extensions;
|
|
146
|
-
|
|
147
|
-
export { ColorHighlighter, FontSize, GradientText, type GradientTextOptions, Image, type ImageOptions, LoadingNode, Markdown, MentionOptions, type RichTextPresetOptions, type SlashCommandMatchData, SlashCommands, type SlashCommandsOptions, SmilieReplacer, TemplateSuggestions, type TemplateSuggestionsOptions, createRichTextPreset, findHexColors, handleImageInsertion, imagePastePluginKey, insertImageNode, removeImageNode, updateImageSrc };
|
|
@@ -1,147 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { DecorationSet } from '@tiptap/pm/view';
|
|
4
|
-
import { Node as Node$1 } from '@tiptap/pm/model';
|
|
5
|
-
import { b as MentionOptions } from '../mention-Dcevh3ff.js';
|
|
6
|
-
export { M as Mention, a as MentionEntity, c as createMentionExtension } from '../mention-Dcevh3ff.js';
|
|
7
|
-
import { MarkdownOptions } from 'tiptap-markdown';
|
|
1
|
+
export { A as AddCommentOptions, a as Autocorrect, b as AutocorrectContext, c as AutocorrectCorrection, d as AutocorrectOptions, e as AutocorrectRule, f as AutocorrectStorage, g as Bookmark, h as BookmarkInfo, i as BookmarkOptions, C as COMMENT_MARK_NAME, j as ColorHighlighter, k as CommentRange, l as Comments, m as CommentsOptions, n as CommentsStorage, p as CrossReference, q as CrossReferenceOptions, r as CrossReferenceTarget, s as CrossReferenceTargetType, t as DEFAULT_AUTOCORRECT_EXCEPTIONS, v as DocumentStructureCommandArgs, w as DocumentStructureCommandItem, F as FileImport, x as FileImportOptions, y as FocusHeadingOptions, z as FontSize, E as Footnote, G as FootnoteInfo, H as FootnoteReference, I as Footnotes, J as FootnotesOptions, K as GradientText, L as GradientTextOptions, M as Image, N as ImageOptions, O as InsertFootnoteOptions, P as InsertTableOfContentsOptions, Q as LoadingNode, R as Markdown, S as Outline, T as OutlineHeading, U as OutlineOptions, V as OutlineSnapshot, W as OutlineStorage, X as OutlineStore, Y as OutlineTreeItem, Z as RichClipboard, _ as RichClipboardOptions, $ as RichClipboardStorage, a0 as RichTextPresetOptions, a1 as SMILIE_REPLACEMENTS, a2 as SetBookmarkOptions, a3 as SlashCommandMatchData, a4 as SlashCommands, a5 as SlashCommandsOptions, a6 as SmilieReplacer, a7 as TableOfContents, a8 as TableOfContentsEntry, a9 as TableOfContentsOptions, aa as TemplateSuggestions, ab as TemplateSuggestionsOptions, ac as autocorrectPluginKey, ad as buildOutlineTree, ae as capitalizeSentenceRules, af as commentsPluginKey, ag as computeOutline, ai as createOutlineStore, aj as createRichTextPreset, ak as crossReferencePluginKey, al as defaultAutocorrectRules, an as documentStructureCommandItems, ao as fileImportPluginKey, ap as findAutocorrection, aq as findCommentRanges, ar as findHexColors, at as footnotesMarkdownIt, au as footnotesPluginKey, av as fractionRules, aw as getActiveHeading, ax as getBookmarks, ay as getCommentAnchors, az as getCommentAuthor, aA as getCommentIdsAt, aB as getCommentStore, aC as getCrossReferenceTargets, aD as getDocumentStructureCommandItems, aE as getFootnotes, aG as getOutline, aH as getTableOfContentsEntries, aI as handleImageInsertion, aK as imagePastePluginKey, aM as insertImageNode, aN as isInsidePromptToken, aP as navigateToHeading, aQ as outlinePluginKey, aT as removeImageNode, aU as richClipboardPluginKey, aW as smartQuoteRules, aX as smilieAutocorrectRules, aY as symbolRules, aZ as syncFootnotes, a_ as tableOfContentsMarkdownIt, a$ as tableOfContentsPluginKey, b0 as twoInitialCapitalsRules, b2 as updateImageSrc, b3 as writeRichClipboard } from '../index-Ng1pG7JE.js';
|
|
2
|
+
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, D as DELETION_MARK_NAME, I as INSERTION_MARK_NAME, M as Mention, h as MentionEntity, i as MentionOptions, R as ReviewAuthor, S as SerializedComments, T as TRACK_CHANGES_SKIP_META, j as TrackChanges, k as TrackChangesOptions, l as TrackChangesSnapshot, m as TrackChangesStorage, n as TrackChangesStore, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedInsertion, u as createCommentStore, v as createMentionExtension, w as createReviewId, x as formatReviewTime, y as getTrackChangesStore, z as getTrackedChangeAt, A as getTrackedChanges, B as isTrackChangesEnabled, E as resolveTrackedChanges, F as trackChangesPluginKey } from '../track-changes-G8JcWB8b.js';
|
|
8
3
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
4
|
+
import '@tiptap/core';
|
|
5
|
+
import '../tokens-CyLZmIei.js';
|
|
6
|
+
import '@tiptap/pm/state';
|
|
7
|
+
import '@tiptap/pm/view';
|
|
8
|
+
import '@tiptap/pm/model';
|
|
9
|
+
import '@tiptap/extension-image';
|
|
10
|
+
import '../registry-iAHbqkYt.js';
|
|
11
11
|
import '@tiptap/extension-mention';
|
|
12
12
|
import '@tiptap/suggestion';
|
|
13
|
-
|
|
14
|
-
interface GradientTextOptions {
|
|
15
|
-
templateColorMap: Map<string, ColorGradient>;
|
|
16
|
-
speed?: number;
|
|
17
|
-
jsonVariables?: string[] | Set<string>;
|
|
18
|
-
onTemplateClick?: (templateName: string, event: MouseEvent) => void;
|
|
19
|
-
}
|
|
20
|
-
declare const GradientText: Mark<GradientTextOptions, any>;
|
|
21
|
-
|
|
22
|
-
interface SlashCommandMatchData {
|
|
23
|
-
match: RegExpMatchArray;
|
|
24
|
-
query: string;
|
|
25
|
-
from: number;
|
|
26
|
-
to: number;
|
|
27
|
-
coords: {
|
|
28
|
-
top: number;
|
|
29
|
-
left: number;
|
|
30
|
-
bottom: number;
|
|
31
|
-
right: number;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
interface SlashCommandsOptions {
|
|
35
|
-
trigger?: string;
|
|
36
|
-
onMatch?: (data: SlashCommandMatchData) => void;
|
|
37
|
-
onClear?: () => void;
|
|
38
|
-
containerId?: string;
|
|
39
|
-
}
|
|
40
|
-
declare const SlashCommands: Extension<SlashCommandsOptions, any>;
|
|
41
|
-
|
|
42
|
-
interface TemplateSuggestionsOptions {
|
|
43
|
-
templates: Template[];
|
|
44
|
-
char?: string;
|
|
45
|
-
onSuggestion?: (props: {
|
|
46
|
-
query: string;
|
|
47
|
-
range: {
|
|
48
|
-
from: number;
|
|
49
|
-
to: number;
|
|
50
|
-
};
|
|
51
|
-
clientRect?: (() => DOMRect | null) | null;
|
|
52
|
-
items: Template[];
|
|
53
|
-
command: (props: {
|
|
54
|
-
name: string;
|
|
55
|
-
}) => void;
|
|
56
|
-
}) => void;
|
|
57
|
-
}
|
|
58
|
-
declare const TemplateSuggestions: Extension<TemplateSuggestionsOptions, any>;
|
|
59
|
-
|
|
60
|
-
declare const LoadingNode: Node<any, any>;
|
|
61
|
-
|
|
62
|
-
declare const SmilieReplacer: Extension<any, any>;
|
|
63
|
-
|
|
64
|
-
declare function findHexColors(doc: Node$1): DecorationSet;
|
|
65
|
-
declare const ColorHighlighter: Extension<any, any>;
|
|
66
|
-
|
|
67
|
-
declare module "@tiptap/core" {
|
|
68
|
-
interface Commands<ReturnType> {
|
|
69
|
-
fontSize: {
|
|
70
|
-
setFontSize: (size: string) => ReturnType;
|
|
71
|
-
unsetFontSize: () => ReturnType;
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
declare const FontSize: Extension<any, any>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Built-in native Markdown extension for @pixerate/editor based on tiptap-markdown.
|
|
79
|
-
* Enables automatic markdown parsing, serialization, and clipboard handling.
|
|
80
|
-
*/
|
|
81
|
-
declare const Markdown: any;
|
|
82
|
-
|
|
83
|
-
interface ImageOptions extends Partial<ImageOptions$1> {
|
|
84
|
-
/**
|
|
85
|
-
* Custom upload handler called when an image is pasted or dropped.
|
|
86
|
-
* Resolves to the uploaded image URL string.
|
|
87
|
-
*/
|
|
88
|
-
upload?: (file: File) => Promise<string> | string;
|
|
89
|
-
/**
|
|
90
|
-
* Callback invoked if the upload handler throws or rejects, or if an image
|
|
91
|
-
* exceeds maxBase64Size when no upload handler is configured.
|
|
92
|
-
*/
|
|
93
|
-
onUploadError?: (error: Error, file: File) => void;
|
|
94
|
-
/**
|
|
95
|
-
* Maximum allowed file size (in bytes) when embedding images as base64 data URLs
|
|
96
|
-
* without an upload handler. Defaults to 65536 (64 KB).
|
|
97
|
-
* Files larger than this will be rejected to avoid memory bloat and prompt/stream saturation.
|
|
98
|
-
*/
|
|
99
|
-
maxBase64Size?: number;
|
|
100
|
-
/**
|
|
101
|
-
* Whether to enable automatic image pasting from clipboard. Defaults to true.
|
|
102
|
-
*/
|
|
103
|
-
enablePaste?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to enable automatic image drop. Defaults to true.
|
|
106
|
-
*/
|
|
107
|
-
enableDrop?: boolean;
|
|
108
|
-
}
|
|
109
|
-
declare const imagePastePluginKey: PluginKey<any>;
|
|
110
|
-
/**
|
|
111
|
-
* Inserts an image node into the editor view at the current selection.
|
|
112
|
-
*/
|
|
113
|
-
declare function insertImageNode(view: any, src: string, alt?: string): void;
|
|
114
|
-
/**
|
|
115
|
-
* Updates an existing image node's src attribute across document positions.
|
|
116
|
-
*/
|
|
117
|
-
declare function updateImageSrc(view: any, oldSrc: string, newSrc: string): void;
|
|
118
|
-
/**
|
|
119
|
-
* Removes an existing image node matching src attribute across document positions.
|
|
120
|
-
*/
|
|
121
|
-
declare function removeImageNode(view: any, src: string): void;
|
|
122
|
-
/**
|
|
123
|
-
* Handles inserting a pasted or dropped image file, supporting both async upload
|
|
124
|
-
* handlers and direct base64/object-URL fallbacks.
|
|
125
|
-
*/
|
|
126
|
-
declare function handleImageInsertion(view: any, file: File, options: ImageOptions): void;
|
|
127
|
-
declare const Image: any;
|
|
128
|
-
|
|
129
|
-
interface RichTextPresetOptions {
|
|
130
|
-
placeholder?: string | ((props: {
|
|
131
|
-
node: any;
|
|
132
|
-
}) => string);
|
|
133
|
-
characterLimit?: number;
|
|
134
|
-
openLinksOnClick?: boolean;
|
|
135
|
-
enableSmilies?: boolean;
|
|
136
|
-
enableColorHighlighter?: boolean;
|
|
137
|
-
headingLevels?: (1 | 2 | 3 | 4 | 5 | 6)[];
|
|
138
|
-
mention?: MentionOptions | boolean;
|
|
139
|
-
markdown?: MarkdownOptions | boolean;
|
|
140
|
-
image?: ImageOptions | boolean;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Creates a standard rich-text extensions bundle with full formatting support.
|
|
144
|
-
*/
|
|
145
|
-
declare function createRichTextPreset(options?: RichTextPresetOptions): Extensions;
|
|
146
|
-
|
|
147
|
-
export { ColorHighlighter, FontSize, GradientText, type GradientTextOptions, Image, type ImageOptions, LoadingNode, Markdown, MentionOptions, type RichTextPresetOptions, type SlashCommandMatchData, SlashCommands, type SlashCommandsOptions, SmilieReplacer, TemplateSuggestions, type TemplateSuggestionsOptions, createRichTextPreset, findHexColors, handleImageInsertion, imagePastePluginKey, insertImageNode, removeImageNode, updateImageSrc };
|
package/dist/extensions/index.js
CHANGED
|
@@ -1,42 +1,183 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Autocorrect,
|
|
3
|
+
Bookmark,
|
|
4
|
+
COMMENT_MARK_NAME,
|
|
2
5
|
ColorHighlighter,
|
|
6
|
+
Comments,
|
|
7
|
+
CrossReference,
|
|
8
|
+
DEFAULT_AUTOCORRECT_EXCEPTIONS,
|
|
9
|
+
FileImport,
|
|
3
10
|
FontSize,
|
|
11
|
+
Footnote,
|
|
12
|
+
FootnoteReference,
|
|
13
|
+
Footnotes,
|
|
4
14
|
GradientText,
|
|
5
15
|
Image,
|
|
6
16
|
LoadingNode,
|
|
7
17
|
Markdown,
|
|
8
18
|
Mention,
|
|
19
|
+
Outline,
|
|
20
|
+
RichClipboard,
|
|
21
|
+
SMILIE_REPLACEMENTS,
|
|
9
22
|
SlashCommands,
|
|
10
23
|
SmilieReplacer,
|
|
24
|
+
TableOfContents,
|
|
11
25
|
TemplateSuggestions,
|
|
26
|
+
autocorrectPluginKey,
|
|
27
|
+
buildOutlineTree,
|
|
28
|
+
capitalizeSentenceRules,
|
|
29
|
+
commentsPluginKey,
|
|
30
|
+
computeOutline,
|
|
12
31
|
createMentionExtension,
|
|
32
|
+
createOutlineStore,
|
|
13
33
|
createRichTextPreset,
|
|
34
|
+
crossReferencePluginKey,
|
|
35
|
+
defaultAutocorrectRules,
|
|
36
|
+
documentStructureCommandItems,
|
|
37
|
+
fileImportPluginKey,
|
|
38
|
+
findAutocorrection,
|
|
39
|
+
findCommentRanges,
|
|
14
40
|
findHexColors,
|
|
41
|
+
footnotesMarkdownIt,
|
|
42
|
+
footnotesPluginKey,
|
|
43
|
+
fractionRules,
|
|
44
|
+
getActiveHeading,
|
|
45
|
+
getBookmarks,
|
|
46
|
+
getCommentAnchors,
|
|
47
|
+
getCommentAuthor,
|
|
48
|
+
getCommentIdsAt,
|
|
49
|
+
getCommentStore,
|
|
50
|
+
getCrossReferenceTargets,
|
|
51
|
+
getDocumentStructureCommandItems,
|
|
52
|
+
getFootnotes,
|
|
53
|
+
getOutline,
|
|
54
|
+
getTableOfContentsEntries,
|
|
15
55
|
handleImageInsertion,
|
|
16
56
|
imagePastePluginKey,
|
|
17
57
|
insertImageNode,
|
|
58
|
+
isInsidePromptToken,
|
|
59
|
+
navigateToHeading,
|
|
60
|
+
outlinePluginKey,
|
|
18
61
|
removeImageNode,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
62
|
+
richClipboardPluginKey,
|
|
63
|
+
smartQuoteRules,
|
|
64
|
+
smilieAutocorrectRules,
|
|
65
|
+
symbolRules,
|
|
66
|
+
syncFootnotes,
|
|
67
|
+
tableOfContentsMarkdownIt,
|
|
68
|
+
tableOfContentsPluginKey,
|
|
69
|
+
twoInitialCapitalsRules,
|
|
70
|
+
updateImageSrc,
|
|
71
|
+
writeRichClipboard
|
|
72
|
+
} from "../chunk-CYFJCKC4.js";
|
|
73
|
+
import "../chunk-B2ZRLN4S.js";
|
|
74
|
+
import "../chunk-KYRZDWM4.js";
|
|
75
|
+
import {
|
|
76
|
+
CommentStore,
|
|
77
|
+
DELETION_MARK_NAME,
|
|
78
|
+
INSERTION_MARK_NAME,
|
|
79
|
+
TRACK_CHANGES_SKIP_META,
|
|
80
|
+
TrackChanges,
|
|
81
|
+
TrackChangesStore,
|
|
82
|
+
TrackedDeletion,
|
|
83
|
+
TrackedInsertion,
|
|
84
|
+
createCommentStore,
|
|
85
|
+
createReviewId,
|
|
86
|
+
formatReviewTime,
|
|
87
|
+
getTrackChangesStore,
|
|
88
|
+
getTrackedChangeAt,
|
|
89
|
+
getTrackedChanges,
|
|
90
|
+
isTrackChangesEnabled,
|
|
91
|
+
resolveTrackedChanges,
|
|
92
|
+
trackChangesPluginKey
|
|
93
|
+
} from "../chunk-3TYMNULT.js";
|
|
22
94
|
export {
|
|
95
|
+
Autocorrect,
|
|
96
|
+
Bookmark,
|
|
97
|
+
COMMENT_MARK_NAME,
|
|
23
98
|
ColorHighlighter,
|
|
99
|
+
CommentStore,
|
|
100
|
+
Comments,
|
|
101
|
+
CrossReference,
|
|
102
|
+
DEFAULT_AUTOCORRECT_EXCEPTIONS,
|
|
103
|
+
DELETION_MARK_NAME,
|
|
104
|
+
FileImport,
|
|
24
105
|
FontSize,
|
|
106
|
+
Footnote,
|
|
107
|
+
FootnoteReference,
|
|
108
|
+
Footnotes,
|
|
25
109
|
GradientText,
|
|
110
|
+
INSERTION_MARK_NAME,
|
|
26
111
|
Image,
|
|
27
112
|
LoadingNode,
|
|
28
113
|
Markdown,
|
|
29
114
|
Mention,
|
|
115
|
+
Outline,
|
|
116
|
+
RichClipboard,
|
|
117
|
+
SMILIE_REPLACEMENTS,
|
|
30
118
|
SlashCommands,
|
|
31
119
|
SmilieReplacer,
|
|
120
|
+
TRACK_CHANGES_SKIP_META,
|
|
121
|
+
TableOfContents,
|
|
32
122
|
TemplateSuggestions,
|
|
123
|
+
TrackChanges,
|
|
124
|
+
TrackChangesStore,
|
|
125
|
+
TrackedDeletion,
|
|
126
|
+
TrackedInsertion,
|
|
127
|
+
autocorrectPluginKey,
|
|
128
|
+
buildOutlineTree,
|
|
129
|
+
capitalizeSentenceRules,
|
|
130
|
+
commentsPluginKey,
|
|
131
|
+
computeOutline,
|
|
132
|
+
createCommentStore,
|
|
33
133
|
createMentionExtension,
|
|
134
|
+
createOutlineStore,
|
|
135
|
+
createReviewId,
|
|
34
136
|
createRichTextPreset,
|
|
137
|
+
crossReferencePluginKey,
|
|
138
|
+
defaultAutocorrectRules,
|
|
139
|
+
documentStructureCommandItems,
|
|
140
|
+
fileImportPluginKey,
|
|
141
|
+
findAutocorrection,
|
|
142
|
+
findCommentRanges,
|
|
35
143
|
findHexColors,
|
|
144
|
+
footnotesMarkdownIt,
|
|
145
|
+
footnotesPluginKey,
|
|
146
|
+
formatReviewTime,
|
|
147
|
+
fractionRules,
|
|
148
|
+
getActiveHeading,
|
|
149
|
+
getBookmarks,
|
|
150
|
+
getCommentAnchors,
|
|
151
|
+
getCommentAuthor,
|
|
152
|
+
getCommentIdsAt,
|
|
153
|
+
getCommentStore,
|
|
154
|
+
getCrossReferenceTargets,
|
|
155
|
+
getDocumentStructureCommandItems,
|
|
156
|
+
getFootnotes,
|
|
157
|
+
getOutline,
|
|
158
|
+
getTableOfContentsEntries,
|
|
159
|
+
getTrackChangesStore,
|
|
160
|
+
getTrackedChangeAt,
|
|
161
|
+
getTrackedChanges,
|
|
36
162
|
handleImageInsertion,
|
|
37
163
|
imagePastePluginKey,
|
|
38
164
|
insertImageNode,
|
|
165
|
+
isInsidePromptToken,
|
|
166
|
+
isTrackChangesEnabled,
|
|
167
|
+
navigateToHeading,
|
|
168
|
+
outlinePluginKey,
|
|
39
169
|
removeImageNode,
|
|
40
|
-
|
|
170
|
+
resolveTrackedChanges,
|
|
171
|
+
richClipboardPluginKey,
|
|
172
|
+
smartQuoteRules,
|
|
173
|
+
smilieAutocorrectRules,
|
|
174
|
+
symbolRules,
|
|
175
|
+
syncFootnotes,
|
|
176
|
+
tableOfContentsMarkdownIt,
|
|
177
|
+
tableOfContentsPluginKey,
|
|
178
|
+
trackChangesPluginKey,
|
|
179
|
+
twoInitialCapitalsRules,
|
|
180
|
+
updateImageSrc,
|
|
181
|
+
writeRichClipboard
|
|
41
182
|
};
|
|
42
183
|
//# sourceMappingURL=index.js.map
|