@milkdown/crepe 7.3.4 → 7.3.5
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/lib/feature/block-edit/handle/index.d.ts.map +1 -1
- package/lib/feature/block-edit/menu/index.d.ts.map +1 -1
- package/lib/feature/toolbar/index.d.ts.map +1 -1
- package/lib/{index-YMk3n5vO.js → index-1KQHo-44.js} +4 -4
- package/lib/{index-TsIsEZU1.js → index-4p4g7ekJ.js} +1 -1
- package/lib/{index-h_6aZnx8.js → index-4uesIuIi.js} +4 -4
- package/lib/{index-3qfZtuPz.js → index-51ybuhXd.js} +1 -1
- package/lib/{index-2Cm9HHYj.js → index-96I5UgEh.js} +1 -1
- package/lib/{index-Gz6CQY-t.js → index-C17brGmy.js} +4 -4
- package/lib/{index-b2y_N_O5.js → index-EhPVaWMa.js} +7 -7
- package/lib/{index-j2S9Lybz.js → index-IKzcztdD.js} +1 -1
- package/lib/{index-TRbxSkC1.js → index-KDuMRRPt.js} +4 -4
- package/lib/{index-H0TD0r41.js → index-K_kBonEs.js} +1 -1
- package/lib/{index-JGveSciI.js → index-Mwqn_gij.js} +7 -7
- package/lib/{index-5QLddZAp.js → index-P2HixfB4.js} +4 -4
- package/lib/{index-8NLp8LdC.js → index-PwfWCMtB.js} +9 -9
- package/lib/{index-yP4hAgM2.js → index-S3dtETwZ.js} +46 -45
- package/lib/{index-Gg_apETx.js → index-T6CCBIrO.js} +5 -5
- package/lib/{index-Zxe2neJQ.js → index-UdINtlLB.js} +148 -146
- package/lib/{index-kwrazjQE.js → index-WpINpUas.js} +7 -7
- package/lib/{index-wbiYuOxV.js → index-YjIgdsm-.js} +93 -89
- package/lib/{index-oOHgRzEu.js → index-ZyvuYqIf.js} +21 -20
- package/lib/{index-kJIKUIIa.js → index-brbFUWoa.js} +18 -18
- package/lib/{index-fJFWq6Y-.js → index-cAviWcah.js} +7 -7
- package/lib/{index-KpfNv3rh.js → index-f8O1bHwz.js} +4 -4
- package/lib/{index-0c09be_R.js → index-f_vMXWyc.js} +4 -4
- package/lib/{index-xkrG0YF8.js → index-gRh597MD.js} +5 -5
- package/lib/{index-WAhmZOxr.js → index-gaQ0Jeve.js} +4 -4
- package/lib/{index-ffdCLz6T.js → index-hcG6NuOF.js} +2 -2
- package/lib/{index-qQMehYhQ.js → index-iECr6hjv.js} +24 -24
- package/lib/{index-7mRbGzci.js → index-iHi9E5fI.js} +5 -5
- package/lib/{index-bnwzlBfQ.js → index-sAnPFt21.js} +6 -6
- package/lib/{index-Ic30Lzgg.js → index-wD9meLYq.js} +4 -4
- package/lib/{index-hNRb95TL.js → index-zY_Ffd-9.js} +4 -4
- package/lib/index.es.js +1 -1
- package/lib/{schema-t8-IDHY6.js → schema-PTbL6iMu.js} +1 -1
- package/lib/{tippy.esm-xX0Dh8mH.js → tippy.esm-lHdsQkl8.js} +33 -33
- package/lib/{tooltip-plugin-0UgO85XO.js → tooltip-plugin-Pjm6nx6a.js} +17 -17
- package/package.json +14 -14
- package/src/feature/block-edit/handle/index.ts +2 -1
- package/src/feature/block-edit/menu/index.ts +2 -0
- package/src/feature/toolbar/index.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/handle/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAQtD,qBAAa,eAAgB,YAAW,UAAU;;gBAKpC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/handle/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAQtD,qBAAa,eAAgB,YAAW,UAAU;;gBAKpC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU;IAqBtC,MAAM,SAAU,UAAU,UAEzB;IAED,OAAO,aAGN;IAED,KAAK,aAsBJ;CACF;AAGD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,QAI5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/menu/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/menu/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAQxC,eAAO,MAAM,IAAI,iEAA6B,CAAA;AAE9C,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3B,IAAI,EAAE,MAAM,IAAI,CAAA;CACjB;AAED,eAAO,MAAM,OAAO,uDAGO,CAAA;AAG3B,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,QAIrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature/toolbar/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature/toolbar/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAyE9C,eAAO,MAAM,aAAa,EAAE,aAS3B,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as J, a as ee, i as te, c as ae, b as re, d as ne, f as ie, s as se, t as i, e as oe } from "./index-
|
|
2
|
-
import { E as le, L as ce } from "./index-
|
|
1
|
+
import { L as J, a as ee, i as te, c as ae, b as re, d as ne, f as ie, s as se, t as i, e as oe } from "./index-iECr6hjv.js";
|
|
2
|
+
import { E as le, L as ce } from "./index-4p4g7ekJ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const de = 36, B = 1, me = 2, k = 3, C = 4, ue = 5, fe = 6, pe = 7, ge = 8, he = 9, _e = 10, be = 11, ve = 12, ye = 13, ke = 14, xe = 15, Oe = 16, we = 17, X = 18, Qe = 19, V = 20, $ = 21, R = 22, Se = 23, Ce = 24;
|
|
10
10
|
function P(t) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as Z, E as k, L as N } from "./index-
|
|
2
|
-
import { s as Y, t as $, L as A, b as I, f as j, F as U, a as z, e as q } from "./index-
|
|
1
|
+
import { C as Z, E as k, L as N } from "./index-4p4g7ekJ.js";
|
|
2
|
+
import { s as Y, t as $, L as A, b as I, f as j, F as U, a as z, e as q } from "./index-iECr6hjv.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const v = 1, D = 2, F = 3, M = 4, B = 5, J = 35, L = 36, H = 37, K = 11, ee = 13;
|
|
10
10
|
function te(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./prosemirror-noTDkx-k.js";
|
|
2
|
-
import { i as r } from "./index-
|
|
2
|
+
import { i as r } from "./index-S3dtETwZ.js";
|
|
3
3
|
const i = '.milkdown{--crepe-color-background: #FFFDFB;--crepe-color-on-background: #1F1B16;--crepe-color-surface: #FFF8F4;--crepe-color-surface-low: #FFF1E5;--crepe-color-on-surface: #201B13;--crepe-color-on-surface-variant: #4F4539;--crepe-color-outline: #817567;--crepe-color-primary: #805610;--crepe-color-secondary: #FBDEBC;--crepe-color-on-secondary: #271904;--crepe-color-inverse: #362F27;--crepe-color-on-inverse: #FCEFE2;--crepe-color-inline-code: #BA1A1A;--crepe-color-error: #BA1A1A;--crepe-color-hover: #F9ECDF;--crepe-color-selected: #EDE0D4;--crepe-color-inline-area: #E4D8CC;--crepe-font-title: Georgia, Cambria, "Times New Roman", Times, serif;--crepe-font-default: "Open Sans", Arial, Helvetica, sans-serif;--crepe-font-code: Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;--crepe-shadow-1: 0px 1px 3px 1px rgba(0, 0, 0, .15), 0px 1px 2px 0px rgba(0, 0, 0, .3);--crepe-shadow-2: 0px 2px 6px 2px rgba(0, 0, 0, .15), 0px 1px 2px 0px rgba(0, 0, 0, .3);font-family:var(--crepe-font-default);color:var(--crepe-color-on-background);background:var(--crepe-color-background)}.milkdown *{margin:0;padding:0;box-sizing:border-box}.milkdown button,.milkdown input{border:none;background:none;box-shadow:none}.milkdown button:focus,.milkdown input:focus{outline:none}.milkdown :focus-visible{outline:none}.milkdown .ProseMirror-focused{outline:none}.milkdown .ProseMirror{padding:60px 120px}.milkdown .ProseMirror>*{margin:20px 0 40px}.milkdown .ProseMirror *::selection{background:var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode{outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode:after{all:unset}.milkdown .ProseMirror .ProseMirror-selectednode{background:var(--crepe-color-selected);outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror img{vertical-align:bottom;max-width:100%}.milkdown .ProseMirror img.ProseMirror-selectednode{background:none;outline:2px solid var(--crepe-color-primary)}.milkdown .ProseMirror h1,.milkdown .ProseMirror h2,.milkdown .ProseMirror h3,.milkdown .ProseMirror h4,.milkdown .ProseMirror h5,.milkdown .ProseMirror h6{font-family:var(--crepe-font-title);font-weight:400}.milkdown .ProseMirror h1{font-size:42px;line-height:50px}.milkdown .ProseMirror h2{font-size:36px;line-height:44px}.milkdown .ProseMirror h3{font-size:32px;line-height:40px}.milkdown .ProseMirror h4{font-size:28px;line-height:36px}.milkdown .ProseMirror h5{font-size:24px;line-height:32px}.milkdown .ProseMirror h6{font-size:18px;font-weight:700;line-height:28px}.milkdown .ProseMirror p{font-size:16px;line-height:24px}.milkdown .ProseMirror code{color:var(--crepe-color-inline-code);background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:0 10px;border-radius:4px}.milkdown .ProseMirror a{color:var(--crepe-color-primary)}.milkdown .ProseMirror pre{background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:10px;border-radius:4px}.milkdown .ProseMirror pre code{padding:0;background:transparent}.milkdown .ProseMirror blockquote{position:relative;padding-left:40px}.milkdown .ProseMirror blockquote:before{content:"";width:4px;height:100%;left:0;position:absolute;background:var(--crepe-color-selected);border-radius:100px}.milkdown .ProseMirror blockquote hr{margin-bottom:16px}.milkdown .ProseMirror hr{border:none;border-bottom:1px solid color-mix(in srgb,var(--crepe-color-outline),transparent 80%);height:16px;position:relative}.milkdown .ProseMirror hr.ProseMirror-selectednode{outline:none;background:none;border-bottom:1px solid var(--crepe-color-outline)}.milkdown .ProseMirror .ProseMirror-gapcursor:after{box-sizing:border-box;border-top:1px solid var(--crepe-color-on-background);top:-40px}', c = (o) => {
|
|
4
4
|
o.config(r(e)).config(r(i));
|
|
5
5
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as o } from "./index-
|
|
2
|
-
import { s, t as r, L as n, b as P, d as a, f as i, j as Q, a as c } from "./index-
|
|
1
|
+
import { L as o } from "./index-4p4g7ekJ.js";
|
|
2
|
+
import { s, t as r, L as n, b as P, d as a, f as i, j as Q, a as c } from "./index-iECr6hjv.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const p = s({
|
|
10
10
|
String: r.string,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { N as $, k as M, s as xe, l as Ae, t as c, P as tt, T as rt, m as B, p as nt, e as j, E as I, n as R, a as ae, o as st, q as it, C as ot, r as at, u as lt, v as ht, w as ft, f as Ee, b as ut, x as dt, y as pt, z as le, A as ct } from "./index-
|
|
2
|
-
import { htmlCompletionSource as mt, html as gt } from "./index-
|
|
1
|
+
import { N as $, k as M, s as xe, l as Ae, t as c, P as tt, T as rt, m as B, p as nt, e as j, E as I, n as R, a as ae, o as st, q as it, C as ot, r as at, u as lt, v as ht, w as ft, f as Ee, b as ut, x as dt, y as pt, z as le, A as ct } from "./index-iECr6hjv.js";
|
|
2
|
+
import { htmlCompletionSource as mt, html as gt } from "./index-sAnPFt21.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
9
|
+
import "./index-4p4g7ekJ.js";
|
|
10
|
+
import "./index-zY_Ffd-9.js";
|
|
11
|
+
import "./index-f8O1bHwz.js";
|
|
12
12
|
class X {
|
|
13
13
|
static create(e, r, n, s, i) {
|
|
14
14
|
let o = s + (s << 8) + e + (r << 4) | 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./prosemirror-noTDkx-k.js";
|
|
2
|
-
import { i as r } from "./index-
|
|
2
|
+
import { i as r } from "./index-S3dtETwZ.js";
|
|
3
3
|
const i = '.milkdown{--crepe-color-background: #1F1B16;--crepe-color-on-background: #EAE1D9;--crepe-color-surface: #18120B;--crepe-color-surface-low: #201B13;--crepe-color-on-surface: #EDE0D4;--crepe-color-on-surface-variant: #D3C4B4;--crepe-color-outline: #9C8F80;--crepe-color-primary: #F4BD6F;--crepe-color-secondary: #56442A;--crepe-color-on-secondary: #FBDEBC;--crepe-color-inverse: #EDE0D4;--crepe-color-on-inverse: #362F27;--crepe-color-inline-code: #FFB4AB;--crepe-color-error: #FFB4AB;--crepe-color-hover: #251F17;--crepe-color-selected: #3B342B;--crepe-color-inline-area: #3F3830;--crepe-font-title: Georgia, Cambria, "Times New Roman", Times, serif;--crepe-font-default: "Open Sans", Arial, Helvetica, sans-serif;--crepe-font-code: Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;--crepe-shadow-1: 0px 1px 2px 0px rgba(0, 0, 0, .3), 0px 1px 3px 1px rgba(0, 0, 0, .15);--crepe-shadow-2: 0px 1px 2px 0px rgba(0, 0, 0, .3), 0px 2px 6px 2px rgba(0, 0, 0, .15);font-family:var(--crepe-font-default);color:var(--crepe-color-on-background);background:var(--crepe-color-background)}.milkdown *{margin:0;padding:0;box-sizing:border-box}.milkdown button,.milkdown input{border:none;background:none;box-shadow:none}.milkdown button:focus,.milkdown input:focus{outline:none}.milkdown :focus-visible{outline:none}.milkdown input{font-family:var(--crepe-font-default);color:var(--crepe-color-on-background)}.milkdown .ProseMirror-focused{outline:none}.milkdown .ProseMirror{padding:60px 120px}.milkdown .ProseMirror>*{margin:20px 0 40px}.milkdown .ProseMirror *::selection{background:var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode{outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode:after{all:unset}.milkdown .ProseMirror .ProseMirror-selectednode{background:var(--crepe-color-selected);outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror img{vertical-align:bottom;max-width:100%}.milkdown .ProseMirror img.ProseMirror-selectednode{background:none;outline:2px solid var(--crepe-color-primary)}.milkdown .ProseMirror h1,.milkdown .ProseMirror h2,.milkdown .ProseMirror h3,.milkdown .ProseMirror h4,.milkdown .ProseMirror h5,.milkdown .ProseMirror h6{font-family:var(--crepe-font-title);font-weight:400}.milkdown .ProseMirror h1{font-size:42px;line-height:50px}.milkdown .ProseMirror h2{font-size:36px;line-height:44px}.milkdown .ProseMirror h3{font-size:32px;line-height:40px}.milkdown .ProseMirror h4{font-size:28px;line-height:36px}.milkdown .ProseMirror h5{font-size:24px;line-height:32px}.milkdown .ProseMirror h6{font-size:18px;font-weight:700;line-height:28px}.milkdown .ProseMirror p{font-size:16px;line-height:24px}.milkdown .ProseMirror code{color:var(--crepe-color-inline-code);background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:0 10px;border-radius:4px}.milkdown .ProseMirror a{color:var(--crepe-color-primary)}.milkdown .ProseMirror pre{background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:10px;border-radius:4px}.milkdown .ProseMirror pre code{padding:0;background:transparent}.milkdown .ProseMirror blockquote{position:relative;padding-left:40px}.milkdown .ProseMirror blockquote:before{content:"";width:4px;height:100%;left:0;position:absolute;background:var(--crepe-color-selected);border-radius:100px}.milkdown .ProseMirror blockquote hr{margin-bottom:16px}.milkdown .ProseMirror hr{border:none;border-bottom:1px solid color-mix(in srgb,var(--crepe-color-outline),transparent 80%);height:16px;position:relative}.milkdown .ProseMirror hr.ProseMirror-selectednode{outline:none;background:none;border-bottom:1px solid var(--crepe-color-outline)}.milkdown .ProseMirror .ProseMirror-gapcursor:after{box-sizing:border-box;border-top:1px solid var(--crepe-color-on-background);top:-40px}', c = (o) => {
|
|
4
4
|
o.config(r(e)).config(r(i));
|
|
5
5
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as a, L as o } from "./index-
|
|
2
|
-
import { s as Z, t as Q, L as _, b as q, d as r, f as l, j as w, a as V } from "./index-
|
|
1
|
+
import { E as a, L as o } from "./index-4p4g7ekJ.js";
|
|
2
|
+
import { s as Z, t as Q, L as _, b as q, d as r, f as l, j as w, a as V } from "./index-iECr6hjv.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const R = 1, g = 2, b = 3, y = 4, T = 5, s = 98, c = 101, p = 102, t = 114, v = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
|
|
10
10
|
function n(O) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { L as p, a as u, s as m, t as e, p as n } from "./index-
|
|
2
|
-
import { html as l } from "./index-
|
|
3
|
-
import { javascriptLanguage as b } from "./index-
|
|
4
|
-
import { L as S, a as r } from "./index-
|
|
1
|
+
import { L as p, a as u, s as m, t as e, p as n } from "./index-iECr6hjv.js";
|
|
2
|
+
import { html as l } from "./index-sAnPFt21.js";
|
|
3
|
+
import { javascriptLanguage as b } from "./index-f8O1bHwz.js";
|
|
4
|
+
import { L as S, a as r } from "./index-4p4g7ekJ.js";
|
|
5
5
|
import "./meta-tAGyVRPE.js";
|
|
6
6
|
import "./icons-HYkfuR-O.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-S3dtETwZ.js";
|
|
8
8
|
import "./hooks-82sqkbtE.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-K_kBonEs.js";
|
|
10
10
|
import "./clsx-7d8NmkQq.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-zY_Ffd-9.js";
|
|
12
12
|
const c = /* @__PURE__ */ S.deserialize({
|
|
13
13
|
version: 14,
|
|
14
14
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as Y, L as S } from "./index-
|
|
2
|
-
import { s as l, t as Q, L as o, b as n, d as i, g as s, h as W, f as c, j as f, a as x } from "./index-
|
|
1
|
+
import { E as Y, L as S } from "./index-4p4g7ekJ.js";
|
|
2
|
+
import { s as l, t as Q, L as o, b as n, d as i, g as s, h as W, f as c, j as f, a as x } from "./index-iECr6hjv.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-S3dtETwZ.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-K_kBonEs.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const r = 1, Z = 2, V = 3, u = 82, p = 76, w = 117, q = 85, T = 97, y = 122, z = 65, b = 90, j = 95, a = 48, P = 34, v = 40, U = 41, d = 32, t = 62, _ = new Y((O) => {
|
|
10
10
|
if (O.next == p || O.next == q ? O.advance() : O.next == w && (O.advance(), O.next == a + 8 && O.advance()), O.next != u || (O.advance(), O.next != P))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as b,
|
|
1
|
+
import { P as b, o as T, p, q as V, T as v, t as x, F as w, w as k, D, x as M, $ as O, y as P, i as F, a as N, C as y } from "./index-S3dtETwZ.js";
|
|
2
2
|
function R(i = {}) {
|
|
3
3
|
return new b({
|
|
4
4
|
view(e) {
|
|
@@ -216,17 +216,17 @@ function L(i) {
|
|
|
216
216
|
function z() {
|
|
217
217
|
return new b({
|
|
218
218
|
props: {
|
|
219
|
-
decorations:
|
|
219
|
+
decorations: j,
|
|
220
220
|
createSelectionBetween(i, e, t) {
|
|
221
221
|
return e.pos == t.pos && a.valid(t) ? new a(t) : null;
|
|
222
222
|
},
|
|
223
|
-
handleClick:
|
|
224
|
-
handleKeyDown:
|
|
225
|
-
handleDOMEvents: { beforeinput:
|
|
223
|
+
handleClick: X,
|
|
224
|
+
handleKeyDown: J,
|
|
225
|
+
handleDOMEvents: { beforeinput: Y }
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
|
-
const
|
|
229
|
+
const J = V({
|
|
230
230
|
ArrowLeft: h("horiz", -1),
|
|
231
231
|
ArrowRight: h("horiz", 1),
|
|
232
232
|
ArrowUp: h("vert", -1),
|
|
@@ -245,7 +245,7 @@ function h(i, e) {
|
|
|
245
245
|
return c ? (r && r(o.tr.setSelection(new a(c))), !0) : !1;
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function X(i, e, t) {
|
|
249
249
|
if (!i || !i.editable)
|
|
250
250
|
return !1;
|
|
251
251
|
let o = i.state.doc.resolve(e);
|
|
@@ -254,7 +254,7 @@ function J(i, e, t) {
|
|
|
254
254
|
let r = i.posAtCoords({ left: t.clientX, top: t.clientY });
|
|
255
255
|
return r && r.inside > -1 && x.isSelectable(i.state.doc.nodeAt(r.inside)) ? !1 : (i.dispatch(i.state.tr.setSelection(new a(o))), !0);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Y(i, e) {
|
|
258
258
|
if (e.inputType != "insertCompositionText" || !(i.state.selection instanceof a))
|
|
259
259
|
return !1;
|
|
260
260
|
let { $from: t } = i.state.selection, o = t.parent.contentMatchAt(t.index()).findWrapping(i.state.schema.nodes.text);
|
|
@@ -266,7 +266,7 @@ function X(i, e) {
|
|
|
266
266
|
let l = i.state.tr.replace(t.pos, t.pos, new k(r, 0, 0));
|
|
267
267
|
return l.setSelection(v.near(l.doc.resolve(t.pos + 1))), i.dispatch(l), !1;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function j(i) {
|
|
270
270
|
if (!(i.selection instanceof a))
|
|
271
271
|
return null;
|
|
272
272
|
let e = document.createElement("div");
|
|
@@ -11,15 +11,15 @@ var ul = /* @__PURE__ */ ((n) => (n.Headless = "headless", n.Classic = "classic"
|
|
|
11
11
|
async function Hd(n, e) {
|
|
12
12
|
switch (n) {
|
|
13
13
|
case "headless": {
|
|
14
|
-
const { defineTheme: t } = await import("./index-
|
|
14
|
+
const { defineTheme: t } = await import("./index-96I5UgEh.js");
|
|
15
15
|
return t(e);
|
|
16
16
|
}
|
|
17
17
|
case "classic": {
|
|
18
|
-
const { defineTheme: t } = await import("./index-
|
|
18
|
+
const { defineTheme: t } = await import("./index-51ybuhXd.js");
|
|
19
19
|
return t(e);
|
|
20
20
|
}
|
|
21
21
|
case "classic-dark": {
|
|
22
|
-
const { defineTheme: t } = await import("./index-
|
|
22
|
+
const { defineTheme: t } = await import("./index-IKzcztdD.js");
|
|
23
23
|
return t(e);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -38,35 +38,35 @@ const Kd = {
|
|
|
38
38
|
async function Wd(n, e, t) {
|
|
39
39
|
switch (n) {
|
|
40
40
|
case "code-mirror": {
|
|
41
|
-
const { defineFeature: r } = await import("./index-
|
|
41
|
+
const { defineFeature: r } = await import("./index-iECr6hjv.js").then((i) => i.K);
|
|
42
42
|
return r(e, t);
|
|
43
43
|
}
|
|
44
44
|
case "list-item": {
|
|
45
|
-
const { defineFeature: r } = await import("./index-
|
|
45
|
+
const { defineFeature: r } = await import("./index-hcG6NuOF.js");
|
|
46
46
|
return r(e, t);
|
|
47
47
|
}
|
|
48
48
|
case "link-tooltip": {
|
|
49
|
-
const { defineFeature: r } = await import("./index-
|
|
49
|
+
const { defineFeature: r } = await import("./index-YjIgdsm-.js");
|
|
50
50
|
return r(e, t);
|
|
51
51
|
}
|
|
52
52
|
case "image-block": {
|
|
53
|
-
const { defineFeature: r } = await import("./index-
|
|
53
|
+
const { defineFeature: r } = await import("./index-brbFUWoa.js");
|
|
54
54
|
return r(e, t);
|
|
55
55
|
}
|
|
56
56
|
case "gap-cursor": {
|
|
57
|
-
const { defineFeature: r } = await import("./index-
|
|
57
|
+
const { defineFeature: r } = await import("./index-PwfWCMtB.js");
|
|
58
58
|
return r(e, t);
|
|
59
59
|
}
|
|
60
60
|
case "block-edit": {
|
|
61
|
-
const { defineFeature: r } = await import("./index-
|
|
61
|
+
const { defineFeature: r } = await import("./index-UdINtlLB.js");
|
|
62
62
|
return r(e, t);
|
|
63
63
|
}
|
|
64
64
|
case "placeholder": {
|
|
65
|
-
const { defineFeature: r } = await import("./index-
|
|
65
|
+
const { defineFeature: r } = await import("./index-gRh597MD.js");
|
|
66
66
|
return r(e, t);
|
|
67
67
|
}
|
|
68
68
|
case "toolbar": {
|
|
69
|
-
const { defineFeature: r } = await import("./index-
|
|
69
|
+
const { defineFeature: r } = await import("./index-ZyvuYqIf.js");
|
|
70
70
|
return r(e, t);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -20917,59 +20917,60 @@ class Xb {
|
|
|
20917
20917
|
ct = new WeakMap(), kr = new WeakMap(), xr = new WeakMap(), Ti = new WeakMap();
|
|
20918
20918
|
export {
|
|
20919
20919
|
bt as $,
|
|
20920
|
-
|
|
20921
|
-
|
|
20920
|
+
tt as A,
|
|
20921
|
+
Qb as B,
|
|
20922
20922
|
ul as C,
|
|
20923
20923
|
re as D,
|
|
20924
|
-
|
|
20924
|
+
Pn as E,
|
|
20925
20925
|
M as F,
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20930
|
-
|
|
20931
|
-
|
|
20932
|
-
|
|
20926
|
+
zn as G,
|
|
20927
|
+
Bi as H,
|
|
20928
|
+
Fi as I,
|
|
20929
|
+
Dr as J,
|
|
20930
|
+
vr as K,
|
|
20931
|
+
bh as L,
|
|
20932
|
+
it as M,
|
|
20933
20933
|
ac as N,
|
|
20934
|
-
|
|
20934
|
+
vn as O,
|
|
20935
20935
|
et as P,
|
|
20936
|
-
|
|
20937
|
-
|
|
20936
|
+
zi as Q,
|
|
20937
|
+
Tr as R,
|
|
20938
20938
|
gt as S,
|
|
20939
20939
|
W as T,
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
|
|
20940
|
+
Zt as U,
|
|
20941
|
+
Q as V,
|
|
20942
|
+
Zl as W,
|
|
20943
|
+
Yl as X,
|
|
20944
|
+
ta as Y,
|
|
20945
|
+
E0 as Z,
|
|
20946
|
+
Zb as _,
|
|
20947
20947
|
cm as a,
|
|
20948
|
-
|
|
20949
|
-
|
|
20948
|
+
qd as a0,
|
|
20949
|
+
Gu as a1,
|
|
20950
|
+
Xb as a2,
|
|
20950
20951
|
rn as b,
|
|
20951
20952
|
Li as c,
|
|
20952
20953
|
Zn as d,
|
|
20953
20954
|
ek as e,
|
|
20954
|
-
|
|
20955
|
-
|
|
20956
|
-
|
|
20955
|
+
ol as f,
|
|
20956
|
+
Qn as g,
|
|
20957
|
+
Pi as h,
|
|
20957
20958
|
Gb as i,
|
|
20958
|
-
|
|
20959
|
+
Ar as j,
|
|
20959
20960
|
pk as k,
|
|
20960
20961
|
Ft as l,
|
|
20961
20962
|
rl as m,
|
|
20962
20963
|
nl as n,
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
|
|
20964
|
+
Xm as o,
|
|
20965
|
+
K as p,
|
|
20966
|
+
kk as q,
|
|
20966
20967
|
od as r,
|
|
20967
20968
|
gs as s,
|
|
20968
|
-
|
|
20969
|
+
F as t,
|
|
20969
20970
|
sd as u,
|
|
20970
20971
|
Ir as v,
|
|
20971
|
-
|
|
20972
|
-
|
|
20973
|
-
|
|
20974
|
-
|
|
20972
|
+
T as w,
|
|
20973
|
+
Pe as x,
|
|
20974
|
+
Rn as y,
|
|
20975
|
+
dt as z
|
|
20975
20976
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { L as t, b as i, d as n, f as $, j as y, a as m, s as P, t as O } from "./index-
|
|
2
|
-
import { defineCSSCompletionSource as X } from "./index-
|
|
3
|
-
import { L as c, E as S } from "./index-
|
|
1
|
+
import { L as t, b as i, d as n, f as $, j as y, a as m, s as P, t as O } from "./index-iECr6hjv.js";
|
|
2
|
+
import { defineCSSCompletionSource as X } from "./index-zY_Ffd-9.js";
|
|
3
|
+
import { L as c, E as S } from "./index-4p4g7ekJ.js";
|
|
4
4
|
import "./meta-tAGyVRPE.js";
|
|
5
5
|
import "./icons-HYkfuR-O.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-S3dtETwZ.js";
|
|
7
7
|
import "./hooks-82sqkbtE.js";
|
|
8
|
-
import "./index-
|
|
8
|
+
import "./index-K_kBonEs.js";
|
|
9
9
|
import "./clsx-7d8NmkQq.js";
|
|
10
10
|
const f = 110, l = 1, s = 2, r = [
|
|
11
11
|
9,
|