reactjs-tiptap-editor 0.0.32 → 0.0.34
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/index.d.cts +68 -55
- package/lib/index.d.ts +68 -55
- package/lib/{locales-RKFY1Hr_.js → locales-Cf71hS5u.js} +1 -1
- package/lib/{locales-CNDUZakH.cjs → locales-ZNMN5VNS.cjs} +1 -1
- package/lib/reactjs-tiptap-editor.cjs +1 -1
- package/lib/reactjs-tiptap-editor.js +2 -2
- package/lib/style.css +1 -1
- package/lib/{utils-B-vBjKHn.js → utils-DBcjIUpt.js} +1895 -1726
- package/lib/utils-DIGL2fIv.cjs +135 -0
- package/package.json +1 -1
- package/lib/utils-DoNOKFuh.cjs +0 -135
package/lib/index.d.cts
CHANGED
|
@@ -230,6 +230,13 @@ declare interface BubbleMenuProps {
|
|
|
230
230
|
*/
|
|
231
231
|
hidden?: boolean;
|
|
232
232
|
};
|
|
233
|
+
iframeConfig?: {
|
|
234
|
+
/**
|
|
235
|
+
* @description iframe menu hidden
|
|
236
|
+
* @default false
|
|
237
|
+
*/
|
|
238
|
+
hidden?: boolean;
|
|
239
|
+
};
|
|
233
240
|
render?: (props: BubbleMenuRenderProps, dom: React.ReactNode) => React.ReactNode;
|
|
234
241
|
}
|
|
235
242
|
|
|
@@ -765,6 +772,8 @@ export declare interface SetImageAttrsOptions {
|
|
|
765
772
|
title?: string;
|
|
766
773
|
/** The width of the image. */
|
|
767
774
|
width?: number | string | null;
|
|
775
|
+
/** The alignment of the image. */
|
|
776
|
+
align?: 'left' | 'center' | 'right';
|
|
768
777
|
}
|
|
769
778
|
|
|
770
779
|
export declare const SlashCommand: Extension<any, any>;
|
|
@@ -1242,19 +1251,8 @@ declare module '@tiptap/core' {
|
|
|
1242
1251
|
|
|
1243
1252
|
declare module '@tiptap/core' {
|
|
1244
1253
|
interface Commands<ReturnType> {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
unsetTableCellBackground: () => ReturnType;
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
declare module '@tiptap/core' {
|
|
1254
|
-
interface Commands<ReturnType> {
|
|
1255
|
-
lineHeight: {
|
|
1256
|
-
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1257
|
-
unsetLineHeight: () => ReturnType;
|
|
1254
|
+
imageUpload: {
|
|
1255
|
+
setImageUpload: () => ReturnType;
|
|
1258
1256
|
};
|
|
1259
1257
|
}
|
|
1260
1258
|
}
|
|
@@ -1262,8 +1260,19 @@ declare module '@tiptap/core' {
|
|
|
1262
1260
|
|
|
1263
1261
|
declare module '@tiptap/core' {
|
|
1264
1262
|
interface Commands<ReturnType> {
|
|
1265
|
-
|
|
1266
|
-
|
|
1263
|
+
imageResize: {
|
|
1264
|
+
/**
|
|
1265
|
+
* Add an image
|
|
1266
|
+
*/
|
|
1267
|
+
setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1268
|
+
/**
|
|
1269
|
+
* Update an image
|
|
1270
|
+
*/
|
|
1271
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1272
|
+
/**
|
|
1273
|
+
* Set image alignment
|
|
1274
|
+
*/
|
|
1275
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1267
1276
|
};
|
|
1268
1277
|
}
|
|
1269
1278
|
}
|
|
@@ -1271,8 +1280,9 @@ declare module '@tiptap/core' {
|
|
|
1271
1280
|
|
|
1272
1281
|
declare module '@tiptap/core' {
|
|
1273
1282
|
interface Commands<ReturnType> {
|
|
1274
|
-
|
|
1275
|
-
|
|
1283
|
+
lineHeight: {
|
|
1284
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1285
|
+
unsetLineHeight: () => ReturnType;
|
|
1276
1286
|
};
|
|
1277
1287
|
}
|
|
1278
1288
|
}
|
|
@@ -1280,15 +1290,8 @@ declare module '@tiptap/core' {
|
|
|
1280
1290
|
|
|
1281
1291
|
declare module '@tiptap/core' {
|
|
1282
1292
|
interface Commands<ReturnType> {
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
* Set the indent attribute
|
|
1286
|
-
*/
|
|
1287
|
-
indent: () => ReturnType;
|
|
1288
|
-
/**
|
|
1289
|
-
* Set the outdent attribute
|
|
1290
|
-
*/
|
|
1291
|
-
outdent: () => ReturnType;
|
|
1293
|
+
videoUpload: {
|
|
1294
|
+
setVideoUpload: () => ReturnType;
|
|
1292
1295
|
};
|
|
1293
1296
|
}
|
|
1294
1297
|
}
|
|
@@ -1310,15 +1313,9 @@ declare module '@tiptap/core' {
|
|
|
1310
1313
|
|
|
1311
1314
|
declare module '@tiptap/core' {
|
|
1312
1315
|
interface Commands<ReturnType> {
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
*/
|
|
1317
|
-
setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1318
|
-
/**
|
|
1319
|
-
* Update an image
|
|
1320
|
-
*/
|
|
1321
|
-
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1316
|
+
tableCellBackground: {
|
|
1317
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1318
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1322
1319
|
};
|
|
1323
1320
|
}
|
|
1324
1321
|
}
|
|
@@ -1326,8 +1323,8 @@ declare module '@tiptap/core' {
|
|
|
1326
1323
|
|
|
1327
1324
|
declare module '@tiptap/core' {
|
|
1328
1325
|
interface Commands<ReturnType> {
|
|
1329
|
-
|
|
1330
|
-
|
|
1326
|
+
painter: {
|
|
1327
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1331
1328
|
};
|
|
1332
1329
|
}
|
|
1333
1330
|
}
|
|
@@ -1335,13 +1332,15 @@ declare module '@tiptap/core' {
|
|
|
1335
1332
|
|
|
1336
1333
|
declare module '@tiptap/core' {
|
|
1337
1334
|
interface Commands<ReturnType> {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1335
|
+
indent: {
|
|
1336
|
+
/**
|
|
1337
|
+
* Set the indent attribute
|
|
1338
|
+
*/
|
|
1339
|
+
indent: () => ReturnType;
|
|
1340
|
+
/**
|
|
1341
|
+
* Set the outdent attribute
|
|
1342
|
+
*/
|
|
1343
|
+
outdent: () => ReturnType;
|
|
1345
1344
|
};
|
|
1346
1345
|
}
|
|
1347
1346
|
}
|
|
@@ -1362,6 +1361,24 @@ declare module '@tiptap/core' {
|
|
|
1362
1361
|
}
|
|
1363
1362
|
|
|
1364
1363
|
|
|
1364
|
+
declare module '@tiptap/core' {
|
|
1365
|
+
interface Commands<ReturnType> {
|
|
1366
|
+
exportWord: {
|
|
1367
|
+
exportToWord: () => ReturnType;
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
declare module '@tiptap/core' {
|
|
1374
|
+
interface Commands<ReturnType> {
|
|
1375
|
+
katex: {
|
|
1376
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
|
|
1365
1382
|
declare module '@tiptap/core' {
|
|
1366
1383
|
interface Commands<ReturnType> {
|
|
1367
1384
|
emoji: {
|
|
@@ -1376,8 +1393,13 @@ declare module '@tiptap/core' {
|
|
|
1376
1393
|
|
|
1377
1394
|
declare module '@tiptap/core' {
|
|
1378
1395
|
interface Commands<ReturnType> {
|
|
1379
|
-
|
|
1380
|
-
|
|
1396
|
+
search: {
|
|
1397
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1398
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1399
|
+
replace: () => ReturnType;
|
|
1400
|
+
replaceAll: () => ReturnType;
|
|
1401
|
+
goToPrevSearchResult: () => void;
|
|
1402
|
+
goToNextSearchResult: () => void;
|
|
1381
1403
|
};
|
|
1382
1404
|
}
|
|
1383
1405
|
}
|
|
@@ -1402,15 +1424,6 @@ declare module '@tiptap/core' {
|
|
|
1402
1424
|
}
|
|
1403
1425
|
|
|
1404
1426
|
|
|
1405
|
-
declare module '@tiptap/core' {
|
|
1406
|
-
interface Commands<ReturnType> {
|
|
1407
|
-
exportWord: {
|
|
1408
|
-
exportToWord: () => ReturnType;
|
|
1409
|
-
};
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
1427
|
declare namespace DropdownMenuShortcut {
|
|
1415
1428
|
var displayName: string;
|
|
1416
1429
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -230,6 +230,13 @@ declare interface BubbleMenuProps {
|
|
|
230
230
|
*/
|
|
231
231
|
hidden?: boolean;
|
|
232
232
|
};
|
|
233
|
+
iframeConfig?: {
|
|
234
|
+
/**
|
|
235
|
+
* @description iframe menu hidden
|
|
236
|
+
* @default false
|
|
237
|
+
*/
|
|
238
|
+
hidden?: boolean;
|
|
239
|
+
};
|
|
233
240
|
render?: (props: BubbleMenuRenderProps, dom: React.ReactNode) => React.ReactNode;
|
|
234
241
|
}
|
|
235
242
|
|
|
@@ -765,6 +772,8 @@ export declare interface SetImageAttrsOptions {
|
|
|
765
772
|
title?: string;
|
|
766
773
|
/** The width of the image. */
|
|
767
774
|
width?: number | string | null;
|
|
775
|
+
/** The alignment of the image. */
|
|
776
|
+
align?: 'left' | 'center' | 'right';
|
|
768
777
|
}
|
|
769
778
|
|
|
770
779
|
export declare const SlashCommand: Extension<any, any>;
|
|
@@ -1242,19 +1251,8 @@ declare module '@tiptap/core' {
|
|
|
1242
1251
|
|
|
1243
1252
|
declare module '@tiptap/core' {
|
|
1244
1253
|
interface Commands<ReturnType> {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
unsetTableCellBackground: () => ReturnType;
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
declare module '@tiptap/core' {
|
|
1254
|
-
interface Commands<ReturnType> {
|
|
1255
|
-
lineHeight: {
|
|
1256
|
-
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1257
|
-
unsetLineHeight: () => ReturnType;
|
|
1254
|
+
imageUpload: {
|
|
1255
|
+
setImageUpload: () => ReturnType;
|
|
1258
1256
|
};
|
|
1259
1257
|
}
|
|
1260
1258
|
}
|
|
@@ -1262,8 +1260,19 @@ declare module '@tiptap/core' {
|
|
|
1262
1260
|
|
|
1263
1261
|
declare module '@tiptap/core' {
|
|
1264
1262
|
interface Commands<ReturnType> {
|
|
1265
|
-
|
|
1266
|
-
|
|
1263
|
+
imageResize: {
|
|
1264
|
+
/**
|
|
1265
|
+
* Add an image
|
|
1266
|
+
*/
|
|
1267
|
+
setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1268
|
+
/**
|
|
1269
|
+
* Update an image
|
|
1270
|
+
*/
|
|
1271
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1272
|
+
/**
|
|
1273
|
+
* Set image alignment
|
|
1274
|
+
*/
|
|
1275
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1267
1276
|
};
|
|
1268
1277
|
}
|
|
1269
1278
|
}
|
|
@@ -1271,8 +1280,9 @@ declare module '@tiptap/core' {
|
|
|
1271
1280
|
|
|
1272
1281
|
declare module '@tiptap/core' {
|
|
1273
1282
|
interface Commands<ReturnType> {
|
|
1274
|
-
|
|
1275
|
-
|
|
1283
|
+
lineHeight: {
|
|
1284
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1285
|
+
unsetLineHeight: () => ReturnType;
|
|
1276
1286
|
};
|
|
1277
1287
|
}
|
|
1278
1288
|
}
|
|
@@ -1280,15 +1290,8 @@ declare module '@tiptap/core' {
|
|
|
1280
1290
|
|
|
1281
1291
|
declare module '@tiptap/core' {
|
|
1282
1292
|
interface Commands<ReturnType> {
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
* Set the indent attribute
|
|
1286
|
-
*/
|
|
1287
|
-
indent: () => ReturnType;
|
|
1288
|
-
/**
|
|
1289
|
-
* Set the outdent attribute
|
|
1290
|
-
*/
|
|
1291
|
-
outdent: () => ReturnType;
|
|
1293
|
+
videoUpload: {
|
|
1294
|
+
setVideoUpload: () => ReturnType;
|
|
1292
1295
|
};
|
|
1293
1296
|
}
|
|
1294
1297
|
}
|
|
@@ -1310,15 +1313,9 @@ declare module '@tiptap/core' {
|
|
|
1310
1313
|
|
|
1311
1314
|
declare module '@tiptap/core' {
|
|
1312
1315
|
interface Commands<ReturnType> {
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
*/
|
|
1317
|
-
setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1318
|
-
/**
|
|
1319
|
-
* Update an image
|
|
1320
|
-
*/
|
|
1321
|
-
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1316
|
+
tableCellBackground: {
|
|
1317
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1318
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1322
1319
|
};
|
|
1323
1320
|
}
|
|
1324
1321
|
}
|
|
@@ -1326,8 +1323,8 @@ declare module '@tiptap/core' {
|
|
|
1326
1323
|
|
|
1327
1324
|
declare module '@tiptap/core' {
|
|
1328
1325
|
interface Commands<ReturnType> {
|
|
1329
|
-
|
|
1330
|
-
|
|
1326
|
+
painter: {
|
|
1327
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1331
1328
|
};
|
|
1332
1329
|
}
|
|
1333
1330
|
}
|
|
@@ -1335,13 +1332,15 @@ declare module '@tiptap/core' {
|
|
|
1335
1332
|
|
|
1336
1333
|
declare module '@tiptap/core' {
|
|
1337
1334
|
interface Commands<ReturnType> {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1335
|
+
indent: {
|
|
1336
|
+
/**
|
|
1337
|
+
* Set the indent attribute
|
|
1338
|
+
*/
|
|
1339
|
+
indent: () => ReturnType;
|
|
1340
|
+
/**
|
|
1341
|
+
* Set the outdent attribute
|
|
1342
|
+
*/
|
|
1343
|
+
outdent: () => ReturnType;
|
|
1345
1344
|
};
|
|
1346
1345
|
}
|
|
1347
1346
|
}
|
|
@@ -1362,6 +1361,24 @@ declare module '@tiptap/core' {
|
|
|
1362
1361
|
}
|
|
1363
1362
|
|
|
1364
1363
|
|
|
1364
|
+
declare module '@tiptap/core' {
|
|
1365
|
+
interface Commands<ReturnType> {
|
|
1366
|
+
exportWord: {
|
|
1367
|
+
exportToWord: () => ReturnType;
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
declare module '@tiptap/core' {
|
|
1374
|
+
interface Commands<ReturnType> {
|
|
1375
|
+
katex: {
|
|
1376
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
|
|
1365
1382
|
declare module '@tiptap/core' {
|
|
1366
1383
|
interface Commands<ReturnType> {
|
|
1367
1384
|
emoji: {
|
|
@@ -1376,8 +1393,13 @@ declare module '@tiptap/core' {
|
|
|
1376
1393
|
|
|
1377
1394
|
declare module '@tiptap/core' {
|
|
1378
1395
|
interface Commands<ReturnType> {
|
|
1379
|
-
|
|
1380
|
-
|
|
1396
|
+
search: {
|
|
1397
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1398
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1399
|
+
replace: () => ReturnType;
|
|
1400
|
+
replaceAll: () => ReturnType;
|
|
1401
|
+
goToPrevSearchResult: () => void;
|
|
1402
|
+
goToNextSearchResult: () => void;
|
|
1381
1403
|
};
|
|
1382
1404
|
}
|
|
1383
1405
|
}
|
|
@@ -1402,15 +1424,6 @@ declare module '@tiptap/core' {
|
|
|
1402
1424
|
}
|
|
1403
1425
|
|
|
1404
1426
|
|
|
1405
|
-
declare module '@tiptap/core' {
|
|
1406
|
-
interface Commands<ReturnType> {
|
|
1407
|
-
exportWord: {
|
|
1408
|
-
exportToWord: () => ReturnType;
|
|
1409
|
-
};
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
1427
|
declare namespace DropdownMenuShortcut {
|
|
1415
1428
|
var displayName: string;
|
|
1416
1429
|
}
|
|
@@ -3,7 +3,7 @@ var s = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var n = (e, t, o) => s(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import { useMemo as g, useEffect as m } from "react";
|
|
5
5
|
import { proxy as u, useSnapshot as h } from "valtio";
|
|
6
|
-
import { m as c } from "./utils-
|
|
6
|
+
import { m as c } from "./utils-DBcjIUpt.js";
|
|
7
7
|
const b = {
|
|
8
8
|
"editor.remove": "Remove",
|
|
9
9
|
"editor.copy": "Copy",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var b=Object.defineProperty;var _=(e,t,o)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var n=(e,t,o)=>_(e,typeof t!="symbol"?t+"":t,o);const p=require("react"),s=require("valtio"),T=require("./utils-DoNOKFuh.cjs"),f={"editor.remove":"Remove","editor.copy":"Copy","editor.words":"WORDS","editor.characters":"CHARACTERS","editor.default":"Default","editor.recent":"Recently Used","editor.nofill":"No Fill","editor.format":"Format Painter","editor.delete":"Delete","editor.edit":"Edit","editor.settings":"Settings","editor.table_of_content":"Table of Content","editor.draghandle.tooltip":"Modify","editor.copyToClipboard":"CopyToClipboard","editor.importWord.tooltip":"Import Word","editor.slash":"Press '/' for commands","editor.slash.empty":"No Result","editor.slash.format":"Format","editor.slash.insert":"Insert","editor.slash.embed":"Embed Services","editor.content":"Please input content","editor.fontFamily.tooltip":"Font Family","editor.fontFamily.default.tooltip":"Default","editor.moremark":"More Text Styles","editor.size.small.tooltip":"Small","editor.size.medium.tooltip":"Medium","editor.size.large.tooltip":"Cover","editor.bold.tooltip":"Bold","editor.italic.tooltip":"Italic","editor.underline.tooltip":"Underline","editor.strike.tooltip":"Strike","editor.color.tooltip":"Color","editor.color.more":"More Colors","editor.highlight.tooltip":"Highlight","editor.lineheight.tooltip":"Line Height","editor.heading.tooltip":"Headings","editor.heading.h1.tooltip":"Heading 1","editor.heading.h2.tooltip":"Heading 2","editor.heading.h3.tooltip":"Heading 3","editor.heading.h4.tooltip":"Heading 4","editor.heading.h5.tooltip":"Heading 5","editor.heading.h6.tooltip":"Heading 6","editor.paragraph.tooltip":"Paragraph","editor.textalign.tooltip":"Align","editor.textalign.left.tooltip":"Left","editor.textalign.center.tooltip":"Center","editor.textalign.right.tooltip":"Right","editor.textalign.justify.tooltip":"Justify","editor.indent":"Indent","editor.indent.indent":"Increase Indent","editor.indent.outdent":"Decrease Indent","editor.fontSize.tooltip":"Font size","editor.fontSize.default.tooltip":"Default","editor.superscript.tooltip":"Superscript","editor.subscript.tooltip":"Subscript","editor.bulletlist.tooltip":"Bullet List","editor.orderedlist.tooltip":"Ordered List","editor.tasklist.tooltip":"Task List","editor.indent.tooltip":"Indent","editor.outdent.tooltip":"Outdent","editor.columns.tooltip":"Columns","editor.link.tooltip":"Link","editor.link.unlink.tooltip":"UnLink","editor.link.open.tooltip":"Open Link","editor.link.edit.tooltip":"Edit Link","editor.link.dialog.title":"Insert Link","editor.link.dialog.link":"Link","editor.link.dialog.text":"Text","editor.link.dialog.openInNewTab":"Open In New Tab","editor.link.dialog.link.placeholder":"Link Address","editor.link.dialog.text.placeholder":"Add Description","editor.link.dialog.button.apply":"Apply","editor.image.tooltip":"Image","editor.image.dragger.tooltip":"Click or drag the image to the area to upload","editor.image.float.left.tooltip":"Float left","editor.image.float.none.tooltip":"Float none","editor.image.float.right.tooltip":"Float right","editor.image.dialog.title":"Add an image","editor.image.dialog.tab.url":"Url","editor.image.dialog.tab.upload":"Upload","editor.image.dialog.uploading":"Uploading","editor.image.dialog.form.link":"Link","editor.image.dialog.placeholder":"Link","editor.image.dialog.form.alt":"Alt","editor.image.dialog.form.aspectRatio":"Lock original aspect ratio","editor.image.dialog.form.file":"File","editor.image.dialog.button.apply":"apply","editor.video.tooltip":"Video","editor.video.dialog.tab.upload":"Upload","editor.video.dialog.uploading":"Uploading","editor.video.dialog.title":"Embed or upload a video","editor.video.dialog.link":"link","editor.video.dialog.placeholder":"Link","editor.video.dialog.button.apply":"apply","editor.table.tooltip":"Table","editor.table.menu.insert_table":"Insert Table","editor.table.menu.insert_table.with_header_row":"With header row","editor.table.menu.add_column_before":"Add Column Before","editor.table.menu.add_column_after":"Add Column After","editor.table.menu.delete_column":"Delete Column","editor.table.menu.add_row_before":"Add Row Before","editor.table.menu.add_row_after":"Add Row After","editor.table.menu.delete_row":"Delete Row","editor.table.menu.merge_or_split_cells":"Merge Or Split Cells","editor.table.menu.delete_table":"Delete Table","editor.blockquote.tooltip":"Blockquote","editor.horizontalrule.tooltip":"Horizontal Rule","editor.code.tooltip":"Code","editor.codeblock.tooltip":"Code Block","editor.clear.tooltip":"Clear Format","editor.undo.tooltip":"Undo","editor.redo.tooltip":"Redo","editor.fullscreen.tooltip.fullscreen":"Fullscreen","editor.fullscreen.tooltip.exit":"Fullscreen Exit","editor.imageUpload.fileTypeNotSupported":"File type not supported","editor.imageUpload.fileSizeTooBig":"File size too big, Maximum size is","editor.table.menu.insertColumnBefore":"Insert Column Before","editor.table.menu.insertColumnAfter":"Insert Column After","editor.table.menu.deleteColumn":"Delete Column","editor.table.menu.insertRowAbove":"Insert Row Above","editor.table.menu.insertRowBelow":"Insert Row Below","editor.table.menu.deleteRow":"Delete Row","editor.table.menu.mergeCells":"Merge Cells","editor.table.menu.splitCells":"Split Cells","editor.table.menu.deleteTable":"Delete Table","editor.table.menu.setCellsBgColor":"Cell Background Color","editor.emoji.tooltip":"Emoji","editor.iframe.tooltip":"Iframe","editor.searchAndReplace.tooltip":"Search and Replace","editor.search.dialog.text":"Search","editor.replace.dialog.text":"Replace","editor.replaceAll.dialog.text":"Replace All","editor.previous.dialog.text":"Previous","editor.next.dialog.text":"Next",no_result_found:"No results found","Smileys & People":"Smileys & People","Animals & Nature":"Animals & Nature","Food & Drink":"Food & Drink",Activity:"Activity","Travel & Places":"Travel & Places",Object:"Objects",Symbol:"Symbols",Flags:"Flags","Frequently used":"Frequently used","editor.formula.dialog.text":"Formula","editor.katex.tooltip":"Math Formula","editor.exportPdf.tooltip":"Export PDF","editor.exportWord.tooltip":"Export Word","editor.importWrod.tooltip":"Import Word"},g=f,F={"editor.remove":"Xóa","editor.copy":"Sao chép","editor.words":"TỪ","editor.characters":"KÝ TỰ","editor.default":"Mặc định","editor.recent":"Đã sử dụng gần đây","editor.nofill":"Không tô","editor.format":"Format Painter","editor.delete":"Xóa","editor.edit":"Chỉnh sửa","editor.settings":"Cài đặt","editor.table_of_content":"Mục lục","editor.draghandle.tooltip":"Sửa đổi","editor.copyToClipboard":"CopyToClipboard","editor.importWord.tooltip":"Nhập Word","editor.slash":"Nhấn '/' để biết lệnh","editor.slash.empty":"Không có kết quả","editor.slash.format":"Định dạng","editor.slash.insert":"Chèn","editor.slash.embed":"Dịch vụ nhúng","editor.content":"Vui lòng nhập nội dung","editor.moremark":"Nhiều kiểu văn bản hơn","editor.size.small.tooltip":"Nhỏ","editor.fontFamily.tooltip":"Phông chữ","editor.fontFamily.default.tooltip":"Mặc định","editor.size.medium.tooltip":"Trung bình","editor.size.large.tooltip":"Lớn","editor.bold.tooltip":"Đậm","editor.italic.tooltip":"In nghiêng","editor.underline.tooltip":"Gạch chân","editor.strike.tooltip":"Gạch","editor.color.tooltip":"Màu","editor.color.more":"Nhiều màu hơn","editor.highlight.tooltip":"Đánh dấu","editor.lineheight.tooltip":"Chiều cao dòng","editor.heading.tooltip":"Tiêu đề","editor.heading.h1.tooltip":"Tiêu đề 1","editor.heading.h2.tooltip":"Tiêu đề 2","editor.heading.h3.tooltip":"Tiêu đề 3","editor.heading.h4.tooltip":"Tiêu đề 4","editor.heading.h5.tooltip":"Tiêu đề 5","editor.heading.h6.tooltip":"Tiêu đề 6","editor.paragraph.tooltip":"Đoạn văn","editor.textalign.tooltip":"Căn chỉnh","editor.textalign.left.tooltip":"Trái","editor.textalign.center.tooltip":"Giữa","editor.textalign.right.tooltip":"Phải","editor.textalign.justify.tooltip":"Căn đều","editor.indent":"Thụt lề","editor.indent.indent":"Tăng thụt lề","editor.indent.outdent":"Giảm thụt lề","editor.fontSize.tooltip":"Kích thước phông chữ","editor.fontSize.default.tooltip":"Mặc định","editor.superscript.tooltip":"Chỉ số trên","editor.subscript.tooltip":"Chỉ số dưới","editor.bulletlist.tooltip":"Danh sách dấu đầu dòng","editor.orderedlist.tooltip":"Danh sách có thứ tự","editor.tasklist.tooltip":"Danh sách tác vụ","editor.indent.tooltip":"Tăng thụt lề","editor.outdent.tooltip":"Giảm thụt lề","editor.columns.tooltip":"Cột","editor.link.tooltip":"Liên kết","editor.link.unlink.tooltip":"Hủy liên kết","editor.link.open.tooltip":"Mở liên kết","editor.link.edit.tooltip":"Chỉnh sửa liên kết","editor.link.dialog.title":"Chèn liên kết","editor.link.dialog.link":"Liên kết","editor.link.dialog.text":"Văn bản","editor.link.dialog.openInNewTab":"Mở trong tab mới","editor.link.dialog.link.placeholder":"Địa chỉ liên kết","editor.link.dialog.text.placeholder":"Thêm mô tả","editor.link.dialog.button.apply":"Áp dụng","editor.image.tooltip":"Hình ảnh","editor.image.dragger.tooltip":"Nhấp hoặc kéo hình ảnh đến khu vực để tải lên","editor.image.float.left.tooltip":"Trôi sang trái","editor.image.float.none.tooltip":"Trôi không","editor.image.float.right.tooltip":"Trôi sang phải","editor.image.dialog.title":"Thêm hình ảnh","editor.image.dialog.tab.url":"Url","editor.image.dialog.tab.upload":"Tải lên","editor.image.dialog.uploading":"Đang tải lên","editor.image.dialog.form.link":"Liên kết","editor.image.dialog.placeholder":"Liên kết","editor.image.dialog.form.alt":"Alt","editor.image.dialog.form.aspectRatio":"Khóa tỷ lệ khung hình gốc","editor.image.dialog.form.file":"Tệp","editor.image.dialog.button.apply":"áp dụng","editor.video.tooltip":"Video","editor.video.dialog.tab.upload":"Tải lên","editor.video.dialog.uploading":"Đang tải lên","editor.video.dialog.title":"Nhúng hoặc tải lên video","editor.video.dialog.link":"liên kết","editor.video.dialog.placeholder":"Liên kết","editor.video.dialog.button.apply":"áp dụng","editor.table.tooltip":"Bảng","editor.table.menu.insert_table":"Chèn Bảng","editor.table.menu.insert_table.with_header_row":"Có hàng tiêu đề","editor.table.menu.add_column_before":"Thêm Cột Trước","editor.table.menu.add_column_after":"Thêm Cột Sau","editor.table.menu.delete_column":"Xóa Cột","editor.table.menu.add_row_before":"Thêm Hàng Trước","editor.table.menu.add_row_after":"Thêm Hàng Sau","editor.table.menu.delete_row":"Xóa Hàng","editor.table.menu.merge_or_split_cells":"Gộp Hoặc Tách Ô","editor.table.menu.delete_table":"Xóa Bảng","editor.blockquote.tooltip":"Blockquote","editor.horizontalrule.tooltip":"Quy tắc ngang","editor.code.tooltip":"Mã","editor.codeblock.tooltip":"Khối mã","editor.clear.tooltip":"Xóa định dạng","editor.undo.tooltip":"Hoàn tác","editor.redo.tooltip":"Làm lại","editor.fullscreen.tooltip.fullscreen":"Toàn màn hình","editor.fullscreen.tooltip.exit":"Thoát toàn màn hình","editor.imageUpload.fileTypeNotSupported":"Loại tệp không được hỗ trợ","editor.imageUpload.fileSizeTooBig":"Kích thước tệp quá lớn, Kích thước tối đa là","editor.table.menu.insertColumnBefore":"Chèn cột trước","editor.table.menu.insertColumnAfter":"Chèn cột sau","editor.table.menu.deleteColumn":"Xóa cột","editor.table.menu.insertRowAbove":"Chèn hàng ở trên","editor.table.menu.insertRowBelow":"Chèn hàng ở dưới","editor.table.menu.deleteRow":"Xóa hàng","editor.table.menu.mergeCells":"Gộp các ô","editor.table.menu.splitCells":"Chia ô","editor.table.menu.deleteTable":"Xóa bảng","editor.table.menu.setCellsBgColor":"Màu nền ô","editor.emoji.tooltip":"Biểu tượng","editor.iframe.tooltip":"Iframe","editor.searchAndReplace.tooltip":"Tìm kiếm và thay thế","editor.search.dialog.text":"Tìm kiếm","editor.replace.dialog.text":"Thay thế","editor.replaceAll.dialog.text":"Thay thế tất cả","editor.previous.dialog.text":"Trước","editor.next.dialog.text":"Tiếp theo",no_result_found:"Không tìm thấy kết quả","Smileys & People":"Cười & Mọi người","Animals & Nature":"Động vật & Thiên nhiên","Food & Drink":"Thức ăn & Đồ uống",Activity:"Hoạt động","Travel & Places":"Du lịch & Địa điểm",Object:"Vật",Symbol:"Ký hiệu",Flags:"Cờ","Frequently used":"Thường xuyên sử dụng","editor.formula.dialog.text":"Công thức","editor.katex.tooltip":"Công thức toán học","editor.exportPdf.tooltip":"Xuất PDF","editor.exportWord.tooltip":"Xuất Word","editor.importWrod.tooltip":"Nhập Word"},u=F,A={"editor.remove":"移除","editor.copy":"复制","editor.words":"字数","editor.characters":"字符数","editor.default":"默认","editor.recent":"最近使用","editor.nofill":"无填充","editor.format":"格式刷","editor.delete":"删除","editor.edit":"编辑","editor.settings":"设置","editor.table_of_content":"目录","editor.draghandle.tooltip":"修改","editor.copyToClipboard":"复制到剪贴板","editor.importWord.tooltip":"导入 Word","editor.slash":"按 '/' 使用命令","editor.slash.empty":"无结果","editor.slash.format":"格式","editor.slash.insert":"插入","editor.slash.embed":"嵌入服务","editor.content":"请输入内容","editor.fontFamily.tooltip":"字体","editor.fontFamily.default.tooltip":"默认","editor.moremark":"更多文本样式","editor.size.small.tooltip":"小","editor.size.medium.tooltip":"中","editor.size.large.tooltip":"封面","editor.bold.tooltip":"粗体","editor.italic.tooltip":"斜体","editor.underline.tooltip":"下划线","editor.strike.tooltip":"删除线","editor.color.tooltip":"颜色","editor.color.more":"更多颜色","editor.highlight.tooltip":"高亮","editor.lineheight.tooltip":"行高","editor.heading.tooltip":"标题","editor.heading.h1.tooltip":"标题 1","editor.heading.h2.tooltip":"标题 2","editor.heading.h3.tooltip":"标题 3","editor.heading.h4.tooltip":"标题 4","editor.heading.h5.tooltip":"标题 5","editor.heading.h6.tooltip":"标题 6","editor.paragraph.tooltip":"段落","editor.textalign.tooltip":"对齐","editor.textalign.left.tooltip":"左对齐","editor.textalign.center.tooltip":"居中","editor.textalign.right.tooltip":"右对齐","editor.textalign.justify.tooltip":"两端对齐","editor.indent":"缩进","editor.indent.indent":"增加缩进","editor.indent.outdent":"减少缩进","editor.fontSize.tooltip":"字号","editor.fontSize.default.tooltip":"默认","editor.superscript.tooltip":"上标","editor.subscript.tooltip":"下标","editor.bulletlist.tooltip":"无序列表","editor.orderedlist.tooltip":"有序列表","editor.tasklist.tooltip":"任务列表","editor.indent.tooltip":"缩进","editor.outdent.tooltip":"减少缩进","editor.columns.tooltip":"列","editor.link.tooltip":"链接","editor.link.unlink.tooltip":"取消链接","editor.link.open.tooltip":"打开链接","editor.link.edit.tooltip":"编辑链接","editor.link.dialog.title":"插入链接","editor.link.dialog.link":"链接","editor.link.dialog.text":"文本","editor.link.dialog.openInNewTab":"在新标签页中打开","editor.link.dialog.link.placeholder":"链接地址","editor.link.dialog.text.placeholder":"添加描述","editor.link.dialog.button.apply":"应用","editor.image.tooltip":"图片","editor.image.dragger.tooltip":"点击或拖拽图片到此区域上传","editor.image.float.left.tooltip":"左浮动","editor.image.float.none.tooltip":"无浮动","editor.image.float.right.tooltip":"右浮动","editor.image.dialog.title":"添加图片","editor.image.dialog.tab.url":"链接","editor.image.dialog.tab.upload":"上传","editor.image.dialog.uploading":"上传中","editor.image.dialog.form.link":"链接","editor.image.dialog.placeholder":"链接","editor.image.dialog.form.alt":"替代文本","editor.image.dialog.form.aspectRatio":"锁定原始宽高比","editor.image.dialog.form.file":"文件","editor.image.dialog.button.apply":"应用","editor.video.tooltip":"视频","editor.video.dialog.tab.upload":"上传","editor.video.dialog.uploading":"上传中","editor.video.dialog.title":"嵌入或上传视频","editor.video.dialog.link":"链接","editor.video.dialog.placeholder":"链接","editor.video.dialog.button.apply":"应用","editor.table.tooltip":"表格","editor.table.menu.insert_table":"插入表格","editor.table.menu.insert_table.with_header_row":"带标题行","editor.table.menu.add_column_before":"在前面插入列","editor.table.menu.add_column_after":"在后面插入列","editor.table.menu.delete_column":"删除列","editor.table.menu.add_row_before":"在上方插入行","editor.table.menu.add_row_after":"在下方插入行","editor.table.menu.delete_row":"删除行","editor.table.menu.merge_or_split_cells":"合并或拆分单元格","editor.table.menu.delete_table":"删除表格","editor.blockquote.tooltip":"引用","editor.horizontalrule.tooltip":"水平线","editor.code.tooltip":"代码","editor.codeblock.tooltip":"代码块","editor.clear.tooltip":"清除格式","editor.undo.tooltip":"撤销","editor.redo.tooltip":"重做","editor.fullscreen.tooltip.fullscreen":"全屏","editor.fullscreen.tooltip.exit":"退出全屏","editor.imageUpload.fileTypeNotSupported":"不支持的文件类型","editor.imageUpload.fileSizeTooBig":"文件大小超出限制,最大大小为","editor.table.menu.insertColumnBefore":"在前面插入列","editor.table.menu.insertColumnAfter":"在后面插入列","editor.table.menu.deleteColumn":"删除列","editor.table.menu.insertRowAbove":"在上方插入行","editor.table.menu.insertRowBelow":"在下方插入行","editor.table.menu.deleteRow":"删除行","editor.table.menu.mergeCells":"合并单元格","editor.table.menu.splitCells":"拆分单元格","editor.table.menu.deleteTable":"删除表格","editor.table.menu.setCellsBgColor":"设置单元格背景色","editor.emoji.tooltip":"表情","editor.iframe.tooltip":"内嵌框架","editor.searchAndReplace.tooltip":"搜索和替换","editor.search.dialog.text":"搜索","editor.replace.dialog.text":"替换","editor.replaceAll.dialog.text":"全部替换","editor.previous.dialog.text":"上一个","editor.next.dialog.text":"下一个",no_result_found:"未找到结果","Smileys & People":"笑脸和人","Animals & Nature":"动物和自然","Food & Drink":"食物和饮料",Activity:"活动","Travel & Places":"旅行和地点",Object:"物体",Symbol:"符号",Flags:"旗帜","Frequently used":"常用","editor.formula.dialog.text":"公式","editor.katex.tooltip":"数学公式","editor.exportPdf.tooltip":"导出 PDF","editor.exportWord.tooltip":"导出 Word","editor.importWrod.tooltip":"导入 Word"},m=A,C="en",E=200,k=E-80,L=20,D=1e5,x=16,I=10,S=10,y=2,v=["#000000","#262626","#595959","#8C8C8C","#BFBFBF","#D9D9D9","#E9E9E9","#F5F5F5","#FAFAFA","#FFFFFF","#F5222D","#FA541C","#FA8C16","#FADB14","#52C41A","#13C2C2","#1890FF","#2F54EB","#722ED1","#EB2F96","#FFE8E6","#FFECE0","#FFEFD1","#FCFCCA","#E4F7D2","#D3F5F0","#D4EEFC","#DEE8FC","#EFE1FA","#FAE1EB","#FFA39E","#FFBB96","#FFD591","#FFFB8F","#B7EB8F","#87E8DE","#91D5FF","#ADC6FF","#D3ADF7","#FFADD2","#FF4D4F","#FF7A45","#FFA940","#FFEC3D","#73D13D","#36CFC9","#40A9FF","#597EF7","#9254DE","#F759AB","#CF1322","#D4380D","#D46B08","#D4B106","#389E0D","#08979C","#096DD9","#1D39C4","#531DAB","#C41D7F","#820014","#871400","#873800","#614700","#135200","#00474F","#003A8C","#061178","#22075E","#780650"],B=["Inter","Comic Sans MS, Comic Sans","serif","monospace","cursive"],R=["html","css","js","ts","bash"],w={html:"HTML",css:"CSS",js:"JavaScript",ts:"TypeScript",bash:"Bash"},U=["10px","11px","12px","14px","16px","18px","20px","22px","24px","26px","28px","36px","48px","72px"],N="default";var c=(e=>(e[e["size-small"]=200]="size-small",e[e["size-medium"]=500]="size-medium",e["size-large"]="100%",e))(c||{}),h=(e=>(e[e["size-small"]=480]="size-small",e[e["size-medium"]=640]="size-medium",e["size-large"]="100%",e))(h||{});const M=["100%","115%","150%","200%","250%","300%"],H="1",z=["bold","italic","underline","strike","code","link","divider","color","highlight","textAlign"],i={lang:C,message:{en:g,vi:u,zh_CN:m}};class O{constructor(){n(this,"emitter");this.emitter=T.mitt()}get lang(){return i.lang}set lang(t){if(!this.isLangSupported(t)){console.warn(`Can't find the current language "${t}", Using language "${i.lang}" by default`);return}i.lang=t,this.emitter.emit("lang",t)}get message(){return i.message}set message(t){i.message=t}loadLangMessage(t){return this.message[t]}isLangSupported(t){return Object.keys(this.message).includes(t)}setLang(t){this.lang=t}registerWatchLang(t){return this.emitter.on("lang",t),{unsubscribe:()=>{this.emitter.off("lang",t)}}}setMessage(t,o){this.message[t]=o}buildLocalesHandler(t){t||(t=this.lang);const o=this.loadLangMessage(t);return function(a){return o[a]||a}}}const l=new O,r=s.proxy({lang:i.lang});function G(){const e=s.useSnapshot(r),t=p.useMemo(()=>l.buildLocalesHandler(e.lang),[e.lang]);return p.useEffect(()=>{const o=l.registerWatchLang(d=>{r.lang=d});return()=>{o.unsubscribe()}},[]),{lang:e.lang,t}}const W={t:e=>l.buildLocalesHandler(r.lang)(e)},P=l;exports.BUBBLE_TEXT_LIST=z;exports.COLORS_LIST=v;exports.DEFAULT_FONT_FAMILY_LIST=B;exports.DEFAULT_FONT_SIZE_LIST=U;exports.DEFAULT_FONT_SIZE_VALUE=N;exports.DEFAULT_LANGUAGE_CODE_BLOCK=R;exports.DEFAULT_LINE_HEIGHT=H;exports.DEFAULT_LINE_HEIGHT_LIST=M;exports.EDITOR_UPDATE_WATCH_THROTTLE_WAIT_TIME=k;exports.IMAGE_MAX_SIZE=D;exports.IMAGE_MIN_SIZE=L;exports.IMAGE_SIZE=c;exports.IMAGE_THROTTLE_WAIT_TIME=x;exports.MAP_LANGUAGE_CODE_LABELS=w;exports.TABLE_DEFAULT_SELECTED_GRID_SIZE=y;exports.TABLE_INIT_GRID_SIZE=I;exports.TABLE_MAX_GRID_SIZE=S;exports.VIDEO_SIZE=h;exports.en=g;exports.locale=P;exports.localeActions=W;exports.useLocale=G;exports.vi=u;exports.zh_CN=m;
|
|
1
|
+
"use strict";var b=Object.defineProperty;var _=(e,t,o)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var n=(e,t,o)=>_(e,typeof t!="symbol"?t+"":t,o);const p=require("react"),s=require("valtio"),T=require("./utils-DIGL2fIv.cjs"),f={"editor.remove":"Remove","editor.copy":"Copy","editor.words":"WORDS","editor.characters":"CHARACTERS","editor.default":"Default","editor.recent":"Recently Used","editor.nofill":"No Fill","editor.format":"Format Painter","editor.delete":"Delete","editor.edit":"Edit","editor.settings":"Settings","editor.table_of_content":"Table of Content","editor.draghandle.tooltip":"Modify","editor.copyToClipboard":"CopyToClipboard","editor.importWord.tooltip":"Import Word","editor.slash":"Press '/' for commands","editor.slash.empty":"No Result","editor.slash.format":"Format","editor.slash.insert":"Insert","editor.slash.embed":"Embed Services","editor.content":"Please input content","editor.fontFamily.tooltip":"Font Family","editor.fontFamily.default.tooltip":"Default","editor.moremark":"More Text Styles","editor.size.small.tooltip":"Small","editor.size.medium.tooltip":"Medium","editor.size.large.tooltip":"Cover","editor.bold.tooltip":"Bold","editor.italic.tooltip":"Italic","editor.underline.tooltip":"Underline","editor.strike.tooltip":"Strike","editor.color.tooltip":"Color","editor.color.more":"More Colors","editor.highlight.tooltip":"Highlight","editor.lineheight.tooltip":"Line Height","editor.heading.tooltip":"Headings","editor.heading.h1.tooltip":"Heading 1","editor.heading.h2.tooltip":"Heading 2","editor.heading.h3.tooltip":"Heading 3","editor.heading.h4.tooltip":"Heading 4","editor.heading.h5.tooltip":"Heading 5","editor.heading.h6.tooltip":"Heading 6","editor.paragraph.tooltip":"Paragraph","editor.textalign.tooltip":"Align","editor.textalign.left.tooltip":"Left","editor.textalign.center.tooltip":"Center","editor.textalign.right.tooltip":"Right","editor.textalign.justify.tooltip":"Justify","editor.indent":"Indent","editor.indent.indent":"Increase Indent","editor.indent.outdent":"Decrease Indent","editor.fontSize.tooltip":"Font size","editor.fontSize.default.tooltip":"Default","editor.superscript.tooltip":"Superscript","editor.subscript.tooltip":"Subscript","editor.bulletlist.tooltip":"Bullet List","editor.orderedlist.tooltip":"Ordered List","editor.tasklist.tooltip":"Task List","editor.indent.tooltip":"Indent","editor.outdent.tooltip":"Outdent","editor.columns.tooltip":"Columns","editor.link.tooltip":"Link","editor.link.unlink.tooltip":"UnLink","editor.link.open.tooltip":"Open Link","editor.link.edit.tooltip":"Edit Link","editor.link.dialog.title":"Insert Link","editor.link.dialog.link":"Link","editor.link.dialog.text":"Text","editor.link.dialog.openInNewTab":"Open In New Tab","editor.link.dialog.link.placeholder":"Link Address","editor.link.dialog.text.placeholder":"Add Description","editor.link.dialog.button.apply":"Apply","editor.image.tooltip":"Image","editor.image.dragger.tooltip":"Click or drag the image to the area to upload","editor.image.float.left.tooltip":"Float left","editor.image.float.none.tooltip":"Float none","editor.image.float.right.tooltip":"Float right","editor.image.dialog.title":"Add an image","editor.image.dialog.tab.url":"Url","editor.image.dialog.tab.upload":"Upload","editor.image.dialog.uploading":"Uploading","editor.image.dialog.form.link":"Link","editor.image.dialog.placeholder":"Link","editor.image.dialog.form.alt":"Alt","editor.image.dialog.form.aspectRatio":"Lock original aspect ratio","editor.image.dialog.form.file":"File","editor.image.dialog.button.apply":"apply","editor.video.tooltip":"Video","editor.video.dialog.tab.upload":"Upload","editor.video.dialog.uploading":"Uploading","editor.video.dialog.title":"Embed or upload a video","editor.video.dialog.link":"link","editor.video.dialog.placeholder":"Link","editor.video.dialog.button.apply":"apply","editor.table.tooltip":"Table","editor.table.menu.insert_table":"Insert Table","editor.table.menu.insert_table.with_header_row":"With header row","editor.table.menu.add_column_before":"Add Column Before","editor.table.menu.add_column_after":"Add Column After","editor.table.menu.delete_column":"Delete Column","editor.table.menu.add_row_before":"Add Row Before","editor.table.menu.add_row_after":"Add Row After","editor.table.menu.delete_row":"Delete Row","editor.table.menu.merge_or_split_cells":"Merge Or Split Cells","editor.table.menu.delete_table":"Delete Table","editor.blockquote.tooltip":"Blockquote","editor.horizontalrule.tooltip":"Horizontal Rule","editor.code.tooltip":"Code","editor.codeblock.tooltip":"Code Block","editor.clear.tooltip":"Clear Format","editor.undo.tooltip":"Undo","editor.redo.tooltip":"Redo","editor.fullscreen.tooltip.fullscreen":"Fullscreen","editor.fullscreen.tooltip.exit":"Fullscreen Exit","editor.imageUpload.fileTypeNotSupported":"File type not supported","editor.imageUpload.fileSizeTooBig":"File size too big, Maximum size is","editor.table.menu.insertColumnBefore":"Insert Column Before","editor.table.menu.insertColumnAfter":"Insert Column After","editor.table.menu.deleteColumn":"Delete Column","editor.table.menu.insertRowAbove":"Insert Row Above","editor.table.menu.insertRowBelow":"Insert Row Below","editor.table.menu.deleteRow":"Delete Row","editor.table.menu.mergeCells":"Merge Cells","editor.table.menu.splitCells":"Split Cells","editor.table.menu.deleteTable":"Delete Table","editor.table.menu.setCellsBgColor":"Cell Background Color","editor.emoji.tooltip":"Emoji","editor.iframe.tooltip":"Iframe","editor.searchAndReplace.tooltip":"Search and Replace","editor.search.dialog.text":"Search","editor.replace.dialog.text":"Replace","editor.replaceAll.dialog.text":"Replace All","editor.previous.dialog.text":"Previous","editor.next.dialog.text":"Next",no_result_found:"No results found","Smileys & People":"Smileys & People","Animals & Nature":"Animals & Nature","Food & Drink":"Food & Drink",Activity:"Activity","Travel & Places":"Travel & Places",Object:"Objects",Symbol:"Symbols",Flags:"Flags","Frequently used":"Frequently used","editor.formula.dialog.text":"Formula","editor.katex.tooltip":"Math Formula","editor.exportPdf.tooltip":"Export PDF","editor.exportWord.tooltip":"Export Word","editor.importWrod.tooltip":"Import Word"},g=f,F={"editor.remove":"Xóa","editor.copy":"Sao chép","editor.words":"TỪ","editor.characters":"KÝ TỰ","editor.default":"Mặc định","editor.recent":"Đã sử dụng gần đây","editor.nofill":"Không tô","editor.format":"Format Painter","editor.delete":"Xóa","editor.edit":"Chỉnh sửa","editor.settings":"Cài đặt","editor.table_of_content":"Mục lục","editor.draghandle.tooltip":"Sửa đổi","editor.copyToClipboard":"CopyToClipboard","editor.importWord.tooltip":"Nhập Word","editor.slash":"Nhấn '/' để biết lệnh","editor.slash.empty":"Không có kết quả","editor.slash.format":"Định dạng","editor.slash.insert":"Chèn","editor.slash.embed":"Dịch vụ nhúng","editor.content":"Vui lòng nhập nội dung","editor.moremark":"Nhiều kiểu văn bản hơn","editor.size.small.tooltip":"Nhỏ","editor.fontFamily.tooltip":"Phông chữ","editor.fontFamily.default.tooltip":"Mặc định","editor.size.medium.tooltip":"Trung bình","editor.size.large.tooltip":"Lớn","editor.bold.tooltip":"Đậm","editor.italic.tooltip":"In nghiêng","editor.underline.tooltip":"Gạch chân","editor.strike.tooltip":"Gạch","editor.color.tooltip":"Màu","editor.color.more":"Nhiều màu hơn","editor.highlight.tooltip":"Đánh dấu","editor.lineheight.tooltip":"Chiều cao dòng","editor.heading.tooltip":"Tiêu đề","editor.heading.h1.tooltip":"Tiêu đề 1","editor.heading.h2.tooltip":"Tiêu đề 2","editor.heading.h3.tooltip":"Tiêu đề 3","editor.heading.h4.tooltip":"Tiêu đề 4","editor.heading.h5.tooltip":"Tiêu đề 5","editor.heading.h6.tooltip":"Tiêu đề 6","editor.paragraph.tooltip":"Đoạn văn","editor.textalign.tooltip":"Căn chỉnh","editor.textalign.left.tooltip":"Trái","editor.textalign.center.tooltip":"Giữa","editor.textalign.right.tooltip":"Phải","editor.textalign.justify.tooltip":"Căn đều","editor.indent":"Thụt lề","editor.indent.indent":"Tăng thụt lề","editor.indent.outdent":"Giảm thụt lề","editor.fontSize.tooltip":"Kích thước phông chữ","editor.fontSize.default.tooltip":"Mặc định","editor.superscript.tooltip":"Chỉ số trên","editor.subscript.tooltip":"Chỉ số dưới","editor.bulletlist.tooltip":"Danh sách dấu đầu dòng","editor.orderedlist.tooltip":"Danh sách có thứ tự","editor.tasklist.tooltip":"Danh sách tác vụ","editor.indent.tooltip":"Tăng thụt lề","editor.outdent.tooltip":"Giảm thụt lề","editor.columns.tooltip":"Cột","editor.link.tooltip":"Liên kết","editor.link.unlink.tooltip":"Hủy liên kết","editor.link.open.tooltip":"Mở liên kết","editor.link.edit.tooltip":"Chỉnh sửa liên kết","editor.link.dialog.title":"Chèn liên kết","editor.link.dialog.link":"Liên kết","editor.link.dialog.text":"Văn bản","editor.link.dialog.openInNewTab":"Mở trong tab mới","editor.link.dialog.link.placeholder":"Địa chỉ liên kết","editor.link.dialog.text.placeholder":"Thêm mô tả","editor.link.dialog.button.apply":"Áp dụng","editor.image.tooltip":"Hình ảnh","editor.image.dragger.tooltip":"Nhấp hoặc kéo hình ảnh đến khu vực để tải lên","editor.image.float.left.tooltip":"Trôi sang trái","editor.image.float.none.tooltip":"Trôi không","editor.image.float.right.tooltip":"Trôi sang phải","editor.image.dialog.title":"Thêm hình ảnh","editor.image.dialog.tab.url":"Url","editor.image.dialog.tab.upload":"Tải lên","editor.image.dialog.uploading":"Đang tải lên","editor.image.dialog.form.link":"Liên kết","editor.image.dialog.placeholder":"Liên kết","editor.image.dialog.form.alt":"Alt","editor.image.dialog.form.aspectRatio":"Khóa tỷ lệ khung hình gốc","editor.image.dialog.form.file":"Tệp","editor.image.dialog.button.apply":"áp dụng","editor.video.tooltip":"Video","editor.video.dialog.tab.upload":"Tải lên","editor.video.dialog.uploading":"Đang tải lên","editor.video.dialog.title":"Nhúng hoặc tải lên video","editor.video.dialog.link":"liên kết","editor.video.dialog.placeholder":"Liên kết","editor.video.dialog.button.apply":"áp dụng","editor.table.tooltip":"Bảng","editor.table.menu.insert_table":"Chèn Bảng","editor.table.menu.insert_table.with_header_row":"Có hàng tiêu đề","editor.table.menu.add_column_before":"Thêm Cột Trước","editor.table.menu.add_column_after":"Thêm Cột Sau","editor.table.menu.delete_column":"Xóa Cột","editor.table.menu.add_row_before":"Thêm Hàng Trước","editor.table.menu.add_row_after":"Thêm Hàng Sau","editor.table.menu.delete_row":"Xóa Hàng","editor.table.menu.merge_or_split_cells":"Gộp Hoặc Tách Ô","editor.table.menu.delete_table":"Xóa Bảng","editor.blockquote.tooltip":"Blockquote","editor.horizontalrule.tooltip":"Quy tắc ngang","editor.code.tooltip":"Mã","editor.codeblock.tooltip":"Khối mã","editor.clear.tooltip":"Xóa định dạng","editor.undo.tooltip":"Hoàn tác","editor.redo.tooltip":"Làm lại","editor.fullscreen.tooltip.fullscreen":"Toàn màn hình","editor.fullscreen.tooltip.exit":"Thoát toàn màn hình","editor.imageUpload.fileTypeNotSupported":"Loại tệp không được hỗ trợ","editor.imageUpload.fileSizeTooBig":"Kích thước tệp quá lớn, Kích thước tối đa là","editor.table.menu.insertColumnBefore":"Chèn cột trước","editor.table.menu.insertColumnAfter":"Chèn cột sau","editor.table.menu.deleteColumn":"Xóa cột","editor.table.menu.insertRowAbove":"Chèn hàng ở trên","editor.table.menu.insertRowBelow":"Chèn hàng ở dưới","editor.table.menu.deleteRow":"Xóa hàng","editor.table.menu.mergeCells":"Gộp các ô","editor.table.menu.splitCells":"Chia ô","editor.table.menu.deleteTable":"Xóa bảng","editor.table.menu.setCellsBgColor":"Màu nền ô","editor.emoji.tooltip":"Biểu tượng","editor.iframe.tooltip":"Iframe","editor.searchAndReplace.tooltip":"Tìm kiếm và thay thế","editor.search.dialog.text":"Tìm kiếm","editor.replace.dialog.text":"Thay thế","editor.replaceAll.dialog.text":"Thay thế tất cả","editor.previous.dialog.text":"Trước","editor.next.dialog.text":"Tiếp theo",no_result_found:"Không tìm thấy kết quả","Smileys & People":"Cười & Mọi người","Animals & Nature":"Động vật & Thiên nhiên","Food & Drink":"Thức ăn & Đồ uống",Activity:"Hoạt động","Travel & Places":"Du lịch & Địa điểm",Object:"Vật",Symbol:"Ký hiệu",Flags:"Cờ","Frequently used":"Thường xuyên sử dụng","editor.formula.dialog.text":"Công thức","editor.katex.tooltip":"Công thức toán học","editor.exportPdf.tooltip":"Xuất PDF","editor.exportWord.tooltip":"Xuất Word","editor.importWrod.tooltip":"Nhập Word"},u=F,A={"editor.remove":"移除","editor.copy":"复制","editor.words":"字数","editor.characters":"字符数","editor.default":"默认","editor.recent":"最近使用","editor.nofill":"无填充","editor.format":"格式刷","editor.delete":"删除","editor.edit":"编辑","editor.settings":"设置","editor.table_of_content":"目录","editor.draghandle.tooltip":"修改","editor.copyToClipboard":"复制到剪贴板","editor.importWord.tooltip":"导入 Word","editor.slash":"按 '/' 使用命令","editor.slash.empty":"无结果","editor.slash.format":"格式","editor.slash.insert":"插入","editor.slash.embed":"嵌入服务","editor.content":"请输入内容","editor.fontFamily.tooltip":"字体","editor.fontFamily.default.tooltip":"默认","editor.moremark":"更多文本样式","editor.size.small.tooltip":"小","editor.size.medium.tooltip":"中","editor.size.large.tooltip":"封面","editor.bold.tooltip":"粗体","editor.italic.tooltip":"斜体","editor.underline.tooltip":"下划线","editor.strike.tooltip":"删除线","editor.color.tooltip":"颜色","editor.color.more":"更多颜色","editor.highlight.tooltip":"高亮","editor.lineheight.tooltip":"行高","editor.heading.tooltip":"标题","editor.heading.h1.tooltip":"标题 1","editor.heading.h2.tooltip":"标题 2","editor.heading.h3.tooltip":"标题 3","editor.heading.h4.tooltip":"标题 4","editor.heading.h5.tooltip":"标题 5","editor.heading.h6.tooltip":"标题 6","editor.paragraph.tooltip":"段落","editor.textalign.tooltip":"对齐","editor.textalign.left.tooltip":"左对齐","editor.textalign.center.tooltip":"居中","editor.textalign.right.tooltip":"右对齐","editor.textalign.justify.tooltip":"两端对齐","editor.indent":"缩进","editor.indent.indent":"增加缩进","editor.indent.outdent":"减少缩进","editor.fontSize.tooltip":"字号","editor.fontSize.default.tooltip":"默认","editor.superscript.tooltip":"上标","editor.subscript.tooltip":"下标","editor.bulletlist.tooltip":"无序列表","editor.orderedlist.tooltip":"有序列表","editor.tasklist.tooltip":"任务列表","editor.indent.tooltip":"缩进","editor.outdent.tooltip":"减少缩进","editor.columns.tooltip":"列","editor.link.tooltip":"链接","editor.link.unlink.tooltip":"取消链接","editor.link.open.tooltip":"打开链接","editor.link.edit.tooltip":"编辑链接","editor.link.dialog.title":"插入链接","editor.link.dialog.link":"链接","editor.link.dialog.text":"文本","editor.link.dialog.openInNewTab":"在新标签页中打开","editor.link.dialog.link.placeholder":"链接地址","editor.link.dialog.text.placeholder":"添加描述","editor.link.dialog.button.apply":"应用","editor.image.tooltip":"图片","editor.image.dragger.tooltip":"点击或拖拽图片到此区域上传","editor.image.float.left.tooltip":"左浮动","editor.image.float.none.tooltip":"无浮动","editor.image.float.right.tooltip":"右浮动","editor.image.dialog.title":"添加图片","editor.image.dialog.tab.url":"链接","editor.image.dialog.tab.upload":"上传","editor.image.dialog.uploading":"上传中","editor.image.dialog.form.link":"链接","editor.image.dialog.placeholder":"链接","editor.image.dialog.form.alt":"替代文本","editor.image.dialog.form.aspectRatio":"锁定原始宽高比","editor.image.dialog.form.file":"文件","editor.image.dialog.button.apply":"应用","editor.video.tooltip":"视频","editor.video.dialog.tab.upload":"上传","editor.video.dialog.uploading":"上传中","editor.video.dialog.title":"嵌入或上传视频","editor.video.dialog.link":"链接","editor.video.dialog.placeholder":"链接","editor.video.dialog.button.apply":"应用","editor.table.tooltip":"表格","editor.table.menu.insert_table":"插入表格","editor.table.menu.insert_table.with_header_row":"带标题行","editor.table.menu.add_column_before":"在前面插入列","editor.table.menu.add_column_after":"在后面插入列","editor.table.menu.delete_column":"删除列","editor.table.menu.add_row_before":"在上方插入行","editor.table.menu.add_row_after":"在下方插入行","editor.table.menu.delete_row":"删除行","editor.table.menu.merge_or_split_cells":"合并或拆分单元格","editor.table.menu.delete_table":"删除表格","editor.blockquote.tooltip":"引用","editor.horizontalrule.tooltip":"水平线","editor.code.tooltip":"代码","editor.codeblock.tooltip":"代码块","editor.clear.tooltip":"清除格式","editor.undo.tooltip":"撤销","editor.redo.tooltip":"重做","editor.fullscreen.tooltip.fullscreen":"全屏","editor.fullscreen.tooltip.exit":"退出全屏","editor.imageUpload.fileTypeNotSupported":"不支持的文件类型","editor.imageUpload.fileSizeTooBig":"文件大小超出限制,最大大小为","editor.table.menu.insertColumnBefore":"在前面插入列","editor.table.menu.insertColumnAfter":"在后面插入列","editor.table.menu.deleteColumn":"删除列","editor.table.menu.insertRowAbove":"在上方插入行","editor.table.menu.insertRowBelow":"在下方插入行","editor.table.menu.deleteRow":"删除行","editor.table.menu.mergeCells":"合并单元格","editor.table.menu.splitCells":"拆分单元格","editor.table.menu.deleteTable":"删除表格","editor.table.menu.setCellsBgColor":"设置单元格背景色","editor.emoji.tooltip":"表情","editor.iframe.tooltip":"内嵌框架","editor.searchAndReplace.tooltip":"搜索和替换","editor.search.dialog.text":"搜索","editor.replace.dialog.text":"替换","editor.replaceAll.dialog.text":"全部替换","editor.previous.dialog.text":"上一个","editor.next.dialog.text":"下一个",no_result_found:"未找到结果","Smileys & People":"笑脸和人","Animals & Nature":"动物和自然","Food & Drink":"食物和饮料",Activity:"活动","Travel & Places":"旅行和地点",Object:"物体",Symbol:"符号",Flags:"旗帜","Frequently used":"常用","editor.formula.dialog.text":"公式","editor.katex.tooltip":"数学公式","editor.exportPdf.tooltip":"导出 PDF","editor.exportWord.tooltip":"导出 Word","editor.importWrod.tooltip":"导入 Word"},m=A,C="en",E=200,k=E-80,L=20,D=1e5,x=16,I=10,S=10,y=2,v=["#000000","#262626","#595959","#8C8C8C","#BFBFBF","#D9D9D9","#E9E9E9","#F5F5F5","#FAFAFA","#FFFFFF","#F5222D","#FA541C","#FA8C16","#FADB14","#52C41A","#13C2C2","#1890FF","#2F54EB","#722ED1","#EB2F96","#FFE8E6","#FFECE0","#FFEFD1","#FCFCCA","#E4F7D2","#D3F5F0","#D4EEFC","#DEE8FC","#EFE1FA","#FAE1EB","#FFA39E","#FFBB96","#FFD591","#FFFB8F","#B7EB8F","#87E8DE","#91D5FF","#ADC6FF","#D3ADF7","#FFADD2","#FF4D4F","#FF7A45","#FFA940","#FFEC3D","#73D13D","#36CFC9","#40A9FF","#597EF7","#9254DE","#F759AB","#CF1322","#D4380D","#D46B08","#D4B106","#389E0D","#08979C","#096DD9","#1D39C4","#531DAB","#C41D7F","#820014","#871400","#873800","#614700","#135200","#00474F","#003A8C","#061178","#22075E","#780650"],B=["Inter","Comic Sans MS, Comic Sans","serif","monospace","cursive"],R=["html","css","js","ts","bash"],w={html:"HTML",css:"CSS",js:"JavaScript",ts:"TypeScript",bash:"Bash"},U=["10px","11px","12px","14px","16px","18px","20px","22px","24px","26px","28px","36px","48px","72px"],N="default";var c=(e=>(e[e["size-small"]=200]="size-small",e[e["size-medium"]=500]="size-medium",e["size-large"]="100%",e))(c||{}),h=(e=>(e[e["size-small"]=480]="size-small",e[e["size-medium"]=640]="size-medium",e["size-large"]="100%",e))(h||{});const M=["100%","115%","150%","200%","250%","300%"],H="1",z=["bold","italic","underline","strike","code","link","divider","color","highlight","textAlign"],i={lang:C,message:{en:g,vi:u,zh_CN:m}};class O{constructor(){n(this,"emitter");this.emitter=T.mitt()}get lang(){return i.lang}set lang(t){if(!this.isLangSupported(t)){console.warn(`Can't find the current language "${t}", Using language "${i.lang}" by default`);return}i.lang=t,this.emitter.emit("lang",t)}get message(){return i.message}set message(t){i.message=t}loadLangMessage(t){return this.message[t]}isLangSupported(t){return Object.keys(this.message).includes(t)}setLang(t){this.lang=t}registerWatchLang(t){return this.emitter.on("lang",t),{unsubscribe:()=>{this.emitter.off("lang",t)}}}setMessage(t,o){this.message[t]=o}buildLocalesHandler(t){t||(t=this.lang);const o=this.loadLangMessage(t);return function(a){return o[a]||a}}}const l=new O,r=s.proxy({lang:i.lang});function G(){const e=s.useSnapshot(r),t=p.useMemo(()=>l.buildLocalesHandler(e.lang),[e.lang]);return p.useEffect(()=>{const o=l.registerWatchLang(d=>{r.lang=d});return()=>{o.unsubscribe()}},[]),{lang:e.lang,t}}const W={t:e=>l.buildLocalesHandler(r.lang)(e)},P=l;exports.BUBBLE_TEXT_LIST=z;exports.COLORS_LIST=v;exports.DEFAULT_FONT_FAMILY_LIST=B;exports.DEFAULT_FONT_SIZE_LIST=U;exports.DEFAULT_FONT_SIZE_VALUE=N;exports.DEFAULT_LANGUAGE_CODE_BLOCK=R;exports.DEFAULT_LINE_HEIGHT=H;exports.DEFAULT_LINE_HEIGHT_LIST=M;exports.EDITOR_UPDATE_WATCH_THROTTLE_WAIT_TIME=k;exports.IMAGE_MAX_SIZE=D;exports.IMAGE_MIN_SIZE=L;exports.IMAGE_SIZE=c;exports.IMAGE_THROTTLE_WAIT_TIME=x;exports.MAP_LANGUAGE_CODE_LABELS=w;exports.TABLE_DEFAULT_SELECTED_GRID_SIZE=y;exports.TABLE_INIT_GRID_SIZE=I;exports.TABLE_MAX_GRID_SIZE=S;exports.VIDEO_SIZE=h;exports.en=g;exports.locale=P;exports.localeActions=W;exports.useLocale=G;exports.vi=u;exports.zh_CN=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils-DIGL2fIv.cjs"),o=require("./locales-ZNMN5VNS.cjs");exports.BaseKit=e.BaseKit;exports.Blockquote=e.Blockquote;exports.Bold=e.Bold;exports.BulletList=e.BulletList;exports.Clear=e.Clear;exports.Code=e.Code;exports.CodeBlock=e.CodeBlock;exports.Color=e.Color;exports.Column=e.Column;exports.ColumnActionButton=e.ColumnActionButton;exports.Emoji=e.Emoji;exports.Excalidraw=e.Excalidraw;exports.ExportPdf=e.ExportPdf;exports.ExportWord=e.ExportWord;exports.FontFamily=e.FontFamily;exports.FontSize=e.FontSize;exports.FormatPainter=e.FormatPainter;exports.Heading=e.Heading;exports.Highlight=e.Highlight;exports.History=e.History;exports.HorizontalRule=e.HorizontalRule;exports.Iframe=e.Iframe;exports.Image=e.Image;exports.ImageUpload=e.ImageUpload;exports.ImportWord=e.ImportWord;exports.Indent=e.Indent;exports.Italic=e.Italic;exports.Katex=e.Katex;exports.LineHeight=e.LineHeight;exports.Link=e.Link;exports.MoreMark=e.MoreMark;exports.MultiColumn=e.MultiColumn;exports.OrderedList=e.OrderedList;exports.SearchAndReplace=e.SearchAndReplace;exports.SlashCommand=e.SlashCommand;exports.Strike=e.Strike;exports.SubAndSuperScript=e.SubAndSuperScript;exports.Table=e.Table;exports.TableOfContents=e.TableOfContents;exports.TaskList=e.TaskList;exports.TextAlign=e.TextAlign;exports.Underline=e.Underline;exports.Video=e.Video;exports.VideoUpload=e.VideoUpload;exports.default=e.RichTextEditor;exports.en=o.en;exports.locale=o.locale;exports.vi=o.vi;exports.zh_CN=o.zh_CN;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as e, h as o, B as t, e as l, f as i, C as r, a as n, c as d, v as m, x as u, E as p, N as C, A as c, G as g, F as k, b as x, u as S, H as f, d as h, j as B, i as I, y as H, q as L, r as z, D as A, n as E, I as F, K as T, o as b, L as M, M as U, w as v, O as y, z as K, p as O, S as R, l as V, t as j, J as q, g as w, T as N, U as P, V as W, s as D, R as G } from "./utils-
|
|
2
|
-
import { m as _, k as Q, v as X, z as Y } from "./locales-
|
|
1
|
+
import { k as e, h as o, B as t, e as l, f as i, C as r, a as n, c as d, v as m, x as u, E as p, N as C, A as c, G as g, F as k, b as x, u as S, H as f, d as h, j as B, i as I, y as H, q as L, r as z, D as A, n as E, I as F, K as T, o as b, L as M, M as U, w as v, O as y, z as K, p as O, S as R, l as V, t as j, J as q, g as w, T as N, U as P, V as W, s as D, R as G } from "./utils-DBcjIUpt.js";
|
|
2
|
+
import { m as _, k as Q, v as X, z as Y } from "./locales-Cf71hS5u.js";
|
|
3
3
|
export {
|
|
4
4
|
e as BaseKit,
|
|
5
5
|
o as Blockquote,
|