reactjs-tiptap-editor 1.0.22 → 1.0.23
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/{ActionMenuButton-B1067mIC.js → ActionMenuButton-C53IYt_R.js} +1 -1
- package/lib/{ActionMenuButton-BBDqKvKg.cjs → ActionMenuButton-Da0H9Beu.cjs} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +1 -1
- package/lib/{Callout-lBlBlK_w.cjs → Callout-CdXbDkZ6.cjs} +1 -1
- package/lib/{Callout-V2mO6s2Y.js → Callout-igc-a1lj.js} +2 -2
- package/lib/Callout.cjs +1 -1
- package/lib/Callout.js +2 -2
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +2 -2
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +1 -1
- package/lib/{Drawer-BeYo9jAG.cjs → Drawer-CrMuQNbZ.cjs} +1 -1
- package/lib/{Drawer-Cyv27orn.js → Drawer-DzroBQds.js} +2 -2
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +3 -3
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +4 -4
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +8 -8
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +4 -4
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +2 -2
- package/lib/History.cjs +1 -1
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +1 -1
- package/lib/{Iframe-Bx-VDxSB.cjs → Iframe-DVLx3H0m.cjs} +1 -1
- package/lib/{Iframe-D9JVKzO0.js → Iframe-Dt2Styg8.js} +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +45 -45
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.js +2 -2
- package/lib/{Indent-B5tQ5Wfg.js → Indent-BCZFJKcN.js} +1 -1
- package/lib/{Indent-CCLO0KpG.cjs → Indent-CQCn1r9U.cjs} +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +1 -1
- package/lib/{Katex-w_c6vAMd.js → Katex--VT0zcjU.js} +3 -3
- package/lib/{Katex-rtfVV2pl.cjs → Katex-By61XteD.cjs} +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +1 -1
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +3 -3
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +1 -1
- package/lib/{LinkEditBlock-_41zgSyl.cjs → LinkEditBlock-BLkA2CYZ.cjs} +1 -1
- package/lib/{LinkEditBlock-CTlU8YnO.js → LinkEditBlock-C_F9zWEj.js} +3 -3
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.js +10 -10
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +2 -2
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +1 -1
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +3 -3
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +3 -3
- package/lib/{SlashCommandNodeView-CVKjpS6r.cjs → SlashCommandNodeView-Aqc77oRC.cjs} +1 -1
- package/lib/{SlashCommandNodeView-DNkpJuM3.js → SlashCommandNodeView-DxlBPKPV.js} +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +1 -1
- package/lib/{Table-BFiU40iW.cjs → Table-DqXkwJAY.cjs} +1 -1
- package/lib/{Table-yZtD5Qo1.js → Table-r09L4PvT.js} +3 -3
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +2 -2
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +1 -1
- package/lib/{Twitter-CKm0M53B.js → Twitter-DP_9V0zb.js} +3 -3
- package/lib/{Twitter-BJjt8vv_.cjs → Twitter-f-oMDZuV.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +2 -2
- package/lib/bubble.cjs +1 -1
- package/lib/bubble.js +15 -15
- package/lib/{dropdown-menu-Dre693DD.cjs → dropdown-menu-DeBV2h9-.cjs} +1 -1
- package/lib/{dropdown-menu-AhMKS9PQ.js → dropdown-menu-uIj8M0jD.js} +1 -1
- package/lib/{index-BfHAqkoX.js → index-BVtsbzV8.js} +1 -1
- package/lib/{index-C4aGVY2E.cjs → index-CWw4s87s.cjs} +1 -1
- package/lib/{index-83hp1lZH.cjs → index-ezTXvA7H.cjs} +1 -1
- package/lib/{index-DtVRewGA.js → index-oj858lQO.js} +229 -31
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +7 -6
- package/lib/locales/index.d.ts +199 -1
- package/lib/locales/ja.d.ts +198 -0
- package/lib/{popover-D7w_FVSV.cjs → popover-Cq1iLY7i.cjs} +1 -1
- package/lib/{popover-B1ptDngu.js → popover-mlZeH-7I.js} +1 -1
- package/lib/{separator-CDoF4Z4Z.js → separator-Bh_ttGZg.js} +3 -3
- package/lib/{separator-C_7KkuoG.cjs → separator-DvAvl5_5.cjs} +1 -1
- package/lib/{textarea-CEtXap1b.cjs → textarea-CKXzGwId.cjs} +1 -1
- package/lib/{textarea-CNzZnjjW.js → textarea-MU5imD7D.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback as m } from "react";
|
|
2
|
-
import { b as
|
|
3
|
-
const b = "en",
|
|
2
|
+
import { b as a, S as c, y as h, v as n } from "./index-BG0kQamI.js";
|
|
3
|
+
const b = "en", D = 20, L = 1e5, w = 16, E = 10, B = 10, N = 2, R = [
|
|
4
4
|
"#000000",
|
|
5
5
|
"#262626",
|
|
6
6
|
"#595959",
|
|
@@ -88,7 +88,7 @@ const b = "en", L = 20, S = 1e5, D = 16, E = 10, w = 10, B = 2, N = [
|
|
|
88
88
|
"Lucida Console",
|
|
89
89
|
"Monaco",
|
|
90
90
|
"monospace"
|
|
91
|
-
],
|
|
91
|
+
], W = [
|
|
92
92
|
"Default",
|
|
93
93
|
"10px",
|
|
94
94
|
"11px",
|
|
@@ -106,7 +106,7 @@ const b = "en", L = 20, S = 1e5, D = 16, E = 10, w = 10, B = 2, N = [
|
|
|
106
106
|
"72px"
|
|
107
107
|
];
|
|
108
108
|
var k = /* @__PURE__ */ ((t) => (t[t["size-small"] = 200] = "size-small", t[t["size-medium"] = 500] = "size-medium", t["size-large"] = "100%", t))(k || {}), f = /* @__PURE__ */ ((t) => (t[t["size-small"] = 480] = "size-small", t[t["size-medium"] = 640] = "size-medium", t["size-large"] = "100%", t))(f || {});
|
|
109
|
-
const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"],
|
|
109
|
+
const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], U = ["Paragraph", 1, 2, 3, 4, 5, 6], y = {
|
|
110
110
|
"editor.remove": "Remove",
|
|
111
111
|
"editor.copy": "Copy",
|
|
112
112
|
"editor.words": "WORDS",
|
|
@@ -498,7 +498,7 @@ const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], W = ["Paragraph", 1,
|
|
|
498
498
|
"editor.callout.type.important": "Tärkeä",
|
|
499
499
|
"editor.callout.type.warning": "Varoitus",
|
|
500
500
|
"editor.callout.type.caution": "Varovaisuus"
|
|
501
|
-
},
|
|
501
|
+
}, x = {
|
|
502
502
|
"editor.remove": "Eltávolítás",
|
|
503
503
|
"editor.copy": "Másolás",
|
|
504
504
|
"editor.words": "SZAVAK",
|
|
@@ -694,7 +694,7 @@ const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], W = ["Paragraph", 1,
|
|
|
694
694
|
"editor.callout.type.important": "Fontos",
|
|
695
695
|
"editor.callout.type.warning": "Figyelmeztetés",
|
|
696
696
|
"editor.callout.type.caution": "Óvatosan"
|
|
697
|
-
},
|
|
697
|
+
}, C = {
|
|
698
698
|
"editor.remove": "Remover",
|
|
699
699
|
"editor.copy": "Copiar",
|
|
700
700
|
"editor.words": "PALAVRAS",
|
|
@@ -890,7 +890,7 @@ const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], W = ["Paragraph", 1,
|
|
|
890
890
|
"editor.callout.type.important": "Importante",
|
|
891
891
|
"editor.callout.type.warning": "Aviso",
|
|
892
892
|
"editor.callout.type.caution": "Cuidado"
|
|
893
|
-
},
|
|
893
|
+
}, z = {
|
|
894
894
|
"editor.remove": "Xóa",
|
|
895
895
|
"editor.copy": "Sao chép",
|
|
896
896
|
"editor.words": "TỪ",
|
|
@@ -1282,26 +1282,223 @@ const P = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], W = ["Paragraph", 1,
|
|
|
1282
1282
|
"editor.callout.type.important": "重要",
|
|
1283
1283
|
"editor.callout.type.warning": "警告",
|
|
1284
1284
|
"editor.callout.type.caution": "注意"
|
|
1285
|
+
}, F = {
|
|
1286
|
+
"editor.remove": "削除",
|
|
1287
|
+
"editor.copy": "コピー",
|
|
1288
|
+
"editor.words": "単語数",
|
|
1289
|
+
"editor.characters": "文字数",
|
|
1290
|
+
"editor.default": "デフォルト",
|
|
1291
|
+
"editor.recent": "最近使用した項目",
|
|
1292
|
+
"editor.nofill": "塗りなし",
|
|
1293
|
+
"editor.format": "書式のコピー",
|
|
1294
|
+
"editor.delete": "削除",
|
|
1295
|
+
"editor.edit": "編集",
|
|
1296
|
+
"editor.settings": "設定",
|
|
1297
|
+
"editor.table_of_content": "目次",
|
|
1298
|
+
"editor.draghandle.tooltip": "変更",
|
|
1299
|
+
"editor.draghandle.insertBlock": "ブロックを挿入",
|
|
1300
|
+
"editor.draghandle.grip": "クリックでオプション、長押しでドラッグ",
|
|
1301
|
+
"editor.copyToClipboard": "クリップボードにコピー",
|
|
1302
|
+
"editor.slash": "「/」でコマンドを表示",
|
|
1303
|
+
"editor.slash.empty": "該当なし",
|
|
1304
|
+
"editor.slash.format": "書式",
|
|
1305
|
+
"editor.slash.insert": "挿入",
|
|
1306
|
+
"editor.slash.embed": "埋め込みサービス",
|
|
1307
|
+
"editor.content": "内容を入力してください",
|
|
1308
|
+
"editor.fontFamily.tooltip": "フォント",
|
|
1309
|
+
"editor.fontFamily.default.tooltip": "デフォルト",
|
|
1310
|
+
"editor.moremark": "その他のテキストスタイル",
|
|
1311
|
+
"editor.size.small.tooltip": "小",
|
|
1312
|
+
"editor.size.medium.tooltip": "中",
|
|
1313
|
+
"editor.size.large.tooltip": "カバー",
|
|
1314
|
+
"editor.bold.tooltip": "太字",
|
|
1315
|
+
"editor.italic.tooltip": "斜体",
|
|
1316
|
+
"editor.underline.tooltip": "下線",
|
|
1317
|
+
"editor.strike.tooltip": "取り消し線",
|
|
1318
|
+
"editor.color.tooltip": "文字色",
|
|
1319
|
+
"editor.color.more": "その他の色",
|
|
1320
|
+
"editor.highlight.tooltip": "ハイライト",
|
|
1321
|
+
"editor.lineheight.tooltip": "行間",
|
|
1322
|
+
"editor.heading.tooltip": "見出し",
|
|
1323
|
+
"editor.heading.h1.tooltip": "見出し1",
|
|
1324
|
+
"editor.heading.h2.tooltip": "見出し2",
|
|
1325
|
+
"editor.heading.h3.tooltip": "見出し3",
|
|
1326
|
+
"editor.heading.h4.tooltip": "見出し4",
|
|
1327
|
+
"editor.heading.h5.tooltip": "見出し5",
|
|
1328
|
+
"editor.heading.h6.tooltip": "見出し6",
|
|
1329
|
+
"editor.paragraph.tooltip": "段落",
|
|
1330
|
+
"editor.textalign.tooltip": "配置",
|
|
1331
|
+
"editor.textalign.left.tooltip": "左揃え",
|
|
1332
|
+
"editor.textalign.center.tooltip": "中央揃え",
|
|
1333
|
+
"editor.textalign.right.tooltip": "右揃え",
|
|
1334
|
+
"editor.textalign.justify.tooltip": "両端揃え",
|
|
1335
|
+
"editor.indent": "インデント",
|
|
1336
|
+
"editor.indent.indent": "インデントを増やす",
|
|
1337
|
+
"editor.indent.outdent": "インデントを減らす",
|
|
1338
|
+
"editor.fontSize.tooltip": "フォントサイズ",
|
|
1339
|
+
"editor.fontSize.default.tooltip": "デフォルト",
|
|
1340
|
+
"editor.superscript.tooltip": "上付き",
|
|
1341
|
+
"editor.subscript.tooltip": "下付き",
|
|
1342
|
+
"editor.bulletlist.tooltip": "箇条書き",
|
|
1343
|
+
"editor.orderedlist.tooltip": "番号付きリスト",
|
|
1344
|
+
"editor.tasklist.tooltip": "タスクリスト",
|
|
1345
|
+
"editor.indent.tooltip": "インデント",
|
|
1346
|
+
"editor.outdent.tooltip": "アウトデント",
|
|
1347
|
+
"editor.columns.tooltip": "列",
|
|
1348
|
+
"editor.link.tooltip": "リンク",
|
|
1349
|
+
"editor.link.unlink.tooltip": "リンク解除",
|
|
1350
|
+
"editor.link.open.tooltip": "リンクを開く",
|
|
1351
|
+
"editor.link.edit.tooltip": "リンクを編集",
|
|
1352
|
+
"editor.link.dialog.title": "リンクを挿入",
|
|
1353
|
+
"editor.link.dialog.link": "リンク",
|
|
1354
|
+
"editor.link.dialog.text": "テキスト",
|
|
1355
|
+
"editor.link.dialog.openInNewTab": "新しいタブで開く",
|
|
1356
|
+
"editor.link.dialog.link.placeholder": "リンク先URL",
|
|
1357
|
+
"editor.link.dialog.text.placeholder": "説明を追加",
|
|
1358
|
+
"editor.link.dialog.button.apply": "適用",
|
|
1359
|
+
"editor.link.dialog.button.cancel": "キャンセル",
|
|
1360
|
+
"editor.image.tooltip": "画像",
|
|
1361
|
+
"editor.image.dragger.tooltip": "クリックするか、画像をドラッグしてアップロード",
|
|
1362
|
+
"editor.image.float.left.tooltip": "左寄せ",
|
|
1363
|
+
"editor.image.float.none.tooltip": "回り込みなし",
|
|
1364
|
+
"editor.image.float.right.tooltip": "右寄せ",
|
|
1365
|
+
"editor.image.dialog.title": "画像を追加",
|
|
1366
|
+
"editor.image.dialog.tab.url": "URL",
|
|
1367
|
+
"editor.image.dialog.tab.upload": "アップロード",
|
|
1368
|
+
"editor.image.dialog.tab.uploadCrop": "アップロードしてトリミング",
|
|
1369
|
+
"editor.image.dialog.uploading": "アップロード中",
|
|
1370
|
+
"editor.link.dialog.inline": "インライン",
|
|
1371
|
+
"editor.image.dialog.form.link": "リンク",
|
|
1372
|
+
"editor.image.dialog.placeholder": "リンク",
|
|
1373
|
+
"editor.image.dialog.form.alt": "代替テキスト",
|
|
1374
|
+
"editor.image.dialog.form.aspectRatio": "元の縦横比を維持",
|
|
1375
|
+
"editor.image.dialog.form.file": "ファイル",
|
|
1376
|
+
"editor.image.dialog.button.apply": "適用",
|
|
1377
|
+
"editor.video.tooltip": "動画",
|
|
1378
|
+
"editor.video.dialog.tab.upload": "アップロード",
|
|
1379
|
+
"editor.video.dialog.uploading": "アップロード中",
|
|
1380
|
+
"editor.video.dialog.title": "動画を埋め込むかアップロード",
|
|
1381
|
+
"editor.video.dialog.link": "リンク",
|
|
1382
|
+
"editor.video.dialog.placeholder": "リンク",
|
|
1383
|
+
"editor.video.dialog.button.apply": "適用",
|
|
1384
|
+
"editor.table.tooltip": "表",
|
|
1385
|
+
"editor.table.menu.insert_table": "表を挿入",
|
|
1386
|
+
"editor.table.menu.insert_table.with_header_row": "ヘッダー行あり",
|
|
1387
|
+
"editor.table.menu.add_column_before": "左に列を追加",
|
|
1388
|
+
"editor.table.menu.add_column_after": "右に列を追加",
|
|
1389
|
+
"editor.table.menu.delete_column": "列を削除",
|
|
1390
|
+
"editor.table.menu.add_row_before": "上に行を追加",
|
|
1391
|
+
"editor.table.menu.add_row_after": "下に行を追加",
|
|
1392
|
+
"editor.table.menu.delete_row": "行を削除",
|
|
1393
|
+
"editor.table.menu.merge_or_split_cells": "セルを結合/分割",
|
|
1394
|
+
"editor.table.menu.delete_table": "表を削除",
|
|
1395
|
+
"editor.blockquote.tooltip": "引用",
|
|
1396
|
+
"editor.horizontalrule.tooltip": "区切り線",
|
|
1397
|
+
"editor.code.tooltip": "コード",
|
|
1398
|
+
"editor.codeblock.tooltip": "コードブロック",
|
|
1399
|
+
"editor.clear.tooltip": "書式をクリア",
|
|
1400
|
+
"editor.undo.tooltip": "元に戻す",
|
|
1401
|
+
"editor.redo.tooltip": "やり直す",
|
|
1402
|
+
"editor.fullscreen.tooltip.fullscreen": "全画面表示",
|
|
1403
|
+
"editor.fullscreen.tooltip.exit": "全画面を終了",
|
|
1404
|
+
"editor.imageUpload.cancel": "キャンセル",
|
|
1405
|
+
"editor.imageUpload.crop": "トリミング",
|
|
1406
|
+
"editor.imageUpload.uploading": "アップロード中…",
|
|
1407
|
+
"editor.imageUpload.alt": "代替テキスト",
|
|
1408
|
+
"editor.imageUpload.fileTypeNotSupported": "このファイル形式はサポートされていません",
|
|
1409
|
+
"editor.imageUpload.fileSizeTooBig": "ファイルサイズが大きすぎます。上限は次のとおりです",
|
|
1410
|
+
"editor.table.menu.insertColumnBefore": "列を前に挿入",
|
|
1411
|
+
"editor.table.menu.insertColumnAfter": "列を後に挿入",
|
|
1412
|
+
"editor.table.menu.deleteColumn": "列を削除",
|
|
1413
|
+
"editor.table.menu.insertRowAbove": "行を上に挿入",
|
|
1414
|
+
"editor.table.menu.insertRowBelow": "行を下に挿入",
|
|
1415
|
+
"editor.table.menu.deleteRow": "行を削除",
|
|
1416
|
+
"editor.table.menu.mergeCells": "セルを結合",
|
|
1417
|
+
"editor.table.menu.splitCells": "セルを分割",
|
|
1418
|
+
"editor.table.menu.deleteTable": "表を削除",
|
|
1419
|
+
"editor.table.menu.setCellsBgColor": "セルの背景色",
|
|
1420
|
+
"editor.emoji.tooltip": "絵文字",
|
|
1421
|
+
"editor.iframe.tooltip": "iframe",
|
|
1422
|
+
"editor.searchAndReplace.tooltip": "検索と置換",
|
|
1423
|
+
"editor.search.dialog.text": "検索",
|
|
1424
|
+
"editor.replace.dialog.text": "置換",
|
|
1425
|
+
"editor.replaceAll.dialog.text": "すべて置換",
|
|
1426
|
+
"editor.previous.dialog.text": "前へ",
|
|
1427
|
+
"editor.next.dialog.text": "次へ",
|
|
1428
|
+
no_result_found: "結果が見つかりません",
|
|
1429
|
+
"Smileys & People": "顔文字と人",
|
|
1430
|
+
"Animals & Nature": "動物と自然",
|
|
1431
|
+
"Food & Drink": "食べ物と飲み物",
|
|
1432
|
+
Activity: "活動",
|
|
1433
|
+
"Travel & Places": "旅行と場所",
|
|
1434
|
+
Object: "物",
|
|
1435
|
+
Symbol: "記号",
|
|
1436
|
+
Flags: "旗",
|
|
1437
|
+
"Frequently used": "よく使う項目",
|
|
1438
|
+
"editor.formula.dialog.text": "数式",
|
|
1439
|
+
"editor.katex.tooltip": "数式(KaTeX)",
|
|
1440
|
+
"editor.exportPdf.tooltip": "PDFに書き出す",
|
|
1441
|
+
"editor.exportWord.tooltip": "Wordに書き出す",
|
|
1442
|
+
"editor.importWord.tooltip": "Wordを取り込む",
|
|
1443
|
+
"editor.importWord.limitSize": "ファイルサイズは次の上限を超えられません",
|
|
1444
|
+
"editor.importWord.converting": "Word文書を変換しています。しばらくお待ちください…",
|
|
1445
|
+
"editor.importWord.convertError": "Word文書の解析中にエラーが発生しました",
|
|
1446
|
+
"editor.importWord.importError": "Word文書の取り込み中にエラーが発生しました",
|
|
1447
|
+
"editor.textDirection.tooltip": "文字の向き",
|
|
1448
|
+
"editor.textDirection.auto.tooltip": "自動",
|
|
1449
|
+
"editor.textDirection.ltr.tooltip": "左から右",
|
|
1450
|
+
"editor.textDirection.rtl.tooltip": "右から左",
|
|
1451
|
+
"editor.textDirection.unset.tooltip": "未設定",
|
|
1452
|
+
"editor.attachment.tooltip": "添付ファイル",
|
|
1453
|
+
"editor.attachment.uploading": "アップロード中",
|
|
1454
|
+
"editor.attachment.please_upload": "ファイルをアップロードしてください",
|
|
1455
|
+
"editor.imageGif.tooltip": "GIF",
|
|
1456
|
+
"editor.replace.caseSensitive": "大文字と小文字を区別",
|
|
1457
|
+
"editor.mermaid.tooltip": "Mermaid",
|
|
1458
|
+
"editor.twitter.tooltip": "Twitter",
|
|
1459
|
+
"editor.codeView.tooltip": "コードビュー",
|
|
1460
|
+
"editor.tooltip.flipX": "左右反転",
|
|
1461
|
+
"editor.tooltip.flipY": "上下反転",
|
|
1462
|
+
"editor.upload.fileTypeNotSupported": "{fileName} のファイル形式はサポートされていません",
|
|
1463
|
+
"editor.upload.fileSizeTooBig": "{fileName} のサイズが大きすぎます。上限は {size}MB です",
|
|
1464
|
+
"editor.upload.error": "ファイルのアップロード中にエラーが発生しました",
|
|
1465
|
+
"editor.callout.tooltip": "コールアウト",
|
|
1466
|
+
"editor.callout.dialog.title": "コールアウトを挿入",
|
|
1467
|
+
"editor.callout.dialog.type": "コールアウトの種類",
|
|
1468
|
+
"editor.callout.dialog.type.placeholder": "種類を選択",
|
|
1469
|
+
"editor.callout.dialog.title.label": "タイトル",
|
|
1470
|
+
"editor.callout.dialog.title.placeholder": "タイトルを入力(任意)",
|
|
1471
|
+
"editor.callout.dialog.body.label": "本文",
|
|
1472
|
+
"editor.callout.dialog.body.placeholder": "本文を入力(任意)",
|
|
1473
|
+
"editor.callout.dialog.button.apply": "挿入",
|
|
1474
|
+
"editor.callout.dialog.button.cancel": "キャンセル",
|
|
1475
|
+
"editor.callout.edit.title": "コールアウトを編集",
|
|
1476
|
+
"editor.callout.type.note": "注記",
|
|
1477
|
+
"editor.callout.type.tip": "ヒント",
|
|
1478
|
+
"editor.callout.type.important": "重要",
|
|
1479
|
+
"editor.callout.type.warning": "警告",
|
|
1480
|
+
"editor.callout.type.caution": "注意"
|
|
1285
1481
|
}, p = {
|
|
1286
1482
|
currentLang: b,
|
|
1287
1483
|
message: {
|
|
1288
1484
|
en: y,
|
|
1289
|
-
hu_HU:
|
|
1290
|
-
vi:
|
|
1485
|
+
hu_HU: x,
|
|
1486
|
+
vi: z,
|
|
1291
1487
|
zh_CN: T,
|
|
1292
|
-
pt_BR:
|
|
1293
|
-
fi: v
|
|
1488
|
+
pt_BR: C,
|
|
1489
|
+
fi: v,
|
|
1490
|
+
ja: F
|
|
1294
1491
|
}
|
|
1295
1492
|
}, i = h({
|
|
1296
1493
|
currentLang: p.currentLang,
|
|
1297
1494
|
message: p.message
|
|
1298
1495
|
});
|
|
1299
1496
|
function I() {
|
|
1300
|
-
const t =
|
|
1301
|
-
(l,
|
|
1497
|
+
const t = a(i).currentLang, o = a(i).message, e = c(i), s = m(
|
|
1498
|
+
(l, d) => {
|
|
1302
1499
|
try {
|
|
1303
1500
|
let r = (o[t] || {})[l] || l;
|
|
1304
|
-
return
|
|
1501
|
+
return d && Object.entries(d).forEach(([u, g]) => {
|
|
1305
1502
|
r = r.replace(new RegExp(`\\{${u}\\}`, "g"), String(g));
|
|
1306
1503
|
}), r;
|
|
1307
1504
|
} catch {
|
|
@@ -1316,7 +1513,7 @@ function I() {
|
|
|
1316
1513
|
t: s
|
|
1317
1514
|
};
|
|
1318
1515
|
}
|
|
1319
|
-
const
|
|
1516
|
+
const M = {
|
|
1320
1517
|
setLang: (t) => {
|
|
1321
1518
|
n(i).setValue((o) => ({
|
|
1322
1519
|
...o,
|
|
@@ -1337,25 +1534,26 @@ const U = {
|
|
|
1337
1534
|
}
|
|
1338
1535
|
};
|
|
1339
1536
|
export {
|
|
1340
|
-
|
|
1537
|
+
R as C,
|
|
1341
1538
|
j as D,
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1539
|
+
U as H,
|
|
1540
|
+
L as I,
|
|
1541
|
+
B as T,
|
|
1345
1542
|
f as V,
|
|
1346
1543
|
v as a,
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1544
|
+
x as b,
|
|
1545
|
+
F as c,
|
|
1546
|
+
M as d,
|
|
1547
|
+
C as e,
|
|
1548
|
+
z as f,
|
|
1549
|
+
T as g,
|
|
1550
|
+
W as h,
|
|
1551
|
+
P as i,
|
|
1552
|
+
w as j,
|
|
1553
|
+
D as k,
|
|
1357
1554
|
y as l,
|
|
1358
|
-
|
|
1359
|
-
|
|
1555
|
+
E as m,
|
|
1556
|
+
N as n,
|
|
1557
|
+
k as o,
|
|
1360
1558
|
I as u
|
|
1361
1559
|
};
|
package/lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),C=require("./clsx-DSAWW32g.cjs"),l=require("react"),d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),C=require("./clsx-DSAWW32g.cjs"),l=require("react"),d=require("./index-ezTXvA7H.cjs"),f=require("./theme.cjs"),M=`
|
|
2
2
|
.reactjs-tiptap-editor {
|
|
3
3
|
button,
|
|
4
4
|
input:where([type=button]),
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, Fragment as f, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import { E as j } from "./clsx-Bg-2aTKh.js";
|
|
3
3
|
import { useEffect as l, useId as M } from "react";
|
|
4
|
-
import { N as P, R as A, O, S as $ } from "./index-
|
|
4
|
+
import { N as P, R as A, O, S as $ } from "./index-BVtsbzV8.js";
|
|
5
5
|
import { useTheme as D, THEME as m } from "./theme.js";
|
|
6
6
|
const H = `
|
|
7
7
|
.reactjs-tiptap-editor {
|
package/lib/locale-bundle.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CWw4s87s.cjs");exports.en=e.locale;exports.fi=e.locale$1;exports.hu_HU=e.locale$2;exports.ja=e.locale$3;exports.localeActions=e.localeActions;exports.pt_BR=e.locale$4;exports.useLocale=e.useLocale;exports.vi=e.locale$5;exports.zh_CN=e.locale$6;
|
package/lib/locale-bundle.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { l as e, a as o, b as c, c as l, d as f,
|
|
1
|
+
import { l as e, a as o, b as c, c as l, d as f, e as i, u as t, f as u, g as _ } from "./index-oj858lQO.js";
|
|
2
2
|
export {
|
|
3
3
|
e as en,
|
|
4
4
|
o as fi,
|
|
5
5
|
c as hu_HU,
|
|
6
|
-
l as
|
|
7
|
-
f as
|
|
8
|
-
i as
|
|
9
|
-
t as
|
|
10
|
-
u as
|
|
6
|
+
l as ja,
|
|
7
|
+
f as localeActions,
|
|
8
|
+
i as pt_BR,
|
|
9
|
+
t as useLocale,
|
|
10
|
+
u as vi,
|
|
11
|
+
_ as zh_CN
|
|
11
12
|
};
|
package/lib/locales/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { default as hu_HU } from './hu';
|
|
|
4
4
|
import { default as pt_BR } from './pt-br';
|
|
5
5
|
import { default as vi } from './vi';
|
|
6
6
|
import { default as zh_CN } from './zh-cn';
|
|
7
|
+
import { default as ja } from './ja';
|
|
7
8
|
declare const LANG: {
|
|
8
9
|
currentLang: string;
|
|
9
10
|
message: {
|
|
@@ -1189,6 +1190,203 @@ declare const LANG: {
|
|
|
1189
1190
|
'editor.callout.type.warning': string;
|
|
1190
1191
|
'editor.callout.type.caution': string;
|
|
1191
1192
|
};
|
|
1193
|
+
ja: {
|
|
1194
|
+
'editor.remove': string;
|
|
1195
|
+
'editor.copy': string;
|
|
1196
|
+
'editor.words': string;
|
|
1197
|
+
'editor.characters': string;
|
|
1198
|
+
'editor.default': string;
|
|
1199
|
+
'editor.recent': string;
|
|
1200
|
+
'editor.nofill': string;
|
|
1201
|
+
'editor.format': string;
|
|
1202
|
+
'editor.delete': string;
|
|
1203
|
+
'editor.edit': string;
|
|
1204
|
+
'editor.settings': string;
|
|
1205
|
+
'editor.table_of_content': string;
|
|
1206
|
+
'editor.draghandle.tooltip': string;
|
|
1207
|
+
'editor.draghandle.insertBlock': string;
|
|
1208
|
+
'editor.draghandle.grip': string;
|
|
1209
|
+
'editor.copyToClipboard': string;
|
|
1210
|
+
'editor.slash': string;
|
|
1211
|
+
'editor.slash.empty': string;
|
|
1212
|
+
'editor.slash.format': string;
|
|
1213
|
+
'editor.slash.insert': string;
|
|
1214
|
+
'editor.slash.embed': string;
|
|
1215
|
+
'editor.content': string;
|
|
1216
|
+
'editor.fontFamily.tooltip': string;
|
|
1217
|
+
'editor.fontFamily.default.tooltip': string;
|
|
1218
|
+
'editor.moremark': string;
|
|
1219
|
+
'editor.size.small.tooltip': string;
|
|
1220
|
+
'editor.size.medium.tooltip': string;
|
|
1221
|
+
'editor.size.large.tooltip': string;
|
|
1222
|
+
'editor.bold.tooltip': string;
|
|
1223
|
+
'editor.italic.tooltip': string;
|
|
1224
|
+
'editor.underline.tooltip': string;
|
|
1225
|
+
'editor.strike.tooltip': string;
|
|
1226
|
+
'editor.color.tooltip': string;
|
|
1227
|
+
'editor.color.more': string;
|
|
1228
|
+
'editor.highlight.tooltip': string;
|
|
1229
|
+
'editor.lineheight.tooltip': string;
|
|
1230
|
+
'editor.heading.tooltip': string;
|
|
1231
|
+
'editor.heading.h1.tooltip': string;
|
|
1232
|
+
'editor.heading.h2.tooltip': string;
|
|
1233
|
+
'editor.heading.h3.tooltip': string;
|
|
1234
|
+
'editor.heading.h4.tooltip': string;
|
|
1235
|
+
'editor.heading.h5.tooltip': string;
|
|
1236
|
+
'editor.heading.h6.tooltip': string;
|
|
1237
|
+
'editor.paragraph.tooltip': string;
|
|
1238
|
+
'editor.textalign.tooltip': string;
|
|
1239
|
+
'editor.textalign.left.tooltip': string;
|
|
1240
|
+
'editor.textalign.center.tooltip': string;
|
|
1241
|
+
'editor.textalign.right.tooltip': string;
|
|
1242
|
+
'editor.textalign.justify.tooltip': string;
|
|
1243
|
+
'editor.indent': string;
|
|
1244
|
+
'editor.indent.indent': string;
|
|
1245
|
+
'editor.indent.outdent': string;
|
|
1246
|
+
'editor.fontSize.tooltip': string;
|
|
1247
|
+
'editor.fontSize.default.tooltip': string;
|
|
1248
|
+
'editor.superscript.tooltip': string;
|
|
1249
|
+
'editor.subscript.tooltip': string;
|
|
1250
|
+
'editor.bulletlist.tooltip': string;
|
|
1251
|
+
'editor.orderedlist.tooltip': string;
|
|
1252
|
+
'editor.tasklist.tooltip': string;
|
|
1253
|
+
'editor.indent.tooltip': string;
|
|
1254
|
+
'editor.outdent.tooltip': string;
|
|
1255
|
+
'editor.columns.tooltip': string;
|
|
1256
|
+
'editor.link.tooltip': string;
|
|
1257
|
+
'editor.link.unlink.tooltip': string;
|
|
1258
|
+
'editor.link.open.tooltip': string;
|
|
1259
|
+
'editor.link.edit.tooltip': string;
|
|
1260
|
+
'editor.link.dialog.title': string;
|
|
1261
|
+
'editor.link.dialog.link': string;
|
|
1262
|
+
'editor.link.dialog.text': string;
|
|
1263
|
+
'editor.link.dialog.openInNewTab': string;
|
|
1264
|
+
'editor.link.dialog.link.placeholder': string;
|
|
1265
|
+
'editor.link.dialog.text.placeholder': string;
|
|
1266
|
+
'editor.link.dialog.button.apply': string;
|
|
1267
|
+
'editor.link.dialog.button.cancel': string;
|
|
1268
|
+
'editor.image.tooltip': string;
|
|
1269
|
+
'editor.image.dragger.tooltip': string;
|
|
1270
|
+
'editor.image.float.left.tooltip': string;
|
|
1271
|
+
'editor.image.float.none.tooltip': string;
|
|
1272
|
+
'editor.image.float.right.tooltip': string;
|
|
1273
|
+
'editor.image.dialog.title': string;
|
|
1274
|
+
'editor.image.dialog.tab.url': string;
|
|
1275
|
+
'editor.image.dialog.tab.upload': string;
|
|
1276
|
+
'editor.image.dialog.tab.uploadCrop': string;
|
|
1277
|
+
'editor.image.dialog.uploading': string;
|
|
1278
|
+
'editor.link.dialog.inline': string;
|
|
1279
|
+
'editor.image.dialog.form.link': string;
|
|
1280
|
+
'editor.image.dialog.placeholder': string;
|
|
1281
|
+
'editor.image.dialog.form.alt': string;
|
|
1282
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
1283
|
+
'editor.image.dialog.form.file': string;
|
|
1284
|
+
'editor.image.dialog.button.apply': string;
|
|
1285
|
+
'editor.video.tooltip': string;
|
|
1286
|
+
'editor.video.dialog.tab.upload': string;
|
|
1287
|
+
'editor.video.dialog.uploading': string;
|
|
1288
|
+
'editor.video.dialog.title': string;
|
|
1289
|
+
'editor.video.dialog.link': string;
|
|
1290
|
+
'editor.video.dialog.placeholder': string;
|
|
1291
|
+
'editor.video.dialog.button.apply': string;
|
|
1292
|
+
'editor.table.tooltip': string;
|
|
1293
|
+
'editor.table.menu.insert_table': string;
|
|
1294
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
1295
|
+
'editor.table.menu.add_column_before': string;
|
|
1296
|
+
'editor.table.menu.add_column_after': string;
|
|
1297
|
+
'editor.table.menu.delete_column': string;
|
|
1298
|
+
'editor.table.menu.add_row_before': string;
|
|
1299
|
+
'editor.table.menu.add_row_after': string;
|
|
1300
|
+
'editor.table.menu.delete_row': string;
|
|
1301
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
1302
|
+
'editor.table.menu.delete_table': string;
|
|
1303
|
+
'editor.blockquote.tooltip': string;
|
|
1304
|
+
'editor.horizontalrule.tooltip': string;
|
|
1305
|
+
'editor.code.tooltip': string;
|
|
1306
|
+
'editor.codeblock.tooltip': string;
|
|
1307
|
+
'editor.clear.tooltip': string;
|
|
1308
|
+
'editor.undo.tooltip': string;
|
|
1309
|
+
'editor.redo.tooltip': string;
|
|
1310
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
1311
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
1312
|
+
'editor.imageUpload.cancel': string;
|
|
1313
|
+
'editor.imageUpload.crop': string;
|
|
1314
|
+
'editor.imageUpload.uploading': string;
|
|
1315
|
+
'editor.imageUpload.alt': string;
|
|
1316
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
1317
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
1318
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
1319
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
1320
|
+
'editor.table.menu.deleteColumn': string;
|
|
1321
|
+
'editor.table.menu.insertRowAbove': string;
|
|
1322
|
+
'editor.table.menu.insertRowBelow': string;
|
|
1323
|
+
'editor.table.menu.deleteRow': string;
|
|
1324
|
+
'editor.table.menu.mergeCells': string;
|
|
1325
|
+
'editor.table.menu.splitCells': string;
|
|
1326
|
+
'editor.table.menu.deleteTable': string;
|
|
1327
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
1328
|
+
'editor.emoji.tooltip': string;
|
|
1329
|
+
'editor.iframe.tooltip': string;
|
|
1330
|
+
'editor.searchAndReplace.tooltip': string;
|
|
1331
|
+
'editor.search.dialog.text': string;
|
|
1332
|
+
'editor.replace.dialog.text': string;
|
|
1333
|
+
'editor.replaceAll.dialog.text': string;
|
|
1334
|
+
'editor.previous.dialog.text': string;
|
|
1335
|
+
'editor.next.dialog.text': string;
|
|
1336
|
+
no_result_found: string;
|
|
1337
|
+
'Smileys & People': string;
|
|
1338
|
+
'Animals & Nature': string;
|
|
1339
|
+
'Food & Drink': string;
|
|
1340
|
+
Activity: string;
|
|
1341
|
+
'Travel & Places': string;
|
|
1342
|
+
Object: string;
|
|
1343
|
+
Symbol: string;
|
|
1344
|
+
Flags: string;
|
|
1345
|
+
'Frequently used': string;
|
|
1346
|
+
'editor.formula.dialog.text': string;
|
|
1347
|
+
'editor.katex.tooltip': string;
|
|
1348
|
+
'editor.exportPdf.tooltip': string;
|
|
1349
|
+
'editor.exportWord.tooltip': string;
|
|
1350
|
+
'editor.importWord.tooltip': string;
|
|
1351
|
+
'editor.importWord.limitSize': string;
|
|
1352
|
+
'editor.importWord.converting': string;
|
|
1353
|
+
'editor.importWord.convertError': string;
|
|
1354
|
+
'editor.importWord.importError': string;
|
|
1355
|
+
'editor.textDirection.tooltip': string;
|
|
1356
|
+
'editor.textDirection.auto.tooltip': string;
|
|
1357
|
+
'editor.textDirection.ltr.tooltip': string;
|
|
1358
|
+
'editor.textDirection.rtl.tooltip': string;
|
|
1359
|
+
'editor.textDirection.unset.tooltip': string;
|
|
1360
|
+
'editor.attachment.tooltip': string;
|
|
1361
|
+
'editor.attachment.uploading': string;
|
|
1362
|
+
'editor.attachment.please_upload': string;
|
|
1363
|
+
'editor.imageGif.tooltip': string;
|
|
1364
|
+
'editor.replace.caseSensitive': string;
|
|
1365
|
+
'editor.mermaid.tooltip': string;
|
|
1366
|
+
'editor.twitter.tooltip': string;
|
|
1367
|
+
'editor.codeView.tooltip': string;
|
|
1368
|
+
'editor.tooltip.flipX': string;
|
|
1369
|
+
'editor.tooltip.flipY': string;
|
|
1370
|
+
'editor.upload.fileTypeNotSupported': string;
|
|
1371
|
+
'editor.upload.fileSizeTooBig': string;
|
|
1372
|
+
'editor.upload.error': string;
|
|
1373
|
+
'editor.callout.tooltip': string;
|
|
1374
|
+
'editor.callout.dialog.title': string;
|
|
1375
|
+
'editor.callout.dialog.type': string;
|
|
1376
|
+
'editor.callout.dialog.type.placeholder': string;
|
|
1377
|
+
'editor.callout.dialog.title.label': string;
|
|
1378
|
+
'editor.callout.dialog.title.placeholder': string;
|
|
1379
|
+
'editor.callout.dialog.body.label': string;
|
|
1380
|
+
'editor.callout.dialog.body.placeholder': string;
|
|
1381
|
+
'editor.callout.dialog.button.apply': string;
|
|
1382
|
+
'editor.callout.dialog.button.cancel': string;
|
|
1383
|
+
'editor.callout.edit.title': string;
|
|
1384
|
+
'editor.callout.type.note': string;
|
|
1385
|
+
'editor.callout.type.tip': string;
|
|
1386
|
+
'editor.callout.type.important': string;
|
|
1387
|
+
'editor.callout.type.warning': string;
|
|
1388
|
+
'editor.callout.type.caution': string;
|
|
1389
|
+
};
|
|
1192
1390
|
};
|
|
1193
1391
|
};
|
|
1194
1392
|
type MessageKeysType = keyof typeof en;
|
|
@@ -1207,4 +1405,4 @@ declare const localeActions: {
|
|
|
1207
1405
|
setMessage: (lang: LanguageType | (string & {}), messages: Partial<Record<keyof typeof LANG.message.en, string>>) => void;
|
|
1208
1406
|
};
|
|
1209
1407
|
export { localeActions, useLocale };
|
|
1210
|
-
export { en, hu_HU, vi, zh_CN, pt_BR, fi };
|
|
1408
|
+
export { en, hu_HU, vi, zh_CN, pt_BR, fi, ja };
|