@bendyline/squisq-editor-react 2.12.9 → 2.12.11
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/dist/{chunk-VYHPGIXU.js → chunk-2DHVG55U.js} +1 -1
- package/dist/{chunk-T7HO6JUS.js → chunk-B6DGISKE.js} +3 -3
- package/dist/{chunk-RWNS7R5S.js → chunk-HXQQK2S2.js} +2 -2
- package/dist/{chunk-G4INWIOX.js → chunk-LTT6QQHJ.js} +1 -1
- package/dist/{chunk-6KS5IDN3.js → chunk-MJNLKPGH.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/json-editor/index.js +3 -3
- package/dist/review/index.js +2 -2
- package/dist/shell/index.js +4 -4
- package/package.json +3 -3
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
useDictationState,
|
|
20
20
|
useEditorContext,
|
|
21
21
|
useEditorContextOptional
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2DHVG55U.js";
|
|
23
23
|
import {
|
|
24
24
|
monacoLanguageRequestKey,
|
|
25
25
|
monacoLanguagesForDocument,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-A2H3JOA5.js";
|
|
28
28
|
import {
|
|
29
29
|
MarkdownEscape
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MJNLKPGH.js";
|
|
31
31
|
import {
|
|
32
32
|
escapeLinkLabel,
|
|
33
33
|
formatLinkDestination,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
mediaEditNodeAttributeName,
|
|
37
37
|
mediaEditNodeAttributes,
|
|
38
38
|
tiptapToMarkdown
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LTT6QQHJ.js";
|
|
40
40
|
import {
|
|
41
41
|
ImageEditor,
|
|
42
42
|
ImageViewer,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MarkdownEscape
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MJNLKPGH.js";
|
|
4
4
|
import {
|
|
5
5
|
markdownToTiptap,
|
|
6
6
|
tiptapToMarkdown
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LTT6QQHJ.js";
|
|
8
8
|
|
|
9
9
|
// src/jsonEditor/JsonEditorContext.tsx
|
|
10
10
|
import { createContext, useContext, useEffect, useMemo } from "react";
|
|
@@ -1301,7 +1301,7 @@ function htmlToInline(html) {
|
|
|
1301
1301
|
let result = html;
|
|
1302
1302
|
const vault = new RawHtmlVault();
|
|
1303
1303
|
result = result.replace(
|
|
1304
|
-
/<span\b((?:[^>"']|"[^"]*"|'[^']*')*)>[
|
|
1304
|
+
/<span\b((?:[^>"']|"[^"]*"|'[^']*')*)>[^<]*<\/span>/gi,
|
|
1305
1305
|
(full, attrs) => {
|
|
1306
1306
|
const values = new Map(
|
|
1307
1307
|
[...attrs.matchAll(/([-\w]+)="([^"]*)"/g)].map((match) => [match[1], match[2]])
|
package/dist/index.js
CHANGED
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
videoEmbedParagraphJson,
|
|
244
244
|
viewStateFromBinding,
|
|
245
245
|
writeHeadingViewState
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-B6DGISKE.js";
|
|
247
247
|
import {
|
|
248
248
|
EditorProvider,
|
|
249
249
|
applySourceEditsToText,
|
|
@@ -264,7 +264,7 @@ import {
|
|
|
264
264
|
useBlockNavigator,
|
|
265
265
|
useEditorContext,
|
|
266
266
|
useEditorInsertMenuItems
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-2DHVG55U.js";
|
|
268
268
|
import {
|
|
269
269
|
SPEECH_INPUT_SAMPLE_RATE,
|
|
270
270
|
isSpeechInputProviderFactory,
|
|
@@ -273,14 +273,14 @@ import {
|
|
|
273
273
|
import "./chunk-A2H3JOA5.js";
|
|
274
274
|
import {
|
|
275
275
|
JsonEditor
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-HXQQK2S2.js";
|
|
277
277
|
import {
|
|
278
278
|
MarkdownEscape
|
|
279
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-MJNLKPGH.js";
|
|
280
280
|
import {
|
|
281
281
|
markdownToTiptap,
|
|
282
282
|
tiptapToMarkdown
|
|
283
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-LTT6QQHJ.js";
|
|
284
284
|
import {
|
|
285
285
|
ImageEditor,
|
|
286
286
|
ImageViewer,
|
package/dist/review/index.js
CHANGED
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
updateReviewDecorations,
|
|
20
20
|
useReview,
|
|
21
21
|
useReviewState
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-2DHVG55U.js";
|
|
23
23
|
import "../chunk-DNEVUOBZ.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-LTT6QQHJ.js";
|
|
25
25
|
|
|
26
26
|
// src/review/proofingAdapter.ts
|
|
27
27
|
import {
|
package/dist/shell/index.js
CHANGED
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
RawEditor,
|
|
6
6
|
WysiwygEditor,
|
|
7
7
|
useEditorContextMenuItems
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-B6DGISKE.js";
|
|
9
9
|
import {
|
|
10
10
|
EditorProvider,
|
|
11
11
|
useEditorContext,
|
|
12
12
|
useEditorInsertMenuItems
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-2DHVG55U.js";
|
|
14
14
|
import "../chunk-DNEVUOBZ.js";
|
|
15
15
|
import "../chunk-A2H3JOA5.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-MJNLKPGH.js";
|
|
17
|
+
import "../chunk-LTT6QQHJ.js";
|
|
18
18
|
import "../chunk-HLU6ZBS7.js";
|
|
19
19
|
import "../chunk-LXGQA2SY.js";
|
|
20
20
|
import "../chunk-LRZJD5YD.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-editor-react",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.11",
|
|
4
4
|
"description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"@bendyline/squisq-calc": "2.11.2",
|
|
107
107
|
"@bendyline/squisq-formats": "2.7.6",
|
|
108
108
|
"@bendyline/squisq-grid-react": "2.11.28",
|
|
109
|
-
"@bendyline/squisq-react": "2.12.
|
|
110
|
-
"@bendyline/squisq-video-react": "2.5.
|
|
109
|
+
"@bendyline/squisq-react": "2.12.7",
|
|
110
|
+
"@bendyline/squisq-video-react": "2.5.8",
|
|
111
111
|
"@fortawesome/fontawesome-free": "7.3.1",
|
|
112
112
|
"@tiptap/core": "2.27.3",
|
|
113
113
|
"@tiptap/extension-heading": "2.27.3",
|