hexagon-editor 0.1.1 → 0.1.2
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/{MarkdownEditorLinkForm-mq-BVYM_.js → MarkdownEditorLinkForm-C7CGgA83.js} +74 -79
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/forms.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +241 -240
- package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/renderer.css +1 -0
- package/dist/renderer.js +115 -114
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { Lang as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { Lang as Wa, configure as Qa, getConfig as Ga, subscribeConfigure as Ya } from "./configure.js";
|
|
2
|
+
import { cn as Ka } from "./classname.js";
|
|
3
3
|
import { getMarkdownEditorMessages as Ge } from "./i18n.js";
|
|
4
|
-
import { markdownEditorMessages as
|
|
4
|
+
import { markdownEditorMessages as Ja } from "./i18n.js";
|
|
5
5
|
import { n as Ye, u as ce, r as Ze, q as Ke, o as Xe } from "./schema-dynamic-modifier-Dhf0m6tE.js";
|
|
6
|
-
import { A as
|
|
6
|
+
import { A as el, E as tl, a as al, b as ll, c as nl, L as ol, L as il, M as sl, e as rl, f as dl, P as ul, g as ml, S as cl, h as gl, i as vl, j as fl, k as bl, W as kl, l as wl, m as hl, s as yl, p as Ml, t as Cl } from "./schema-dynamic-modifier-Dhf0m6tE.js";
|
|
7
7
|
import { c4 as Je, c5 as _e, c6 as et, c7 as tt, c8 as at } from "./base-Bnv2-Te4.js";
|
|
8
|
-
import { B as
|
|
9
|
-
import { c as
|
|
8
|
+
import { B as xl, g as Ll, h as Tl, i as Bl, k as El, n as Hl, C as $l, o as Vl, p as Sl, q as Al, r as Pl, D as zl, E as Fl, G as Nl, H as Rl, u as Dl, v as Il, w as Ol, x as ql, y as jl, z as Ul, I as Wl, A as Ql, J as Gl, L as Yl, K as Zl, M as Kl, P as Xl, Q as Jl, R as _l, S as en, T as tn, U as an, V as ln, X as nn, Y as on, c9 as sn, Z as rn, _ as dn, $ as un, a0 as mn, a1 as cn, a2 as gn, a3 as vn, a4 as fn, a5 as bn, a6 as kn, ca as wn, cb as hn, cc as yn, cd as Mn, c as Cn, ce as pn, ac as xn, ad as Ln, af as Tn, a as Bn, b as En, ak as Hn, d as $n, e as Vn, f as Sn, an as An, ao as Pn, ap as zn, aq as Fn, ar as Nn, cf as Rn, cg as Dn, ch as In, ci as On, cj as qn, as as jn, at as Un, au as Wn, av as Qn, aw as Gn, ax as Yn, ay as Zn, az as Kn, aA as Xn, aB as Jn, aC as _n, aD as eo, aF as to, aG as ao, aI as lo, aJ as no, ck as oo, aN as io, aP as so, aT as ro, aU as uo, aV as mo, aW as co, aX as go, aY as vo, j as fo, l as bo, a_ as ko, a$ as wo, m as ho, b7 as yo, b8 as Mo, bd as Co, be as po, bh as xo, bi as Lo, bl as To, bn as Bo, bo as Eo, bp as Ho, bz as $o, bA as Vo, bB as So, bC as Ao, bD as Po, s as zo, bE as Fo, bF as No, bL as Ro, t as Do, bN as Io, bO as Oo, bQ as qo, bR as jo, bS as Uo, bT as Wo, bU as Qo, bV as Go, bX as Yo, bY as Zo, b$ as Ko, c0 as Xo, c1 as Jo } from "./base-Bnv2-Te4.js";
|
|
9
|
+
import { c as ei, g as ti } from "./optional-renderers-BalvqqvY.js";
|
|
10
10
|
import { defineComponent as K, openBlock as s, createElementBlock as u, ref as y, Fragment as A, createElementVNode as v, withModifiers as w, createVNode as C, toDisplayString as B, createCommentVNode as T, renderList as ne, createStaticVNode as lt, unref as m, renderSlot as ge, onBeforeUnmount as ve, nextTick as le, getCurrentInstance as Te, computed as xe, watch as te, onMounted as nt, createBlock as Z, withCtx as ot, normalizeProps as it, guardReactiveProps as st, Teleport as rt, normalizeClass as dt, readonly as ae } from "vue";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
import { getToolbarConfig as ut, isToolbarItemEnabled as V, isToolbarItemActive as j, normalizeToolbarItem as mt, isToolbarItemAvailable as ct } from "./toolbar.js";
|
|
13
|
+
import { commonmarkToolbarConfig as li, createToolbarConfig as ni, createToolbarGroup as oi, createToolbarItem as ii, defaultToolbarConfig as si, fullToolbarConfig as ri, markdownEditorToolbarItemIds as di, minimalToolbarConfig as ui, zeroToolbarConfig as mi } from "./toolbar.js";
|
|
14
|
+
import { a as gt, M as vt } from "./MarkdownEditorLinkForm-C7CGgA83.js";
|
|
15
|
+
import { _ as gi, b as vi } from "./MarkdownEditorLinkForm-C7CGgA83.js";
|
|
15
16
|
import "./katex-ByXcxnHy.js";
|
|
16
|
-
import { C as
|
|
17
|
-
import { C as
|
|
18
|
-
import { B as
|
|
17
|
+
import { C as bi, D as ki, F as wi, Z as hi } from "./full-C-o2lPBX.js";
|
|
18
|
+
import { C as Mi, F as Ci } from "./full-specs-Cl-ODShc.js";
|
|
19
|
+
import { B as xi, a as Li, b as Ti, c as Bi, d as Ei, C as Hi, e as $i, f as Vi, D as Si, g as Ai, h as Pi, H as zi, i as Fi, I as Ni, j as Ri, L as Di, k as Ii, T as Oi, l as qi, m as ji, n as Ui, o as Wi, r as Qi, v as Gi, y as Yi, M as Zi, O as Ki, R as Xi, S as Ji, W as _i, Z as es } from "./heading-specs-D7Bj4aIM.js";
|
|
19
20
|
import './index.css';const ft = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.47 4.72a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06-1.06L4.81 6H9a3.25 3.25 0 0 1 0 6.5H8A.75.75 0 0 0 8 14h1a4.75 4.75 0 1 0 0-9.5H4.81l1.72-1.72a.75.75 0 0 0-1.06-1.06z" clip-rule="evenodd"/></svg>
|
|
20
21
|
`, bt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M13.53 4.72a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06L11.19 6H7a3.25 3.25 0 0 0 0 6.5h1A.75.75 0 0 1 8 14H7a4.75 4.75 0 1 1 0-9.5h4.19L9.47 2.78a.75.75 0 0 1 1.06-1.06z" clip-rule="evenodd"/></svg>
|
|
21
22
|
`, kt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M4.25 2.25A.75.75 0 0 0 3.5 3v10c0 .414.336.75.75.75H9.5a3.25 3.25 0 0 0 1.477-6.146A3.25 3.25 0 0 0 8.5 2.25zm3.5 5a1.75 1.75 0 1 0 0-3.5h-2v3.5zm-2 1.5v3.5h3a1.75 1.75 0 1 0 0-3.5z" clip-rule="evenodd"/></svg>
|
|
@@ -293,7 +294,7 @@ import './index.css';const ft = `<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
293
294
|
setup(e, { emit: c }) {
|
|
294
295
|
const M = e;
|
|
295
296
|
function d(o) {
|
|
296
|
-
return o.map(
|
|
297
|
+
return o.map(mt).filter((t) => ct(t, M.state));
|
|
297
298
|
}
|
|
298
299
|
function f(o, t) {
|
|
299
300
|
V(o, M.state) && (o.action ? o.action.run({ commands: M.commands, execute: (b) => r("execute", b), state: M.state }) : r("execute", t));
|
|
@@ -308,7 +309,7 @@ import './index.css';const ft = `<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
308
309
|
role: "toolbar",
|
|
309
310
|
"aria-label": e.translate("toolbar")
|
|
310
311
|
}, [
|
|
311
|
-
(s(!0), u(A, null, ne((e.toolbarConfig ?? m(
|
|
312
|
+
(s(!0), u(A, null, ne((e.toolbarConfig ?? m(ut)(e.toolbarPreset)).groups, (b) => (s(), u("div", {
|
|
312
313
|
key: b.id,
|
|
313
314
|
class: "markdown-editor__toolbar-group",
|
|
314
315
|
role: "group",
|
|
@@ -979,7 +980,7 @@ const $a = ["data-locale", "data-mode", "data-theme"], Va = {
|
|
|
979
980
|
onSelectMode: qe,
|
|
980
981
|
onSelectTextStyle: Pe
|
|
981
982
|
}, null, 8, ["code-visible", "formula-visible", "heading-visible", "list-visible", "mode", "mode-visible", "state", "text-style", "theme"]),
|
|
982
|
-
m(E).visible.value ? (s(), Z(
|
|
983
|
+
m(E).visible.value ? (s(), Z(gt, {
|
|
983
984
|
key: 0,
|
|
984
985
|
ref_key: "linkForm",
|
|
985
986
|
ref: fe,
|
|
@@ -996,7 +997,7 @@ const $a = ["data-locale", "data-mode", "data-theme"], Va = {
|
|
|
996
997
|
"onUpdate:url": i[8] || (i[8] = (g) => P.value = g),
|
|
997
998
|
"onUpdate:openInNewWindow": i[9] || (i[9] = (g) => W.value = g)
|
|
998
999
|
}, null, 8, ["has-current-link", "locale", "open-in-new-window", "theme", "text", "url"])) : T("", !0),
|
|
999
|
-
m(F).visible.value ? (s(), Z(
|
|
1000
|
+
m(F).visible.value ? (s(), Z(vt, {
|
|
1000
1001
|
key: 1,
|
|
1001
1002
|
ref_key: "imageForm",
|
|
1002
1003
|
ref: J,
|
|
@@ -1041,8 +1042,8 @@ const $a = ["data-locale", "data-mode", "data-theme"], Va = {
|
|
|
1041
1042
|
], 2)
|
|
1042
1043
|
], 8, $a));
|
|
1043
1044
|
}
|
|
1044
|
-
}),
|
|
1045
|
-
function
|
|
1045
|
+
}), Oa = /* @__PURE__ */ X(Sa, [["__scopeId", "data-v-cf11416f"]]);
|
|
1046
|
+
function qa(e = {}) {
|
|
1046
1047
|
const c = Xe(e), M = y(c.getValue()), d = y(c.getMode()), f = y(c.readonly), r = y(c.toolbarVisible), h = () => c.destroy();
|
|
1047
1048
|
return c.on("change", (o) => {
|
|
1048
1049
|
M.value = o;
|
|
@@ -1062,232 +1063,232 @@ function Oa(e = {}) {
|
|
|
1062
1063
|
};
|
|
1063
1064
|
}
|
|
1064
1065
|
export {
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1066
|
+
el as ActionsManager,
|
|
1067
|
+
xl as BaseInputRules,
|
|
1068
|
+
Ll as BaseKeymap,
|
|
1069
|
+
Tl as BaseSchema,
|
|
1070
|
+
Bl as Blockquote,
|
|
1071
|
+
xi as BlockquoteSpecs,
|
|
1072
|
+
El as Bold,
|
|
1073
|
+
Li as BoldAttrs,
|
|
1074
|
+
Ti as BoldSpecs,
|
|
1075
|
+
Bi as BreakNodeName,
|
|
1076
|
+
Hl as Breaks,
|
|
1077
|
+
Ei as BreaksSpecs,
|
|
1078
|
+
$l as ClicksOnEdges,
|
|
1079
|
+
Vl as Clipboard,
|
|
1080
|
+
Sl as Code,
|
|
1081
|
+
Al as CodeBlock,
|
|
1082
|
+
Hi as CodeBlockAttrs,
|
|
1083
|
+
$i as CodeBlockSpecs,
|
|
1084
|
+
Vi as CodeSpecs,
|
|
1085
|
+
bi as CommonMarkPreset,
|
|
1086
|
+
Mi as CommonMarkSpecsPreset,
|
|
1087
|
+
Pl as Cursor,
|
|
1088
|
+
ki as DefaultPreset,
|
|
1089
|
+
zl as Deflist,
|
|
1090
|
+
Si as DeflistAttr,
|
|
1091
|
+
Ai as DeflistNode,
|
|
1092
|
+
Pi as DeflistSpecs,
|
|
1093
|
+
Fl as EditorModeKeymap,
|
|
1094
|
+
tl as EventEmitter,
|
|
1095
|
+
al as ExtensionBuilder,
|
|
1096
|
+
ll as ExtensionPriority,
|
|
1097
|
+
nl as ExtensionsManager,
|
|
1098
|
+
wi as FullPreset,
|
|
1099
|
+
Ci as FullSpecsPreset,
|
|
1100
|
+
Nl as GapCursorSelection,
|
|
1101
|
+
Rl as Heading,
|
|
1102
|
+
zi as HeadingSpecs,
|
|
1103
|
+
Dl as History,
|
|
1104
|
+
Il as HistoryAction,
|
|
1105
|
+
Ol as HorizontalRule,
|
|
1106
|
+
Fi as HorizontalRuleSpecs,
|
|
1107
|
+
ql as Html,
|
|
1108
|
+
jl as HtmlAttr,
|
|
1109
|
+
Ul as HtmlNode,
|
|
1110
|
+
Wl as Image,
|
|
1111
|
+
Ql as ImageAttr,
|
|
1112
|
+
Gl as Italic,
|
|
1113
|
+
Ni as ItalicAttrs,
|
|
1114
|
+
Ri as ItalicSpecs,
|
|
1115
|
+
Wa as Lang,
|
|
1116
|
+
Yl as Link,
|
|
1117
|
+
Di as LinkAttr,
|
|
1118
|
+
Ii as LinkSpecs,
|
|
1119
|
+
Zl as Lists,
|
|
1120
|
+
ol as Logger,
|
|
1121
|
+
il as Logger2,
|
|
1122
|
+
Kl as Mark,
|
|
1123
|
+
sl as MarkdownCodec,
|
|
1124
|
+
Oa as MarkdownEditor,
|
|
1125
|
+
gi as MarkdownEditorForm,
|
|
1126
|
+
vt as MarkdownEditorImageForm,
|
|
1127
|
+
gt as MarkdownEditorLinkForm,
|
|
1128
|
+
vi as MarkdownEditorTextInput,
|
|
1129
|
+
rl as MarkdownParser,
|
|
1130
|
+
dl as MarkdownParserDynamicModifier,
|
|
1131
|
+
Xl as Mermaid,
|
|
1132
|
+
ul as ParserTokenRegistry,
|
|
1133
|
+
ml as ParserTokensRegistry,
|
|
1134
|
+
Jl as Placeholder,
|
|
1135
|
+
_l as QuoteLink,
|
|
1136
|
+
en as Resizable,
|
|
1137
|
+
cl as SafeEventEmitter,
|
|
1138
|
+
gl as SchemaDynamicModifier,
|
|
1139
|
+
vl as SchemaSpecRegistry,
|
|
1140
|
+
tn as Selection,
|
|
1141
|
+
an as SelectionContext,
|
|
1142
|
+
fl as SerializerTokenRegistry,
|
|
1143
|
+
bl as SerializerTokensRegistry,
|
|
1144
|
+
ln as Strike,
|
|
1145
|
+
nn as Table,
|
|
1146
|
+
Oi as TableAttrs,
|
|
1147
|
+
qi as TableCellAlign,
|
|
1148
|
+
ji as TableNode,
|
|
1149
|
+
Ui as TableSpecs,
|
|
1150
|
+
on as Underline,
|
|
1151
|
+
sn as VERSION,
|
|
1152
|
+
kl as WysiwygContentHandler,
|
|
1153
|
+
rn as YfmHtmlBlock,
|
|
1154
|
+
hi as ZeroPreset,
|
|
1155
|
+
dn as addBreak,
|
|
1156
|
+
un as addEmptyDefaultTextblockToEndOfDocumentActionName,
|
|
1157
|
+
mn as addEmptyDefaultTextblockToStartOfDocumentActionName,
|
|
1158
|
+
cn as addHorizontalRule,
|
|
1159
|
+
gn as addImage,
|
|
1160
|
+
vn as addParagraphToEnd,
|
|
1161
|
+
fn as addParagraphToStart,
|
|
1162
|
+
bn as addTableColumn,
|
|
1163
|
+
kn as addTableRow,
|
|
1164
|
+
wn as arrowDown,
|
|
1165
|
+
hn as arrowLeft,
|
|
1166
|
+
yn as arrowRight,
|
|
1167
|
+
Mn as arrowUp,
|
|
1168
|
+
wl as basicMarkdownCodec,
|
|
1169
|
+
hl as basicMarkdownSchema,
|
|
1170
|
+
Wi as blockquoteNodeName,
|
|
1171
|
+
Qi as boldMarkName,
|
|
1172
|
+
Ka as cn,
|
|
1173
|
+
Gi as codeBlockNodeName,
|
|
1174
|
+
Yi as codeMarkName,
|
|
1175
|
+
Cn as collapseListsPlugin,
|
|
1176
|
+
li as commonmarkToolbarConfig,
|
|
1177
|
+
Qa as configure,
|
|
1178
|
+
ei as configureAdvancedMarkdownRenderers,
|
|
1178
1179
|
Ye as createBasicEditorCommands,
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1180
|
+
pn as createFakeParagraph,
|
|
1181
|
+
xn as createGapCursorPlugin,
|
|
1182
|
+
Ln as createHistoryActions,
|
|
1183
|
+
Tn as createListActions,
|
|
1184
|
+
Bn as createListsInputRules,
|
|
1185
|
+
En as createListsKeymap,
|
|
1185
1186
|
Xe as createMarkdownEditor,
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1187
|
+
Hn as createTable,
|
|
1188
|
+
ni as createToolbarConfig,
|
|
1189
|
+
oi as createToolbarGroup,
|
|
1190
|
+
ii as createToolbarItem,
|
|
1191
|
+
$n as createVueContextPanelPlugin,
|
|
1192
|
+
Vn as createVueNodeView,
|
|
1193
|
+
Sn as createVueWidgetDecoration,
|
|
1194
|
+
yl as defaultMarkdownSchema,
|
|
1195
|
+
An as defaultMermaidSource,
|
|
1196
|
+
si as defaultToolbarConfig,
|
|
1197
|
+
Pn as defaultYfmHtml,
|
|
1198
|
+
zn as deleteTable,
|
|
1199
|
+
Fn as deleteTableColumn,
|
|
1200
|
+
Nn as deleteTableRow,
|
|
1201
|
+
Rn as findFakeParaPosClosestToPos,
|
|
1202
|
+
Dn as findFakeParaPosForCodeBlock,
|
|
1203
|
+
In as findFakeParaPosForNodeSelection,
|
|
1204
|
+
On as findFakeParaPosForTextSelection,
|
|
1205
|
+
ri as fullToolbarConfig,
|
|
1206
|
+
qn as gapCursorBackspace,
|
|
1207
|
+
ti as getAdvancedMarkdownRenderers,
|
|
1208
|
+
Ml as getBasicWysiwygSelectionState,
|
|
1209
|
+
jn as getBlockquoteType,
|
|
1210
|
+
Un as getBoldType,
|
|
1211
|
+
Wn as getCodeBlockType,
|
|
1212
|
+
Qn as getCodeType,
|
|
1213
|
+
Ga as getConfig,
|
|
1214
|
+
Gn as getCurrentLink,
|
|
1215
|
+
Yn as getDeflistTypes,
|
|
1216
|
+
Zn as getHeadingType,
|
|
1217
|
+
Kn as getHorizontalRuleType,
|
|
1218
|
+
Xn as getImageType,
|
|
1219
|
+
Jn as getItalicType,
|
|
1220
|
+
_n as getLinkType,
|
|
1221
|
+
eo as getMarkType,
|
|
1221
1222
|
Ge as getMarkdownEditorMessages,
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1223
|
+
to as getQuoteLinkType,
|
|
1224
|
+
ao as getStrikeType,
|
|
1225
|
+
ut as getToolbarConfig,
|
|
1226
|
+
lo as getUnderlineType,
|
|
1227
|
+
no as goToTableCell,
|
|
1228
|
+
Zi as headingLevelAttr,
|
|
1229
|
+
Ki as headingNodeName,
|
|
1230
|
+
oo as hierarchicalSelectAll,
|
|
1231
|
+
Xi as horizontalRuleMarkupAttr,
|
|
1232
|
+
Ji as horizontalRuleNodeName,
|
|
1233
|
+
io as imageNodeName,
|
|
1234
|
+
so as imageObjectFitValues,
|
|
1235
|
+
ro as insertMermaid,
|
|
1236
|
+
uo as insertTable,
|
|
1237
|
+
mo as insertYfmHtmlBlock,
|
|
1238
|
+
co as isBreakNode,
|
|
1239
|
+
go as isGapCursorSelection,
|
|
1240
|
+
vo as isInsideCode,
|
|
1240
1241
|
j as isToolbarItemActive,
|
|
1241
|
-
|
|
1242
|
+
ct as isToolbarItemAvailable,
|
|
1242
1243
|
V as isToolbarItemEnabled,
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1244
|
+
_i as italicMarkName,
|
|
1245
|
+
fo as joinPrevList,
|
|
1246
|
+
bo as liftEmptyListItem,
|
|
1247
|
+
ko as liftFromQuote,
|
|
1248
|
+
es as linkMarkName,
|
|
1249
|
+
wo as markMarkName,
|
|
1250
|
+
Ja as markdownEditorMessages,
|
|
1251
|
+
di as markdownEditorToolbarItemIds,
|
|
1252
|
+
ho as mergeListsPlugin,
|
|
1253
|
+
yo as mermaidActionName,
|
|
1254
|
+
Mo as mermaidNodeName,
|
|
1255
|
+
ui as minimalToolbarConfig,
|
|
1255
1256
|
Ke as mountBasicMarkupEditor,
|
|
1256
1257
|
Ze as mountBasicWysiwygEditor,
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1258
|
+
Co as moveToNextTableRow,
|
|
1259
|
+
po as newlineInCode,
|
|
1260
|
+
mt as normalizeToolbarItem,
|
|
1261
|
+
xo as quoteLinkActionName,
|
|
1262
|
+
Lo as quoteLinkNodeName,
|
|
1263
|
+
To as removeCurrentLink,
|
|
1264
|
+
Bo as removeLink,
|
|
1265
|
+
Cl as renderMarkdownPreview,
|
|
1266
|
+
Eo as resetCodeBlock,
|
|
1267
|
+
Ho as resetHeading,
|
|
1268
|
+
$o as setCodeBlock,
|
|
1269
|
+
Vo as setCodeBlockLanguage,
|
|
1270
|
+
So as setImageDisplay,
|
|
1271
|
+
Ao as setLink,
|
|
1272
|
+
Po as setTableColumnAlignment,
|
|
1273
|
+
zo as sinkOnlySelectedListItem,
|
|
1274
|
+
Fo as splitDeflist,
|
|
1275
|
+
No as strikeMarkName,
|
|
1276
|
+
Ya as subscribeConfigure,
|
|
1277
|
+
Ro as toHeading,
|
|
1278
|
+
Do as toList,
|
|
1279
|
+
Io as toggleBold,
|
|
1280
|
+
Oo as toggleCode,
|
|
1281
|
+
qo as toggleHighlight,
|
|
1282
|
+
jo as toggleItalic,
|
|
1283
|
+
Uo as toggleLink,
|
|
1284
|
+
Wo as toggleQuote,
|
|
1285
|
+
Qo as toggleQuoteLink,
|
|
1286
|
+
Go as toggleStrike,
|
|
1287
|
+
Yo as toggleUnderline,
|
|
1288
|
+
Zo as underlineMarkName,
|
|
1289
|
+
qa as useMarkdownEditor,
|
|
1290
|
+
Ko as wrapToDeflist,
|
|
1291
|
+
Xo as yfmHtmlBlockActionName,
|
|
1292
|
+
Jo as yfmHtmlBlockNodeName,
|
|
1293
|
+
mi as zeroToolbarConfig
|
|
1293
1294
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/renderer/MarkdownRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/renderer/MarkdownRenderer.vue"],"names":[],"mappings":"AAgKA,OAAO,KAAK,EAAkC,2BAA2B,EAAC,MAAM,eAAe,CAAC;AAIhG,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;CACrD,CAAC;;;;AAuIF,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.markdown-renderer[data-v-91962f8a]{--markdown-renderer-code-background: #eef1f5;--markdown-renderer-link: #1d5fd1}.markdown-renderer[data-v-91962f8a] h1,.markdown-renderer[data-v-91962f8a] h2,.markdown-renderer[data-v-91962f8a] h3,.markdown-renderer[data-v-91962f8a] h4,.markdown-renderer[data-v-91962f8a] h5,.markdown-renderer[data-v-91962f8a] h6{margin-block:1.25em .5em;font-weight:600;line-height:1.25}.markdown-renderer[data-v-91962f8a] h1{font-size:2em}.markdown-renderer[data-v-91962f8a] h2{font-size:1.5em}.markdown-renderer[data-v-91962f8a] h3{font-size:1.25em}.markdown-renderer[data-v-91962f8a] h4{font-size:1.125em}.markdown-renderer[data-v-91962f8a] h5{font-size:1em}.markdown-renderer[data-v-91962f8a] h6{font-size:.875em}.markdown-renderer[data-v-91962f8a]>:first-child{margin-block-start:0}.markdown-renderer[data-v-91962f8a] a{color:var(--markdown-renderer-link);text-decoration:underline;text-underline-offset:.15em}.markdown-renderer[data-v-91962f8a] code{padding:.15em .35em;border-radius:.25rem;background:var(--markdown-renderer-code-background);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.875em}.markdown-renderer[data-v-91962f8a] pre code{padding:0;border-radius:0;background:transparent;font-size:inherit}
|