markloom 0.3.0 → 0.5.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 +29 -16
- package/ai.md +160 -0
- package/collab.md +68 -0
- package/dist/ai/index.cjs +4 -3
- package/dist/ai/index.d.cts +4 -2
- package/dist/ai/index.d.ts +4 -2
- package/dist/ai/index.js +5 -4
- package/dist/ai/theme.css +63 -63
- package/dist/{chunk-VVFIQLVR.cjs → chunk-4TMHVNL6.cjs} +71 -79
- package/dist/chunk-6DCI7AL3.js +208 -0
- package/dist/chunk-AC5E42NH.cjs +208 -0
- package/dist/chunk-GQ2HHRGI.cjs +16 -0
- package/dist/{chunk-GUPMZI6Q.js → chunk-JMOJU5EU.js} +7 -5
- package/dist/chunk-JS527FDV.cjs +294 -0
- package/dist/chunk-LA5SBCGQ.js +16 -0
- package/dist/{chunk-ITVAR2UM.js → chunk-LEYAQNJA.js} +5 -3
- package/dist/{chunk-J3QWW6CN.js → chunk-MFYF2A6U.js} +5 -13
- package/dist/chunk-RLTHVQNQ.js +294 -0
- package/dist/{chunk-7Q6AXLF2.cjs → chunk-SLRD6FMP.cjs} +30 -28
- package/dist/{chunk-UCNEQGMY.js → chunk-WUHTCCAE.js} +391 -332
- package/dist/{chunk-2X6AF7XH.cjs → chunk-YJAWPRJW.cjs} +722 -663
- package/dist/{chunk-HA6XHJUD.cjs → chunk-YXQDCW4Y.cjs} +22 -20
- package/dist/client-A0ZQJnyR.d.ts +137 -0
- package/dist/client-BNams4wv.d.cts +137 -0
- package/dist/collab/index.cjs +19 -0
- package/dist/collab/index.d.cts +3 -0
- package/dist/collab/index.d.ts +3 -0
- package/dist/collab/index.js +19 -0
- package/dist/comments-DlExS6f-.d.cts +43 -0
- package/dist/comments-PhnR7Gkn.d.ts +43 -0
- package/dist/{controller-Dm4uLD3I.d.ts → controller-BkY1VPzc.d.ts} +24 -8
- package/dist/{controller-cE9iEYp3.d.cts → controller-CVIZI--A.d.cts} +24 -8
- package/dist/index.cjs +21 -243
- package/dist/index.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +22 -244
- package/dist/react/index.cjs +12 -9
- package/dist/react/index.d.cts +7 -5
- package/dist/react/index.d.ts +7 -5
- package/dist/react/index.js +12 -9
- package/dist/rebase-batch-8rL_aXEE.d.ts +38 -0
- package/dist/rebase-batch-bYnBJpRO.d.cts +38 -0
- package/dist/step-BrvHIK7O.d.cts +65 -0
- package/dist/step-BrvHIK7O.d.ts +65 -0
- package/dist/view/index.cjs +11 -8
- package/dist/view/index.d.cts +7 -5
- package/dist/view/index.d.ts +7 -5
- package/dist/view/index.js +9 -6
- package/dist/view/theme.css +507 -507
- package/package.json +10 -3
- package/dist/comments-USjT1wYN.d.cts +0 -105
- package/dist/comments-USjT1wYN.d.ts +0 -105
package/dist/view/index.cjs
CHANGED
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
83
|
-
require('../chunk-
|
|
82
|
+
var _chunkYJAWPRJWcjs = require('../chunk-YJAWPRJW.cjs');
|
|
83
|
+
require('../chunk-YXQDCW4Y.cjs');
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
@@ -91,8 +91,11 @@ require('../chunk-HA6XHJUD.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
95
|
-
require('../chunk-
|
|
94
|
+
var _chunkSLRD6FMPcjs = require('../chunk-SLRD6FMP.cjs');
|
|
95
|
+
require('../chunk-4TMHVNL6.cjs');
|
|
96
|
+
require('../chunk-AC5E42NH.cjs');
|
|
97
|
+
require('../chunk-JS527FDV.cjs');
|
|
98
|
+
require('../chunk-GQ2HHRGI.cjs');
|
|
96
99
|
|
|
97
100
|
// src/view/shiki-code-view.ts
|
|
98
101
|
var _preact = require('preact');
|
|
@@ -163,7 +166,7 @@ function subRule() {
|
|
|
163
166
|
{ kind: "deleteText", path: ctx.leafPath, offset: at, length: eaten },
|
|
164
167
|
{ kind: "insertText", path: ctx.leafPath, offset: at, text: s.to }
|
|
165
168
|
];
|
|
166
|
-
return { steps, selection:
|
|
169
|
+
return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(at + s.to.length)) };
|
|
167
170
|
}
|
|
168
171
|
return null;
|
|
169
172
|
}
|
|
@@ -177,7 +180,7 @@ function quoteRule(quote, open, close) {
|
|
|
177
180
|
const prev = ctx.marker.slice(-1);
|
|
178
181
|
const to = prev === "" || prev === " " || prev === "\n" || prev === " " || prev === "(" || prev === "[" || prev === "{" ? open : close;
|
|
179
182
|
const steps = [{ kind: "insertText", path: ctx.leafPath, offset: ctx.offset, text: to }];
|
|
180
|
-
return { steps, selection:
|
|
183
|
+
return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(ctx.offset + to.length)) };
|
|
181
184
|
}
|
|
182
185
|
};
|
|
183
186
|
}
|
|
@@ -253,7 +256,7 @@ function emojiRule() {
|
|
|
253
256
|
{ kind: "deleteText", path: ctx.leafPath, offset: at, length: eaten },
|
|
254
257
|
{ kind: "insertText", path: ctx.leafPath, offset: at, text: glyph }
|
|
255
258
|
];
|
|
256
|
-
return { steps, selection:
|
|
259
|
+
return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(at + glyph.length)) };
|
|
257
260
|
}
|
|
258
261
|
};
|
|
259
262
|
}
|
|
@@ -365,4 +368,4 @@ var comments = {
|
|
|
365
368
|
|
|
366
369
|
|
|
367
370
|
|
|
368
|
-
exports.CALLOUT_VARIANTS =
|
|
371
|
+
exports.CALLOUT_VARIANTS = _chunkYJAWPRJWcjs.CALLOUT_VARIANTS; exports.CommentPanel = _chunkYJAWPRJWcjs.CommentPanel; exports.Editor = _chunkYJAWPRJWcjs.Editor; exports.MentionMenu = _chunkYJAWPRJWcjs.MentionMenu; exports.MentionPopovers = _chunkYJAWPRJWcjs.MentionPopovers; exports.TocPanel = _chunkYJAWPRJWcjs.TocPanel; exports.askInput = _chunkYJAWPRJWcjs.askInput; exports.askLinkPopover = _chunkYJAWPRJWcjs.askLinkPopover; exports.atomIsSelected = _chunkYJAWPRJWcjs.atomIsSelected; exports.blockExtensions = _chunkYJAWPRJWcjs.blockExtensions; exports.blockPlainText = _chunkSLRD6FMPcjs.blockPlainText; exports.blockTransform = _chunkYJAWPRJWcjs.blockTransform; exports.boldMark = _chunkYJAWPRJWcjs.boldMark; exports.bubbleMenu = _chunkYJAWPRJWcjs.bubbleMenu; exports.calloutVariantFromQuery = _chunkYJAWPRJWcjs.calloutVariantFromQuery; exports.caret = _chunkYJAWPRJWcjs.caret; exports.chord = _chunkYJAWPRJWcjs.chord; exports.closeAskInput = _chunkYJAWPRJWcjs.closeAskInput; exports.codeBlock = _chunkYJAWPRJWcjs.codeBlock; exports.codeControls = _chunkYJAWPRJWcjs.codeControls; exports.codeMark = _chunkYJAWPRJWcjs.codeMark; exports.comments = comments; exports.cycleCalloutVariant = _chunkYJAWPRJWcjs.cycleCalloutVariant; exports.decorationExtensions = _chunkYJAWPRJWcjs.decorationExtensions; exports.defaultBlockRenderers = _chunkYJAWPRJWcjs.defaultBlockRenderers; exports.defaultBlockTag = _chunkYJAWPRJWcjs.defaultBlockTag; exports.defaultMarkTag = _chunkYJAWPRJWcjs.defaultMarkTag; exports.diffSpan = _chunkYJAWPRJWcjs.diffSpan; exports.domToPoint = _chunkSLRD6FMPcjs.domToPoint; exports.dragHandle = _chunkYJAWPRJWcjs.dragHandle; exports.elementChildren = _chunkSLRD6FMPcjs.elementChildren; exports.embedBlock = _chunkYJAWPRJWcjs.embedBlock; exports.emoji = emoji; exports.focusBlockId = _chunkSLRD6FMPcjs.focusBlockId; exports.highlightMark = _chunkYJAWPRJWcjs.highlightMark; exports.history = _chunkYJAWPRJWcjs.history; exports.hrBlock = _chunkYJAWPRJWcjs.hrBlock; exports.imageBlock = _chunkYJAWPRJWcjs.imageBlock; exports.indentItem = _chunkYJAWPRJWcjs.indentItem; exports.inputRules = _chunkYJAWPRJWcjs.inputRules; exports.invisibleCharacters = invisibleCharacters; exports.isAtom = _chunkYJAWPRJWcjs.isAtom; exports.isOpaque = _chunkYJAWPRJWcjs.isOpaque; exports.italicMark = _chunkYJAWPRJWcjs.italicMark; exports.leafText = _chunkYJAWPRJWcjs.leafText; exports.lineBoundaryBack = _chunkYJAWPRJWcjs.lineBoundaryBack; exports.lineBoundaryFwd = _chunkYJAWPRJWcjs.lineBoundaryFwd; exports.linkMark = _chunkYJAWPRJWcjs.linkMark; exports.mapInput = _chunkYJAWPRJWcjs.mapInput; exports.mapPaste = _chunkYJAWPRJWcjs.mapPaste; exports.mapPasteBlocks = _chunkYJAWPRJWcjs.mapPasteBlocks; exports.markExtensions = _chunkYJAWPRJWcjs.markExtensions; exports.markloomKit = _chunkYJAWPRJWcjs.markloomKit; exports.marksAtCaret = _chunkYJAWPRJWcjs.marksAtCaret; exports.mentionMenu = _chunkYJAWPRJWcjs.mentionMenu; exports.mergeTextStyleAttrs = _chunkYJAWPRJWcjs.mergeTextStyleAttrs; exports.normalizeLinkUrl = _chunkYJAWPRJWcjs.normalizeLinkUrl; exports.outdentItem = _chunkYJAWPRJWcjs.outdentItem; exports.pointToDom = _chunkSLRD6FMPcjs.pointToDom; exports.readSelection = _chunkSLRD6FMPcjs.readSelection; exports.renderCode = _chunkYJAWPRJWcjs.renderCode; exports.renderDoc = _chunkYJAWPRJWcjs.renderDoc; exports.renderEmbed = _chunkYJAWPRJWcjs.renderEmbed; exports.renderHr = _chunkYJAWPRJWcjs.renderHr; exports.renderImage = _chunkYJAWPRJWcjs.renderImage; exports.renderTable = _chunkYJAWPRJWcjs.renderTable; exports.renderToHtml = _chunkYJAWPRJWcjs.renderToHtml; exports.resolve = _chunkYJAWPRJWcjs.resolve; exports.rootEl = _chunkSLRD6FMPcjs.rootEl; exports.safeCssValue = _chunkYJAWPRJWcjs.safeCssValue; exports.serializeSelection = _chunkYJAWPRJWcjs.serializeSelection; exports.setAlign = _chunkYJAWPRJWcjs.setAlign; exports.setCalloutVariant = _chunkYJAWPRJWcjs.setCalloutVariant; exports.setTextStyle = _chunkYJAWPRJWcjs.setTextStyle; exports.shikiCodeView = shikiCodeView; exports.slashMenu = _chunkYJAWPRJWcjs.slashMenu; exports.startAiWrite = _chunkSLRD6FMPcjs.startAiWrite; exports.strikeMark = _chunkYJAWPRJWcjs.strikeMark; exports.subscriptMark = _chunkYJAWPRJWcjs.subscriptMark; exports.superscriptMark = _chunkYJAWPRJWcjs.superscriptMark; exports.tableBlock = _chunkYJAWPRJWcjs.tableBlock; exports.textAlign = _chunkYJAWPRJWcjs.textAlign; exports.textStyleCss = _chunkYJAWPRJWcjs.textStyleCss; exports.textStyleMark = _chunkYJAWPRJWcjs.textStyleMark; exports.toggleMark = _chunkYJAWPRJWcjs.toggleMark; exports.toggleMarkList = _chunkYJAWPRJWcjs.toggleMarkList; exports.twitchChannel = _chunkYJAWPRJWcjs.twitchChannel; exports.typography = typography; exports.underlineMark = _chunkYJAWPRJWcjs.underlineMark; exports.wordBoundaryBack = _chunkYJAWPRJWcjs.wordBoundaryBack; exports.wordBoundaryFwd = _chunkYJAWPRJWcjs.wordBoundaryFwd; exports.wrapList = _chunkYJAWPRJWcjs.wrapList; exports.writeSelection = _chunkSLRD6FMPcjs.writeSelection; exports.youtubeId = _chunkYJAWPRJWcjs.youtubeId;
|
package/dist/view/index.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { N as NodeView, l as Extension } from '../controller-
|
|
2
|
-
export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult,
|
|
3
|
-
import { E as ElementNode, a as Position, N as Node,
|
|
1
|
+
import { N as NodeView, l as Extension } from '../controller-CVIZI--A.cjs';
|
|
2
|
+
export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, x as MentionCandidate, y as MentionHost, z as MentionMenu, F as MentionPopovers, G as MentionPopoversHost, H as MentionProfile, J as NodeViewCtx, P as PasteRule, R as RenderOpts, L as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-CVIZI--A.cjs';
|
|
3
|
+
import { E as ElementNode, a as Position, N as Node, c as Selection, S as Step } from '../step-BrvHIK7O.cjs';
|
|
4
|
+
import { C as CommentAuthor, c as CommentThread, b as CommentRenderState } from '../comments-DlExS6f-.cjs';
|
|
4
5
|
import 'preact';
|
|
6
|
+
import '../client-BNams4wv.cjs';
|
|
5
7
|
|
|
6
8
|
declare function shikiCodeView(highlight: (code: string, lang?: string) => string, langs?: () => string[]): NodeView;
|
|
7
9
|
|
|
@@ -15,7 +17,7 @@ declare function readSelection(root: HTMLElement, doc: ElementNode): Selection |
|
|
|
15
17
|
declare function writeSelection(root: HTMLElement, doc: ElementNode, selection: Selection): void;
|
|
16
18
|
declare function elementChildren(el: HTMLElement): HTMLElement[];
|
|
17
19
|
|
|
18
|
-
declare function
|
|
20
|
+
declare function markloomKit(): Extension[];
|
|
19
21
|
|
|
20
22
|
declare const boldMark: Extension;
|
|
21
23
|
declare const italicMark: Extension;
|
|
@@ -152,4 +154,4 @@ declare class TocPanel {
|
|
|
152
154
|
private paint;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark,
|
|
157
|
+
export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, markExtensions, markloomKit, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
|
package/dist/view/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { N as NodeView, l as Extension } from '../controller-
|
|
2
|
-
export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult,
|
|
3
|
-
import { E as ElementNode, a as Position, N as Node,
|
|
1
|
+
import { N as NodeView, l as Extension } from '../controller-BkY1VPzc.js';
|
|
2
|
+
export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, x as MentionCandidate, y as MentionHost, z as MentionMenu, F as MentionPopovers, G as MentionPopoversHost, H as MentionProfile, J as NodeViewCtx, P as PasteRule, R as RenderOpts, L as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-BkY1VPzc.js';
|
|
3
|
+
import { E as ElementNode, a as Position, N as Node, c as Selection, S as Step } from '../step-BrvHIK7O.js';
|
|
4
|
+
import { C as CommentAuthor, c as CommentThread, b as CommentRenderState } from '../comments-PhnR7Gkn.js';
|
|
4
5
|
import 'preact';
|
|
6
|
+
import '../client-A0ZQJnyR.js';
|
|
5
7
|
|
|
6
8
|
declare function shikiCodeView(highlight: (code: string, lang?: string) => string, langs?: () => string[]): NodeView;
|
|
7
9
|
|
|
@@ -15,7 +17,7 @@ declare function readSelection(root: HTMLElement, doc: ElementNode): Selection |
|
|
|
15
17
|
declare function writeSelection(root: HTMLElement, doc: ElementNode, selection: Selection): void;
|
|
16
18
|
declare function elementChildren(el: HTMLElement): HTMLElement[];
|
|
17
19
|
|
|
18
|
-
declare function
|
|
20
|
+
declare function markloomKit(): Extension[];
|
|
19
21
|
|
|
20
22
|
declare const boldMark: Extension;
|
|
21
23
|
declare const italicMark: Extension;
|
|
@@ -152,4 +154,4 @@ declare class TocPanel {
|
|
|
152
154
|
private paint;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark,
|
|
157
|
+
export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, markExtensions, markloomKit, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
|
package/dist/view/index.js
CHANGED
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
lineBoundaryBack,
|
|
41
41
|
lineBoundaryFwd,
|
|
42
42
|
linkMark,
|
|
43
|
-
loomKit,
|
|
44
43
|
mapInput,
|
|
45
44
|
mapPaste,
|
|
46
45
|
mapPasteBlocks,
|
|
47
46
|
markExtensions,
|
|
47
|
+
markloomKit,
|
|
48
48
|
marksAtCaret,
|
|
49
49
|
mentionMenu,
|
|
50
50
|
mergeTextStyleAttrs,
|
|
@@ -79,8 +79,8 @@ import {
|
|
|
79
79
|
wordBoundaryFwd,
|
|
80
80
|
wrapList,
|
|
81
81
|
youtubeId
|
|
82
|
-
} from "../chunk-
|
|
83
|
-
import "../chunk-
|
|
82
|
+
} from "../chunk-WUHTCCAE.js";
|
|
83
|
+
import "../chunk-LEYAQNJA.js";
|
|
84
84
|
import {
|
|
85
85
|
blockPlainText,
|
|
86
86
|
domToPoint,
|
|
@@ -91,8 +91,11 @@ import {
|
|
|
91
91
|
rootEl,
|
|
92
92
|
startAiWrite,
|
|
93
93
|
writeSelection
|
|
94
|
-
} from "../chunk-
|
|
95
|
-
import "../chunk-
|
|
94
|
+
} from "../chunk-JMOJU5EU.js";
|
|
95
|
+
import "../chunk-MFYF2A6U.js";
|
|
96
|
+
import "../chunk-6DCI7AL3.js";
|
|
97
|
+
import "../chunk-RLTHVQNQ.js";
|
|
98
|
+
import "../chunk-LA5SBCGQ.js";
|
|
96
99
|
|
|
97
100
|
// src/view/shiki-code-view.ts
|
|
98
101
|
import { h } from "preact";
|
|
@@ -319,11 +322,11 @@ export {
|
|
|
319
322
|
lineBoundaryBack,
|
|
320
323
|
lineBoundaryFwd,
|
|
321
324
|
linkMark,
|
|
322
|
-
loomKit,
|
|
323
325
|
mapInput,
|
|
324
326
|
mapPaste,
|
|
325
327
|
mapPasteBlocks,
|
|
326
328
|
markExtensions,
|
|
329
|
+
markloomKit,
|
|
327
330
|
marksAtCaret,
|
|
328
331
|
mentionMenu,
|
|
329
332
|
mergeTextStyleAttrs,
|