@pubwave/editor 0.2.6 → 0.2.7
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/LICENSE +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.css +1 -1
- package/dist/index.js +12 -12
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4336,7 +4336,7 @@ function cancelDrag(editor) {
|
|
|
4336
4336
|
const slashMenu$8 = { "groups": { "basic": "Basic", "list": "Lists", "media": "Media", "advanced": "Advanced" }, "commands": { "paragraph": { "title": "Text", "description": "Plain text block" }, "heading1": { "title": "Heading 1", "description": "Large section heading" }, "heading2": { "title": "Heading 2", "description": "Medium section heading" }, "heading3": { "title": "Heading 3", "description": "Small section heading" }, "bulletList": { "title": "Bullet List", "description": "Create a bulleted list" }, "orderedList": { "title": "Numbered List", "description": "Create a numbered list" }, "taskList": { "title": "To-do list", "description": "Create a todo list with checkboxes" }, "image": { "title": "Image", "description": "Upload or paste an image" }, "blockquote": { "title": "Blockquote", "description": "Create a quote block" }, "codeBlock": { "title": "Code", "description": "Create a code snippet" }, "horizontalRule": { "title": "Divider", "description": "Create a horizontal line" } } };
|
|
4337
4337
|
const toolbar$8 = { "bold": "Bold", "italic": "Italic", "underline": "Underline", "strike": "Strikethrough", "code": "Inline Code", "link": "Link", "turnInto": "Turn Into", "colorPicker": "Text and background color", "textColor": "Text color", "backgroundColor": "Background color", "recentlyUsed": "Recently used", "openLink": "Open link", "removeLink": "Remove link", "confirmLink": "Confirm link", "clearLink": "Clear link", "blockTypes": { "text": "Text", "heading1": "Heading 1", "heading2": "Heading 2", "heading3": "Heading 3", "bulletedList": "Bulleted list", "numberedList": "Numbered list" } };
|
|
4338
4338
|
const aria$8 = { "editor": "Rich text editor", "editorContent": "Editor content area", "toolbar": "Text formatting toolbar", "boldButton": "Toggle bold formatting", "italicButton": "Toggle italic formatting", "underlineButton": "Toggle underline formatting", "strikeButton": "Toggle strikethrough formatting", "codeButton": "Toggle inline code formatting", "linkButton": "Add or edit link", "turnIntoButton": "Turn into", "colorPickerButton": "Text and background color", "headingButton": "Set heading level", "paragraphButton": "Convert to paragraph", "dragHandle": "Drag to reorder block", "dropIndicator": "Drop here to move block", "blockMenu": "Block options menu", "addBlock": "Add new block", "deleteBlock": "Delete this block", "linkDialog": "Link editor dialog", "linkUrlInput": "Link URL input", "linkSaveButton": "Save link", "linkRemoveButton": "Remove link", "linkCancelButton": "Cancel link editing", "addBlockBelow": "Add block below", "dragToMove": "Drag to reorder block", "openLinkInNewTab": "Open link in new tab", "linkConfirmButton": "Confirm link", "linkOpenButton": "Open link in new tab", "linkClearButton": "Clear link input" };
|
|
4339
|
-
const placeholder$8 = '
|
|
4339
|
+
const placeholder$8 = 'Write, type "/" for commands...';
|
|
4340
4340
|
const linkPlaceholder$8 = "Paste a link...";
|
|
4341
4341
|
const enLocaleData = {
|
|
4342
4342
|
slashMenu: slashMenu$8,
|
|
@@ -4348,7 +4348,7 @@ const enLocaleData = {
|
|
|
4348
4348
|
const slashMenu$7 = { "groups": { "basic": "基礎", "list": "列表", "media": "媒體", "advanced": "高級" }, "commands": { "paragraph": { "title": "文本", "description": "普通文本塊" }, "heading1": { "title": "標題 1", "description": "大標題" }, "heading2": { "title": "標題 2", "description": "中標題" }, "heading3": { "title": "標題 3", "description": "小標題" }, "bulletList": { "title": "無序列表", "description": "創建無序列表" }, "orderedList": { "title": "有序列表", "description": "創建有序列表" }, "taskList": { "title": "待辦清單", "description": "創建帶複選框的待辦清單" }, "image": { "title": "圖片", "description": "上傳或粘貼圖片" }, "blockquote": { "title": "引用", "description": "創建引用塊" }, "codeBlock": { "title": "代碼", "description": "創建代碼片段" }, "horizontalRule": { "title": "分割線", "description": "創建水平分割線" } } };
|
|
4349
4349
|
const toolbar$7 = { "bold": "粗體", "italic": "斜體", "underline": "下劃線", "strike": "刪除線", "code": "行內代碼", "link": "鏈接", "turnInto": "轉換為", "colorPicker": "文字和背景顏色", "textColor": "文字顏色", "backgroundColor": "背景顏色", "recentlyUsed": "最近使用", "openLink": "打開鏈接", "removeLink": "移除鏈接", "confirmLink": "確認鏈接", "clearLink": "清空鏈接", "blockTypes": { "text": "文本", "heading1": "標題 1", "heading2": "標題 2", "heading3": "標題 3", "bulletedList": "無序列表", "numberedList": "有序列表" } };
|
|
4350
4350
|
const aria$7 = { "editor": "富文本編輯器", "editorContent": "編輯器內容區域", "toolbar": "文本格式化工具欄", "boldButton": "切換粗體格式", "italicButton": "切換斜體格式", "underlineButton": "切換下劃線格式", "strikeButton": "切換刪除線格式", "codeButton": "切換行內代碼格式", "linkButton": "添加或編輯鏈接", "turnIntoButton": "轉換為", "colorPickerButton": "文字和背景顏色", "headingButton": "設置標題級別", "paragraphButton": "轉換為段落", "dragHandle": "拖拽以重新排序塊", "dropIndicator": "放置此處以移動塊", "blockMenu": "塊選項菜單", "addBlock": "添加新塊", "deleteBlock": "刪除此塊", "linkDialog": "鏈接編輯對話框", "linkUrlInput": "鏈接 URL 輸入", "linkSaveButton": "保存鏈接", "linkRemoveButton": "移除鏈接", "linkCancelButton": "取消鏈接編輯", "addBlockBelow": "在下方添加塊", "dragToMove": "拖拽以重新排序塊", "openLinkInNewTab": "在新標籤頁中打開鏈接", "linkConfirmButton": "確認鏈接", "linkOpenButton": "在新標籤頁中打開鏈接", "linkClearButton": "清空鏈接輸入" };
|
|
4351
|
-
const placeholder$7 = '
|
|
4351
|
+
const placeholder$7 = '開始寫作,輸入 "/" 顯示命令...';
|
|
4352
4352
|
const linkPlaceholder$7 = "粘貼鏈接...";
|
|
4353
4353
|
const zhLocaleData = {
|
|
4354
4354
|
slashMenu: slashMenu$7,
|
|
@@ -4360,7 +4360,7 @@ const zhLocaleData = {
|
|
|
4360
4360
|
const slashMenu$6 = { "groups": { "basic": "基础", "list": "列表", "media": "媒体", "advanced": "高级" }, "commands": { "paragraph": { "title": "文本", "description": "普通文本块" }, "heading1": { "title": "标题 1", "description": "大标题" }, "heading2": { "title": "标题 2", "description": "中标题" }, "heading3": { "title": "标题 3", "description": "小标题" }, "bulletList": { "title": "无序列表", "description": "创建无序列表" }, "orderedList": { "title": "有序列表", "description": "创建有序列表" }, "taskList": { "title": "待办清单", "description": "创建带复选框的待办清单" }, "image": { "title": "图片", "description": "上传或粘贴图片" }, "blockquote": { "title": "引用", "description": "创建引用块" }, "codeBlock": { "title": "代码", "description": "创建代码片段" }, "horizontalRule": { "title": "分割线", "description": "创建水平分割线" } } };
|
|
4361
4361
|
const toolbar$6 = { "bold": "粗体", "italic": "斜体", "underline": "下划线", "strike": "删除线", "code": "行内代码", "link": "链接", "turnInto": "转换为", "colorPicker": "文字和背景颜色", "textColor": "文字颜色", "backgroundColor": "背景颜色", "recentlyUsed": "最近使用", "openLink": "打开链接", "removeLink": "移除链接", "confirmLink": "确认链接", "clearLink": "清空链接", "blockTypes": { "text": "文本", "heading1": "标题 1", "heading2": "标题 2", "heading3": "标题 3", "bulletedList": "无序列表", "numberedList": "有序列表" } };
|
|
4362
4362
|
const aria$6 = { "editor": "富文本编辑器", "editorContent": "编辑器内容区域", "toolbar": "文本格式化工具栏", "boldButton": "切换粗体格式", "italicButton": "切换斜体格式", "underlineButton": "切换下划线格式", "strikeButton": "切换删除线格式", "codeButton": "切换行内代码格式", "linkButton": "添加或编辑链接", "turnIntoButton": "转换为", "colorPickerButton": "文字和背景颜色", "headingButton": "设置标题级别", "paragraphButton": "转换为段落", "dragHandle": "拖拽以重新排序块", "dropIndicator": "放置此处以移动块", "blockMenu": "块选项菜单", "addBlock": "添加新块", "deleteBlock": "删除此块", "linkDialog": "链接编辑对话框", "linkUrlInput": "链接 URL 输入", "linkSaveButton": "保存链接", "linkRemoveButton": "移除链接", "linkCancelButton": "取消链接编辑", "addBlockBelow": "在下方添加块", "dragToMove": "拖拽以重新排序块", "openLinkInNewTab": "在新标签页中打开链接", "linkConfirmButton": "确认链接", "linkOpenButton": "在新标签页中打开链接", "linkClearButton": "清空链接输入" };
|
|
4363
|
-
const placeholder$6 = '
|
|
4363
|
+
const placeholder$6 = '开始写作,输入 "/" 显示命令...';
|
|
4364
4364
|
const linkPlaceholder$6 = "粘贴链接...";
|
|
4365
4365
|
const zhCNLocaleData = {
|
|
4366
4366
|
slashMenu: slashMenu$6,
|
|
@@ -4372,7 +4372,7 @@ const zhCNLocaleData = {
|
|
|
4372
4372
|
const slashMenu$5 = { "groups": { "basic": "基本", "list": "リスト", "media": "メディア", "advanced": "高度" }, "commands": { "paragraph": { "title": "テキスト", "description": "プレーンテキストブロック" }, "heading1": { "title": "見出し1", "description": "大きなセクション見出し" }, "heading2": { "title": "見出し2", "description": "中サイズのセクション見出し" }, "heading3": { "title": "見出し3", "description": "小さなセクション見出し" }, "bulletList": { "title": "箇条書きリスト", "description": "箇条書きリストを作成" }, "orderedList": { "title": "番号付きリスト", "description": "番号付きリストを作成" }, "taskList": { "title": "To-doリスト", "description": "チェックボックス付きのTo-doリストを作成" }, "image": { "title": "画像", "description": "画像をアップロードまたは貼り付け" }, "blockquote": { "title": "引用", "description": "引用ブロックを作成" }, "codeBlock": { "title": "コード", "description": "コードスニペットを作成" }, "horizontalRule": { "title": "区切り線", "description": "水平線を作成" } } };
|
|
4373
4373
|
const toolbar$5 = { "bold": "太字", "italic": "斜体", "underline": "下線", "strike": "取り消し線", "code": "インラインコード", "link": "リンク", "turnInto": "変換", "colorPicker": "テキストと背景色", "textColor": "文字色", "backgroundColor": "背景色", "recentlyUsed": "最近使用", "openLink": "リンクを開く", "removeLink": "リンクを削除", "confirmLink": "リンクを確認", "clearLink": "リンクをクリア", "blockTypes": { "text": "テキスト", "heading1": "見出し1", "heading2": "見出し2", "heading3": "見出し3", "bulletedList": "箇条書きリスト", "numberedList": "番号付きリスト" } };
|
|
4374
4374
|
const aria$5 = { "editor": "リッチテキストエディタ", "editorContent": "エディタコンテンツ領域", "toolbar": "テキスト書式設定ツールバー", "boldButton": "太字書式を切り替え", "italicButton": "斜体書式を切り替え", "underlineButton": "下線書式を切り替え", "strikeButton": "取り消し線書式を切り替え", "codeButton": "インラインコード書式を切り替え", "linkButton": "リンクを追加または編集", "turnIntoButton": "変換", "colorPickerButton": "テキストと背景色", "headingButton": "見出しレベルを設定", "paragraphButton": "段落に変換", "dragHandle": "ブロックを並び替えるためにドラッグ", "dropIndicator": "ブロックを移動するためにここにドロップ", "blockMenu": "ブロックオプションメニュー", "addBlock": "新しいブロックを追加", "deleteBlock": "このブロックを削除", "linkDialog": "リンク編集ダイアログ", "linkUrlInput": "リンクURL入力", "linkSaveButton": "リンクを保存", "linkRemoveButton": "リンクを削除", "linkCancelButton": "リンク編集をキャンセル", "addBlockBelow": "下にブロックを追加", "dragToMove": "ブロックを並び替えるためにドラッグ", "openLinkInNewTab": "新しいタブでリンクを開く", "linkConfirmButton": "リンクを確認", "linkOpenButton": "新しいタブでリンクを開く", "linkClearButton": "リンク入力をクリア" };
|
|
4375
|
-
const placeholder$5 = '
|
|
4375
|
+
const placeholder$5 = '書き始めましょう、コマンドを表示するには "/" を入力...';
|
|
4376
4376
|
const linkPlaceholder$5 = "リンクを貼り付け...";
|
|
4377
4377
|
const jaLocaleData = {
|
|
4378
4378
|
slashMenu: slashMenu$5,
|
|
@@ -4384,7 +4384,7 @@ const jaLocaleData = {
|
|
|
4384
4384
|
const slashMenu$4 = { "groups": { "basic": "기본", "list": "목록", "media": "미디어", "advanced": "고급" }, "commands": { "paragraph": { "title": "텍스트", "description": "일반 텍스트 블록" }, "heading1": { "title": "제목 1", "description": "큰 섹션 제목" }, "heading2": { "title": "제목 2", "description": "중간 섹션 제목" }, "heading3": { "title": "제목 3", "description": "작은 섹션 제목" }, "bulletList": { "title": "글머리 기호 목록", "description": "글머리 기호 목록 만들기" }, "orderedList": { "title": "번호 매기기 목록", "description": "번호 매기기 목록 만들기" }, "taskList": { "title": "할 일 목록", "description": "확인란 있는 할 일 목록 만들기" }, "image": { "title": "이미지", "description": "이미지 업로드 또는 붙여넣기" }, "blockquote": { "title": "인용", "description": "인용 블록 만들기" }, "codeBlock": { "title": "코드", "description": "코드 스니펫 만들기" }, "horizontalRule": { "title": "구분선", "description": "수평선 만들기" } } };
|
|
4385
4385
|
const toolbar$4 = { "bold": "굵게", "italic": "기울임", "underline": "밑줄", "strike": "취소선", "code": "인라인 코드", "link": "링크", "turnInto": "변환", "colorPicker": "텍스트 및 배경색", "textColor": "텍스트 색상", "backgroundColor": "배경 색상", "recentlyUsed": "최근 사용", "openLink": "링크 열기", "removeLink": "링크 제거", "confirmLink": "링크 확인", "clearLink": "링크 지우기", "blockTypes": { "text": "텍스트", "heading1": "제목 1", "heading2": "제목 2", "heading3": "제목 3", "bulletedList": "글머리 기호 목록", "numberedList": "번호 매기기 목록" } };
|
|
4386
4386
|
const aria$4 = { "editor": "리치 텍스트 에디터", "editorContent": "에디터 내용 영역", "toolbar": "텍스트 서식 도구 모음", "boldButton": "굵게 서식 전환", "italicButton": "기울임 서식 전환", "underlineButton": "밑줄 서식 전환", "strikeButton": "취소선 서식 전환", "codeButton": "인라인 코드 서식 전환", "linkButton": "링크 추가 또는 편집", "turnIntoButton": "변환", "colorPickerButton": "텍스트 및 배경색", "headingButton": "제목 수준 설정", "paragraphButton": "단락으로 변환", "dragHandle": "블록 재정렬을 위해 드래그", "dropIndicator": "블록 이동을 위해 여기에 놓기", "blockMenu": "블록 옵션 메뉴", "addBlock": "새 블록 추가", "deleteBlock": "이 블록 삭제", "linkDialog": "링크 편집 대화 상자", "linkUrlInput": "링크 URL 입력", "linkSaveButton": "링크 저장", "linkRemoveButton": "링크 제거", "linkCancelButton": "링크 편집 취소", "addBlockBelow": "아래에 블록 추가", "dragToMove": "블록 재정렬을 위해 드래그", "openLinkInNewTab": "새 탭에서 링크 열기", "linkConfirmButton": "링크 확인", "linkOpenButton": "새 탭에서 링크 열기", "linkClearButton": "링크 입력 지우기" };
|
|
4387
|
-
const placeholder$4 = '명령을 표시하려면 "/" 입력...';
|
|
4387
|
+
const placeholder$4 = '작성 시작, 명령을 표시하려면 "/" 입력...';
|
|
4388
4388
|
const linkPlaceholder$4 = "링크 붙여넣기...";
|
|
4389
4389
|
const koLocaleData = {
|
|
4390
4390
|
slashMenu: slashMenu$4,
|
|
@@ -4396,7 +4396,7 @@ const koLocaleData = {
|
|
|
4396
4396
|
const slashMenu$3 = { "groups": { "basic": "De base", "list": "Listes", "media": "Médias", "advanced": "Avancé" }, "commands": { "paragraph": { "title": "Texte", "description": "Bloc de texte simple" }, "heading1": { "title": "Titre 1", "description": "Grand titre de section" }, "heading2": { "title": "Titre 2", "description": "Titre de section moyen" }, "heading3": { "title": "Titre 3", "description": "Petit titre de section" }, "bulletList": { "title": "Liste à puces", "description": "Créer une liste à puces" }, "orderedList": { "title": "Liste numérotée", "description": "Créer une liste numérotée" }, "taskList": { "title": "Liste de tâches", "description": "Créer une liste de tâches avec cases à cocher" }, "image": { "title": "Image", "description": "Télécharger ou coller une image" }, "blockquote": { "title": "Citation", "description": "Créer un bloc de citation" }, "codeBlock": { "title": "Code", "description": "Créer un extrait de code" }, "horizontalRule": { "title": "Séparateur", "description": "Créer une ligne horizontale" } } };
|
|
4397
4397
|
const toolbar$3 = { "bold": "Gras", "italic": "Italique", "underline": "Souligné", "strike": "Barré", "code": "Code en ligne", "link": "Lien", "turnInto": "Convertir en", "colorPicker": "Couleur du texte et du fond", "textColor": "Couleur du texte", "backgroundColor": "Couleur de fond", "recentlyUsed": "Récemment utilisés", "openLink": "Ouvrir le lien", "removeLink": "Supprimer le lien", "confirmLink": "Confirmer le lien", "clearLink": "Effacer le lien", "blockTypes": { "text": "Texte", "heading1": "Titre 1", "heading2": "Titre 2", "heading3": "Titre 3", "bulletedList": "Liste à puces", "numberedList": "Liste numérotée" } };
|
|
4398
4398
|
const aria$3 = { "editor": "Éditeur de texte riche", "editorContent": "Zone de contenu de l'éditeur", "toolbar": "Barre d'outils de formatage de texte", "boldButton": "Activer/désactiver le formatage en gras", "italicButton": "Activer/désactiver le formatage en italique", "underlineButton": "Activer/désactiver le soulignement", "strikeButton": "Activer/désactiver le texte barré", "codeButton": "Activer/désactiver le code en ligne", "linkButton": "Ajouter ou modifier un lien", "turnIntoButton": "Convertir en", "colorPickerButton": "Couleur du texte et du fond", "headingButton": "Définir le niveau de titre", "paragraphButton": "Convertir en paragraphe", "dragHandle": "Glisser pour réorganiser le bloc", "dropIndicator": "Déposer ici pour déplacer le bloc", "blockMenu": "Menu des options de bloc", "addBlock": "Ajouter un nouveau bloc", "deleteBlock": "Supprimer ce bloc", "linkDialog": "Boîte de dialogue d'édition de lien", "linkUrlInput": "Entrée d'URL de lien", "linkSaveButton": "Enregistrer le lien", "linkRemoveButton": "Supprimer le lien", "linkCancelButton": "Annuler l'édition du lien", "addBlockBelow": "Ajouter un bloc en dessous", "dragToMove": "Glisser pour réorganiser le bloc", "openLinkInNewTab": "Ouvrir le lien dans un nouvel onglet", "linkConfirmButton": "Confirmer le lien", "linkOpenButton": "Ouvrir le lien dans un nouvel onglet", "linkClearButton": "Effacer la saisie du lien" };
|
|
4399
|
-
const placeholder$3 = '
|
|
4399
|
+
const placeholder$3 = 'Écrivez, tapez "/" pour afficher les commandes...';
|
|
4400
4400
|
const linkPlaceholder$3 = "Collez un lien...";
|
|
4401
4401
|
const frLocaleData = {
|
|
4402
4402
|
slashMenu: slashMenu$3,
|
|
@@ -4408,7 +4408,7 @@ const frLocaleData = {
|
|
|
4408
4408
|
const slashMenu$2 = { "groups": { "basic": "Basis", "list": "Listen", "media": "Medien", "advanced": "Erweitert" }, "commands": { "paragraph": { "title": "Text", "description": "Einfacher Textblock" }, "heading1": { "title": "Überschrift 1", "description": "Große Abschnittsüberschrift" }, "heading2": { "title": "Überschrift 2", "description": "Mittlere Abschnittsüberschrift" }, "heading3": { "title": "Überschrift 3", "description": "Kleine Abschnittsüberschrift" }, "bulletList": { "title": "Aufzählungsliste", "description": "Aufzählungsliste erstellen" }, "orderedList": { "title": "Nummerierte Liste", "description": "Nummerierte Liste erstellen" }, "taskList": { "title": "To-do-Liste", "description": "To-do-Liste mit Kontrollkästchen erstellen" }, "image": { "title": "Bild", "description": "Bild hochladen oder einfügen" }, "blockquote": { "title": "Zitat", "description": "Zitatblock erstellen" }, "codeBlock": { "title": "Code", "description": "Codeausschnitt erstellen" }, "horizontalRule": { "title": "Trennlinie", "description": "Horizontale Linie erstellen" } } };
|
|
4409
4409
|
const toolbar$2 = { "bold": "Fett", "italic": "Kursiv", "underline": "Unterstrichen", "strike": "Durchgestrichen", "code": "Inline-Code", "link": "Link", "turnInto": "Umwandeln in", "colorPicker": "Text- und Hintergrundfarbe", "textColor": "Textfarbe", "backgroundColor": "Hintergrundfarbe", "recentlyUsed": "Zuletzt verwendet", "openLink": "Link öffnen", "removeLink": "Link entfernen", "confirmLink": "Link bestätigen", "clearLink": "Link löschen", "blockTypes": { "text": "Text", "heading1": "Überschrift 1", "heading2": "Überschrift 2", "heading3": "Überschrift 3", "bulletedList": "Aufzählungsliste", "numberedList": "Nummerierte Liste" } };
|
|
4410
4410
|
const aria$2 = { "editor": "Rich-Text-Editor", "editorContent": "Editor-Inhaltsbereich", "toolbar": "Textformatierungs-Symbolleiste", "boldButton": "Fettformatierung ein/aus", "italicButton": "Kursivformatierung ein/aus", "underlineButton": "Unterstreichung ein/aus", "strikeButton": "Durchstreichung ein/aus", "codeButton": "Inline-Code-Formatierung ein/aus", "linkButton": "Link hinzufügen oder bearbeiten", "turnIntoButton": "Umwandeln in", "colorPickerButton": "Text- und Hintergrundfarbe", "headingButton": "Überschriftsebene festlegen", "paragraphButton": "In Absatz umwandeln", "dragHandle": "Zum Neuordnen des Blocks ziehen", "dropIndicator": "Hier ablegen, um Block zu verschieben", "blockMenu": "Block-Optionsmenü", "addBlock": "Neuen Block hinzufügen", "deleteBlock": "Diesen Block löschen", "linkDialog": "Link-Bearbeitungsdialog", "linkUrlInput": "Link-URL-Eingabe", "linkSaveButton": "Link speichern", "linkRemoveButton": "Link entfernen", "linkCancelButton": "Link-Bearbeitung abbrechen", "addBlockBelow": "Block darunter hinzufügen", "dragToMove": "Zum Neuordnen des Blocks ziehen", "openLinkInNewTab": "Link in neuem Tab öffnen", "linkConfirmButton": "Link bestätigen", "linkOpenButton": "Link in neuem Tab öffnen", "linkClearButton": "Link-Eingabe löschen" };
|
|
4411
|
-
const placeholder$2 = '
|
|
4411
|
+
const placeholder$2 = 'Schreiben, tippen Sie "/" für Befehle...';
|
|
4412
4412
|
const linkPlaceholder$2 = "Link einfügen...";
|
|
4413
4413
|
const deLocaleData = {
|
|
4414
4414
|
slashMenu: slashMenu$2,
|
|
@@ -4420,7 +4420,7 @@ const deLocaleData = {
|
|
|
4420
4420
|
const slashMenu$1 = { "groups": { "basic": "Básico", "list": "Listas", "media": "Medios", "advanced": "Avanzado" }, "commands": { "paragraph": { "title": "Texto", "description": "Bloque de texto plano" }, "heading1": { "title": "Título 1", "description": "Título de sección grande" }, "heading2": { "title": "Título 2", "description": "Título de sección mediano" }, "heading3": { "title": "Título 3", "description": "Título de sección pequeño" }, "bulletList": { "title": "Lista con viñetas", "description": "Crear una lista con viñetas" }, "orderedList": { "title": "Lista numerada", "description": "Crear una lista numerada" }, "taskList": { "title": "Lista de tareas", "description": "Crear una lista de tareas con casillas" }, "image": { "title": "Imagen", "description": "Subir o pegar una imagen" }, "blockquote": { "title": "Cita", "description": "Crear un bloque de cita" }, "codeBlock": { "title": "Código", "description": "Crear un fragmento de código" }, "horizontalRule": { "title": "Divisor", "description": "Crear una línea horizontal" } } };
|
|
4421
4421
|
const toolbar$1 = { "bold": "Negrita", "italic": "Cursiva", "underline": "Subrayado", "strike": "Tachado", "code": "Código en línea", "link": "Enlace", "turnInto": "Convertir en", "colorPicker": "Color de texto y fondo", "textColor": "Color del texto", "backgroundColor": "Color de fondo", "recentlyUsed": "Recientemente usados", "openLink": "Abrir enlace", "removeLink": "Eliminar enlace", "confirmLink": "Confirmar enlace", "clearLink": "Limpiar enlace", "blockTypes": { "text": "Texto", "heading1": "Título 1", "heading2": "Título 2", "heading3": "Título 3", "bulletedList": "Lista con viñetas", "numberedList": "Lista numerada" } };
|
|
4422
4422
|
const aria$1 = { "editor": "Editor de texto enriquecido", "editorContent": "Área de contenido del editor", "toolbar": "Barra de herramientas de formato de texto", "boldButton": "Activar/desactivar formato en negrita", "italicButton": "Activar/desactivar formato en cursiva", "underlineButton": "Activar/desactivar subrayado", "strikeButton": "Activar/desactivar tachado", "codeButton": "Activar/desactivar código en línea", "linkButton": "Añadir o editar enlace", "turnIntoButton": "Convertir en", "colorPickerButton": "Color de texto y fondo", "headingButton": "Establecer nivel de título", "paragraphButton": "Convertir a párrafo", "dragHandle": "Arrastrar para reorganizar el bloque", "dropIndicator": "Soltar aquí para mover el bloque", "blockMenu": "Menú de opciones del bloque", "addBlock": "Añadir nuevo bloque", "deleteBlock": "Eliminar este bloque", "linkDialog": "Diálogo de edición de enlace", "linkUrlInput": "Entrada de URL del enlace", "linkSaveButton": "Guardar enlace", "linkRemoveButton": "Eliminar enlace", "linkCancelButton": "Cancelar edición de enlace", "addBlockBelow": "Añadir bloque debajo", "dragToMove": "Arrastrar para reorganizar el bloque", "openLinkInNewTab": "Abrir enlace en nueva pestaña", "linkConfirmButton": "Confirmar enlace", "linkOpenButton": "Abrir enlace en nueva pestaña", "linkClearButton": "Limpiar entrada de enlace" };
|
|
4423
|
-
const placeholder$1 = '
|
|
4423
|
+
const placeholder$1 = 'Escribe, escribe "/" para comandos...';
|
|
4424
4424
|
const linkPlaceholder$1 = "Pegue un enlace...";
|
|
4425
4425
|
const esLocaleData = {
|
|
4426
4426
|
slashMenu: slashMenu$1,
|
|
@@ -4432,7 +4432,7 @@ const esLocaleData = {
|
|
|
4432
4432
|
const slashMenu = { "groups": { "basic": "Básico", "list": "Listas", "media": "Mídia", "advanced": "Avançado" }, "commands": { "paragraph": { "title": "Texto", "description": "Bloco de texto simples" }, "heading1": { "title": "Título 1", "description": "Título de seção grande" }, "heading2": { "title": "Título 2", "description": "Título de seção médio" }, "heading3": { "title": "Título 3", "description": "Título de seção pequeno" }, "bulletList": { "title": "Lista com marcadores", "description": "Criar uma lista com marcadores" }, "orderedList": { "title": "Lista numerada", "description": "Criar uma lista numerada" }, "taskList": { "title": "Lista de tarefas", "description": "Criar uma lista de tarefas com caixas de seleção" }, "image": { "title": "Imagem", "description": "Enviar ou colar uma imagem" }, "blockquote": { "title": "Citação", "description": "Criar um bloco de citação" }, "codeBlock": { "title": "Código", "description": "Criar um trecho de código" }, "horizontalRule": { "title": "Divisor", "description": "Criar uma linha horizontal" } } };
|
|
4433
4433
|
const toolbar = { "bold": "Negrito", "italic": "Itálico", "underline": "Sublinhado", "strike": "Tachado", "code": "Código inline", "link": "Link", "turnInto": "Converter em", "colorPicker": "Cor do texto e fundo", "textColor": "Cor do texto", "backgroundColor": "Cor de fundo", "recentlyUsed": "Usados recentemente", "openLink": "Abrir link", "removeLink": "Remover link", "confirmLink": "Confirmar link", "clearLink": "Limpar link", "blockTypes": { "text": "Texto", "heading1": "Título 1", "heading2": "Título 2", "heading3": "Título 3", "bulletedList": "Lista com marcadores", "numberedList": "Lista numerada" } };
|
|
4434
4434
|
const aria = { "editor": "Editor de texto rico", "editorContent": "Área de conteúdo do editor", "toolbar": "Barra de ferramentas de formatação de texto", "boldButton": "Alternar formatação em negrito", "italicButton": "Alternar formatação em itálico", "underlineButton": "Alternar sublinhado", "strikeButton": "Alternar tachado", "codeButton": "Alternar código inline", "linkButton": "Adicionar ou editar link", "turnIntoButton": "Converter em", "colorPickerButton": "Cor do texto e fundo", "headingButton": "Definir nível de título", "paragraphButton": "Converter em parágrafo", "dragHandle": "Arrastar para reorganizar o bloco", "dropIndicator": "Soltar aqui para mover o bloco", "blockMenu": "Menu de opções do bloco", "addBlock": "Adicionar novo bloco", "deleteBlock": "Excluir este bloco", "linkDialog": "Diálogo de edição de link", "linkUrlInput": "Entrada de URL do link", "linkSaveButton": "Salvar link", "linkRemoveButton": "Remover link", "linkCancelButton": "Cancelar edição de link", "addBlockBelow": "Adicionar bloco abaixo", "dragToMove": "Arrastar para reorganizar o bloco", "openLinkInNewTab": "Abrir link em nova aba", "linkConfirmButton": "Confirmar link", "linkOpenButton": "Abrir link em nova aba", "linkClearButton": "Limpar entrada de link" };
|
|
4435
|
-
const placeholder = '
|
|
4435
|
+
const placeholder = 'Escreva, digite "/" para comandos...';
|
|
4436
4436
|
const linkPlaceholder = "Cole um link...";
|
|
4437
4437
|
const ptLocaleData = {
|
|
4438
4438
|
slashMenu,
|
|
@@ -4494,7 +4494,7 @@ function createExtensions(config = {}) {
|
|
|
4494
4494
|
locale
|
|
4495
4495
|
} = config;
|
|
4496
4496
|
const localeData = locale ? getLocale(locale) : null;
|
|
4497
|
-
const placeholder2 = placeholderProp ?? (localeData == null ? void 0 : localeData.placeholder) ?? '
|
|
4497
|
+
const placeholder2 = placeholderProp ?? (localeData == null ? void 0 : localeData.placeholder) ?? 'Write,type "/" for commands...';
|
|
4498
4498
|
const extensions = [
|
|
4499
4499
|
// Block extensions (document structure + block types)
|
|
4500
4500
|
...createBlockExtensions({ headingLevels, imageUpload }),
|
|
@@ -4561,7 +4561,7 @@ function createEditor(config = {}) {
|
|
|
4561
4561
|
editorProps: {
|
|
4562
4562
|
attributes: {
|
|
4563
4563
|
class: "pubwave-editor__content",
|
|
4564
|
-
"data-placeholder": placeholder2 ?? "
|
|
4564
|
+
"data-placeholder": placeholder2 ?? 'Write,type "/" for commands...'
|
|
4565
4565
|
}
|
|
4566
4566
|
},
|
|
4567
4567
|
onUpdate: onUpdate ? ({ editor }) => {
|
|
@@ -6947,7 +6947,7 @@ const PubwaveEditor = React.forwardRef(
|
|
|
6947
6947
|
"data-testid": testId = "pubwave-editor"
|
|
6948
6948
|
} = props;
|
|
6949
6949
|
const locale = getLocale(theme == null ? void 0 : theme.locale);
|
|
6950
|
-
const placeholderText = placeholder2 ?? locale.placeholder ?? "
|
|
6950
|
+
const placeholderText = placeholder2 ?? locale.placeholder ?? 'Write,type "/" for commands...';
|
|
6951
6951
|
const editor = react.useEditor({
|
|
6952
6952
|
extensions: createExtensions({
|
|
6953
6953
|
placeholder: placeholderText,
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.container{width:100%}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}:root{--pubwave-bg:#fff;--pubwave-surface:#fff;--pubwave-text:#37352f;--pubwave-text-muted:#9b9a97;--pubwave-border:#e3e2e0;--pubwave-border-light:#f3f4f6;--pubwave-hover:#f7f6f3;--pubwave-focus:#0000000d;--pubwave-selection:#3b82f6;--pubwave-selection-bg:#2383e226;--pubwave-primary:#2383e2;--pubwave-primary-hover:#2563eb;--pubwave-handle-color:#9b9a97;--pubwave-primary-faded:#3b82f61a;--pubwave-drop-indicator:#3b82f6;--pubwave-drop-target:#3b82f60d;--pubwave-error:#ef4444;--pubwave-success:#10b981;--pubwave-warning:#f59e0b;--pubwave-text-secondary:#374151;--pubwave-text-tertiary:#4b5563;--pubwave-hover-bg:#f3f4f6;--pubwave-hover-task:#e8f2ff;--pubwave-checked-text:#9ca3af;--pubwave-spacing-xs:.25rem;--pubwave-spacing-sm:.5rem;--pubwave-spacing-md:1rem;--pubwave-spacing-lg:1.5rem;--pubwave-spacing-xl:2rem;--pubwave-spacing-1:4px;--pubwave-spacing-2:8px;--pubwave-spacing-3:12px;--pubwave-spacing-4:16px;--pubwave-spacing-7:28px;--pubwave-font-family:inherit;--pubwave-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--pubwave-font-size-xs:11px;--pubwave-font-size-sm:13px;--pubwave-font-size-base:14px;--pubwave-font-size-md:1rem;--pubwave-font-size-lg:1.125rem;--pubwave-font-size-xl:1.25rem;--pubwave-font-size-2xl:1.5rem;--pubwave-font-size-3xl:2rem;--pubwave-line-height:1.625;--pubwave-line-height-heading:1.25;--pubwave-button-width:28px;--pubwave-button-height:28px;--pubwave-icon-size:20px;--pubwave-checkbox-size:20px;--pubwave-checkbox-input-size:16px;--pubwave-divider-width:1px;--pubwave-divider-height:20px;--pubwave-drop-indicator-width:2px;--pubwave-drop-indicator-height:2px;--pubwave-task-item-height:30px;--pubwave-radius-xs:3px;--pubwave-radius-sm:4px;--pubwave-radius:6px;--pubwave-radius-md:6px;--pubwave-radius-lg:8px;--pubwave-shadow-sm:0 1px 2px 0 #0000000d;--pubwave-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--pubwave-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}@media (prefers-color-scheme:dark){:root{--pubwave-bg:#1a1a1a;--pubwave-surface:#262626;--pubwave-text:#e5e7eb;--pubwave-text-muted:#9ca3af;--pubwave-border:#374151;--pubwave-border-light:#4b5563;--pubwave-hover:#ffffff0d;--pubwave-focus:#ffffff14;--pubwave-selection:#60a5fa;--pubwave-selection-bg:#60a5fa26;--pubwave-primary:#60a5fa;--pubwave-primary-hover:#3b82f6;--pubwave-primary-faded:#60a5fa26;--pubwave-drop-indicator:#60a5fa;--pubwave-drop-target:#60a5fa14;--pubwave-error:#f87171;--pubwave-text-secondary:#d1d5db;--pubwave-text-tertiary:#9ca3af;--pubwave-hover-bg:#374151;--pubwave-hover-task:#3b82f626;--pubwave-checked-text:#6b7280}}.pubwave-editor{width:var(--pubwave-container-width,100%);max-width:var(--pubwave-container-max-width,none);font-family:var(--pubwave-font-family);color:var(--pubwave-text);background:var(--pubwave-bg,#fff);border-radius:var(--pubwave-container-border-radius,16px);padding:var(--pubwave-container-padding-y,96px)var(--pubwave-container-padding-x,120px);padding-left:var(--pubwave-container-padding-left,140px);position:relative;box-shadow:0 0 0 1px #0000000a,0 20px 25px -5px #0000000d,0 10px 10px -5px #00000005}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height,700px)}@media (max-width:768px){.pubwave-editor{padding:var(--pubwave-container-padding-y-mobile,20px)var(--pubwave-container-padding-x-mobile,16px);padding-left:var(--pubwave-container-padding-left-mobile,16px);border-radius:var(--pubwave-container-border-radius-mobile,12px)}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height-mobile,400px)}}.pubwave-editor,.pubwave-editor *,.pubwave-editor :before,.pubwave-editor :after{box-sizing:border-box}.pubwave-editor__content{outline:none;flex-direction:column;flex:1;min-height:1em;display:flex;overflow:hidden auto}.pubwave-editor__content .ProseMirror{min-height:100%;padding-bottom:30vh;padding-top:var(--pubwave-spacing-md,1rem);outline:none;flex-grow:1}.pubwave-editor--fixed-height .pubwave-editor__content .ProseMirror{padding-bottom:2rem}.pubwave-editor__content .ProseMirror p.is-editor-empty:first-child:before,.pubwave-editor__content.ProseMirror-focused p.pubwave-editor__node--empty:before,.ProseMirror.ProseMirror-focused p.pubwave-editor__node--empty:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content .ProseMirror>*+*{margin-top:.75em}@media (max-width:768px){.pubwave-editor__content .ProseMirror>*+*{margin-top:.35em}.pubwave-editor__content .ProseMirror h1+*,.pubwave-editor__content .ProseMirror h2+*,.pubwave-editor__content .ProseMirror h3+*{margin-top:.4em}.pubwave-editor__content .ProseMirror h1,.pubwave-editor__content .ProseMirror h2,.pubwave-editor__content .ProseMirror h3{margin-top:.6em}.pubwave-editor__content .ProseMirror{font-size:var(--pubwave-font-size-base-mobile,15px)}.pubwave-editor__content .ProseMirror h1{font-size:var(--pubwave-font-size-3xl-mobile,1.75rem)}.pubwave-editor__content .ProseMirror h2{font-size:var(--pubwave-font-size-2xl-mobile,1.375rem)}.pubwave-editor__content .ProseMirror h3{font-size:var(--pubwave-font-size-xl-mobile,1.125rem)}}.pubwave-editor__content .pubwave-editor__bullet-list,.pubwave-editor__content .pubwave-editor__ordered-list{padding-left:1.3em!important}.pubwave-editor__content .ProseMirror p{line-height:var(--pubwave-line-height);margin:0}.pubwave-editor__content .ProseMirror h1,.pubwave-editor__content .ProseMirror h2,.pubwave-editor__content .ProseMirror h3{line-height:var(--pubwave-line-height-heading);margin:0;font-weight:600}.pubwave-editor__content .ProseMirror h1{font-size:var(--pubwave-font-size-3xl)}.pubwave-editor__content .ProseMirror h2{font-size:var(--pubwave-font-size-2xl)}.pubwave-editor__content .ProseMirror h3{font-size:var(--pubwave-font-size-xl)}.pubwave-editor__content .ProseMirror ul:not([data-type=taskList]),.pubwave-editor__content .ProseMirror ol{margin:0;padding-left:1.5em}.pubwave-editor__content .ProseMirror li:not([data-type=taskItem]):not(.pubwave-editor__task-item){margin:.25em 0}.pubwave-editor__content .ProseMirror li>p{margin:0}.pubwave-editor__content ul[data-type=taskList]{padding:var(--pubwave-spacing-4,16px)0;margin:0!important;padding-left:0!important;list-style:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li,.pubwave-editor__content .ProseMirror ul[data-type=taskList]>li,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem],.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item,.pubwave-editor__content .ProseMirror .pubwave-editor__task-item,.pubwave-editor__content.ProseMirror ul[data-type=taskList] li,.ProseMirror.pubwave-editor__content ul[data-type=taskList] li{border-radius:var(--pubwave-radius-sm,4px)!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;flex-direction:row!important;align-items:flex-start!important;gap:.5em!important;margin:0!important;padding:.25em 0!important;list-style:none!important;display:flex!important}.pubwave-editor__task-item{min-height:var(--pubwave-task-item-height,30px);height:auto!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li:before,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]:before,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item:before{content:""!important;width:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li:hover,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.ProseMirror-selectednode{background-color:var(--pubwave-hover-task,#e8f2ff)}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li>label,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]>label,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item>label{cursor:pointer!important;width:var(--pubwave-checkbox-size,20px)!important;height:var(--pubwave-checkbox-size,20px)!important;min-height:var(--pubwave-checkbox-size,20px)!important;max-height:var(--pubwave-checkbox-size,20px)!important;flex-shrink:0!important;align-self:flex-start!important;margin:.125em 0 0!important;padding:0!important;line-height:1!important;display:block!important;position:relative!important;overflow:hidden!important}li>label input[type=checkbox]{width:var(--pubwave-checkbox-input-size,16px);height:var(--pubwave-checkbox-input-size,16px);cursor:pointer;margin-top:5px}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li>label:before{content:"";width:var(--pubwave-checkbox-size,20px);height:var(--pubwave-checkbox-size,20px);border:1.5px solid var(--pubwave-text,#1a1a1a);border-radius:var(--pubwave-radius-xs,3px);background-color:var(--pubwave-bg,#fff);box-sizing:border-box;transition:all .15s;display:block;position:absolute;top:0;left:0}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-checked=true]>label:before{background-color:var(--pubwave-primary-hover,#2563eb);border-color:var(--pubwave-primary-hover,#2563eb)}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-checked=true]>label:after{content:"";border:solid var(--pubwave-bg,#fff);box-sizing:border-box;z-index:1;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:3px;left:6px;transform:rotate(45deg)}.pubwave-editor__content ul[data-type=taskList] li>div,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div{min-width:0!important;color:var(--pubwave-text,#1a1a1a)!important;flex:1!important;margin:0!important;padding:.1em 0!important;display:block!important}.pubwave-editor__content ul[data-type=taskList] li>div p,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div p,.pubwave-editor__content ul[data-type=taskList] li>div>p,.pubwave-editor__content ul[data-type=taskList] li>div p.pubwave-editor__paragraph,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p.pubwave-editor__paragraph{width:100%!important;min-height:1.5em!important;margin:0!important;padding:0!important;line-height:1.5!important;display:block!important}.pubwave-editor__content.ProseMirror ul[data-type=taskList] li[data-checked=true]>div p,.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>div p{color:var(--pubwave-checked-text,#9ca3af)!important;text-decoration:line-through!important}.pubwave-editor__content blockquote,.pubwave-editor__content.ProseMirror blockquote{margin:.5em 0;padding-left:1em;font-style:italic;border-left:3px solid var(--pubwave-text,#1a1a1a)!important}.pubwave-editor__content .ProseMirror pre,.pubwave-editor__content pre{margin:.5em 0;padding:.5em .75em;line-height:1.5;overflow-x:auto;background:var(--pubwave-border-light,#f3f4f6)!important;border-radius:var(--pubwave-radius-md,6px)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:var(--pubwave-font-size-sm,13px)!important;color:#1a1a1a!important}.pubwave-editor__content .ProseMirror pre code,.pubwave-editor__content pre code{font-size:inherit!important;color:inherit!important;background:0 0!important;border-radius:0!important;padding:0!important;font-family:inherit!important}.pubwave-block{padding-left:2.5em;position:relative}.pubwave-block-menu{z-index:2;align-items:center;gap:.5em;display:flex;position:absolute;top:50%;left:.5em;transform:translateY(-50%)}.pubwave-editor__content .ProseMirror hr,.pubwave-editor__content hr,.pubwave-editor__content .pubwave-editor__divider{border:none;border-top:1px solid var(--pubwave-border,#e5e7eb)!important;background:0 0!important;height:0!important;margin:1em 0!important}.pubwave-editor__content .ProseMirror img,.pubwave-editor__content img,.pubwave-editor__content .pubwave-editor__image{border-radius:var(--pubwave-radius-md,6px);cursor:pointer;max-width:100%;height:auto;margin:1em auto;transition:opacity .2s;display:block;box-shadow:0 1px 3px #0000001a}.pubwave-editor__content .ProseMirror img:hover,.pubwave-editor__content img:hover,.pubwave-editor__content .pubwave-editor__image:hover{opacity:.9}.pubwave-editor__content .ProseMirror img.ProseMirror-selectednode,.pubwave-editor__content img.ProseMirror-selectednode,.pubwave-editor__content .pubwave-editor__image.ProseMirror-selectednode{outline:2px solid var(--pubwave-primary,#2383e2);outline-offset:2px}.pubwave-editor__content .ProseMirror strong{font-weight:600}.pubwave-editor__content .ProseMirror em{font-style:italic}.pubwave-editor__content .ProseMirror u{text-decoration:underline}.pubwave-editor__content .ProseMirror s{text-decoration:line-through}.pubwave-editor__content .ProseMirror code{background:var(--pubwave-hover);border-radius:var(--pubwave-radius-sm);font-family:var(--pubwave-font-mono);padding:.15em .35em;font-size:.9em}.pubwave-editor__content .ProseMirror a,.pubwave-editor .ProseMirror a{cursor:pointer;text-decoration:underline;color:var(--pubwave-link-color,#2383e2)!important}.pubwave-editor__content .ProseMirror a:hover,.pubwave-editor .ProseMirror a:hover{opacity:.8;color:var(--pubwave-link-hover-color,var(--pubwave-link-color,#2383e2))!important}.pubwave-editor__content .ProseMirror ::-moz-selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor__content .ProseMirror ::selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor--readonly,.pubwave-editor--readonly .pubwave-editor__content{cursor:default}.pubwave-block--dragging{opacity:.4}.pubwave-block--drag-preview{color:var(--pubwave-text-muted,#9b9a97)!important;opacity:.6!important}.pubwave-block--drag-preview div,.pubwave-block--drag-preview p,.pubwave-block--drag-preview label,.pubwave-block--drag-preview .pubwave-editor__task-item>div{color:var(--pubwave-text-muted,#9b9a97)!important}.pubwave-block--drag-preview label input{display:none!important}.pubwave-block--drag-preview label:before{border-color:var(--pubwave-text-muted,#9b9a97)!important;width:16px!important;height:16px!important}.pubwave-block--drag-preview label:after{border-color:var(--pubwave-bg,#fff)!important;top:2px!important;left:4px!important}.ProseMirror .ProseMirror-gapcursor{pointer-events:none;display:none;position:absolute}.ProseMirror .ProseMirror-gapcursor:after{content:"";border-top:1px solid var(--pubwave-text);width:20px;animation:1.1s steps(2,start) infinite pubwave-cursor-blink;display:block;position:absolute;top:-2px}@keyframes pubwave-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.tippy-box{z-index:var(--pubwave-z-dropdown,60)!important;background:0 0!important;border:none!important}.tippy-box:has(.pubwave-slash-menu){background:0 0!important;border:none!important}.pubwave-slash-menu{border:1px solid var(--pubwave-border,#e3e2e0)!important}.ProseMirror-dropcursor{border-left:2px solid var(--pubwave-primary);pointer-events:none}.pubwave-editor .ProseMirror .suggestion{border:1px solid var(--pubwave-border,#e3e2e0)!important;border-radius:var(--pubwave-radius-md,6px)!important;color:#1f2937!important;background-color:#fffffff2!important;padding:2px 4px!important;display:inline-block!important}.pubwave-editor .ProseMirror .suggestion,.pubwave-editor .ProseMirror .suggestion *,.pubwave-editor .ProseMirror .suggestion span,.pubwave-editor .ProseMirror .suggestion strong,.pubwave-editor .ProseMirror .suggestion em,.pubwave-editor .ProseMirror .suggestion code{color:#1f2937!important}.tippy-box,.tippy-box[data-theme]{z-index:60!important}.tippy-box[data-theme~=pubwave]{box-shadow:none;background:0 0;border:none}.tippy-box[data-theme~=pubwave] .tippy-content{padding:0}.tippy-box[data-theme~=light-border]{border-radius:var(--pubwave-radius,6px);box-shadow:var(--pubwave-shadow-md,0 4px 6px -1px #0000001a);padding:4px 8px;font-size:12px;color:#fff!important;background-color:#000!important;border:none!important}.tippy-box[data-theme~=light-border] .tippy-content{color:#fff!important}.pubwave-block-handle__drag,.pubwave-block-handle__add{color:var(--pubwave-text-muted,#9b9a97)!important}.pubwave-toolbar__button:not(:disabled):hover,.pubwave-toolbar__turn-into-option:not(.pubwave-toolbar__turn-into-option--active):hover{background-color:var(--pubwave-hover)!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|
|
2
|
+
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.container{width:100%}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}:root{--pubwave-bg:#fff;--pubwave-surface:#fff;--pubwave-text:#37352f;--pubwave-text-muted:#9b9a97;--pubwave-border:#e3e2e0;--pubwave-border-light:#f3f4f6;--pubwave-hover:#f7f6f3;--pubwave-focus:#0000000d;--pubwave-selection:#3b82f6;--pubwave-selection-bg:#2383e226;--pubwave-primary:#2383e2;--pubwave-primary-hover:#2563eb;--pubwave-handle-color:#9b9a97;--pubwave-primary-faded:#3b82f61a;--pubwave-drop-indicator:#3b82f6;--pubwave-drop-target:#3b82f60d;--pubwave-error:#ef4444;--pubwave-success:#10b981;--pubwave-warning:#f59e0b;--pubwave-text-secondary:#374151;--pubwave-text-tertiary:#4b5563;--pubwave-hover-bg:#f3f4f6;--pubwave-hover-task:#e8f2ff;--pubwave-checked-text:#9ca3af;--pubwave-spacing-xs:.25rem;--pubwave-spacing-sm:.5rem;--pubwave-spacing-md:1rem;--pubwave-spacing-lg:1.5rem;--pubwave-spacing-xl:2rem;--pubwave-spacing-1:4px;--pubwave-spacing-2:8px;--pubwave-spacing-3:12px;--pubwave-spacing-4:16px;--pubwave-spacing-7:28px;--pubwave-font-family:inherit;--pubwave-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--pubwave-font-size-xs:11px;--pubwave-font-size-sm:13px;--pubwave-font-size-base:14px;--pubwave-font-size-md:1rem;--pubwave-font-size-lg:1.125rem;--pubwave-font-size-xl:1.25rem;--pubwave-font-size-2xl:1.5rem;--pubwave-font-size-3xl:2rem;--pubwave-line-height:1.625;--pubwave-line-height-heading:1.25;--pubwave-button-width:28px;--pubwave-button-height:28px;--pubwave-icon-size:20px;--pubwave-checkbox-size:20px;--pubwave-checkbox-input-size:16px;--pubwave-divider-width:1px;--pubwave-divider-height:20px;--pubwave-drop-indicator-width:2px;--pubwave-drop-indicator-height:2px;--pubwave-task-item-height:30px;--pubwave-radius-xs:3px;--pubwave-radius-sm:4px;--pubwave-radius:6px;--pubwave-radius-md:6px;--pubwave-radius-lg:8px;--pubwave-shadow-sm:0 1px 2px 0 #0000000d;--pubwave-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--pubwave-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}@media (prefers-color-scheme:dark){:root{--pubwave-bg:#1a1a1a;--pubwave-surface:#262626;--pubwave-text:#e5e7eb;--pubwave-text-muted:#9ca3af;--pubwave-border:#374151;--pubwave-border-light:#4b5563;--pubwave-hover:#ffffff0d;--pubwave-focus:#ffffff14;--pubwave-selection:#60a5fa;--pubwave-selection-bg:#60a5fa26;--pubwave-primary:#60a5fa;--pubwave-primary-hover:#3b82f6;--pubwave-primary-faded:#60a5fa26;--pubwave-drop-indicator:#60a5fa;--pubwave-drop-target:#60a5fa14;--pubwave-error:#f87171;--pubwave-text-secondary:#d1d5db;--pubwave-text-tertiary:#9ca3af;--pubwave-hover-bg:#374151;--pubwave-hover-task:#3b82f626;--pubwave-checked-text:#6b7280}}.pubwave-editor{width:var(--pubwave-container-width,100%);max-width:var(--pubwave-container-max-width,none);font-family:var(--pubwave-font-family);color:var(--pubwave-text);background:var(--pubwave-bg,#fff);border-radius:var(--pubwave-container-border-radius,16px);padding:var(--pubwave-container-padding-y,96px)var(--pubwave-container-padding-x,120px);padding-left:var(--pubwave-container-padding-left,140px);position:relative;box-shadow:0 0 0 1px #0000000a,0 20px 25px -5px #0000000d,0 10px 10px -5px #00000005}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height,700px)}@media (max-width:768px){.pubwave-editor{padding:var(--pubwave-container-padding-y-mobile,20px)var(--pubwave-container-padding-x-mobile,16px);padding-left:var(--pubwave-container-padding-left-mobile,16px);border-radius:var(--pubwave-container-border-radius-mobile,12px)}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height-mobile,400px)}}.pubwave-editor,.pubwave-editor *,.pubwave-editor :before,.pubwave-editor :after{box-sizing:border-box}.pubwave-editor__content{outline:none;flex-direction:column;flex:1;min-height:1em;display:flex;overflow:hidden auto}.pubwave-editor__content .ProseMirror{min-height:100%;padding-bottom:30vh;padding-top:var(--pubwave-spacing-md,1rem);outline:none;flex-grow:1}.pubwave-editor--fixed-height .pubwave-editor__content .ProseMirror{padding-bottom:2rem}.pubwave-editor__content .ProseMirror p.is-editor-empty:first-child:before,.pubwave-editor__content p.pubwave-editor__node--empty:before,.ProseMirror p.pubwave-editor__node--empty:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content .ProseMirror>*+*{margin-top:.75em}@media (max-width:768px){.pubwave-editor__content .ProseMirror>*+*{margin-top:.35em}.pubwave-editor__content .ProseMirror h1+*,.pubwave-editor__content .ProseMirror h2+*,.pubwave-editor__content .ProseMirror h3+*{margin-top:.4em}.pubwave-editor__content .ProseMirror h1,.pubwave-editor__content .ProseMirror h2,.pubwave-editor__content .ProseMirror h3{margin-top:.6em}.pubwave-editor__content .ProseMirror{font-size:var(--pubwave-font-size-base-mobile,15px)}.pubwave-editor__content .ProseMirror h1{font-size:var(--pubwave-font-size-3xl-mobile,1.75rem)}.pubwave-editor__content .ProseMirror h2{font-size:var(--pubwave-font-size-2xl-mobile,1.375rem)}.pubwave-editor__content .ProseMirror h3{font-size:var(--pubwave-font-size-xl-mobile,1.125rem)}}.pubwave-editor__content .pubwave-editor__bullet-list,.pubwave-editor__content .pubwave-editor__ordered-list{padding-left:1.3em!important}.pubwave-editor__content .ProseMirror p{line-height:var(--pubwave-line-height);margin:0}.pubwave-editor__content .ProseMirror h1,.pubwave-editor__content .ProseMirror h2,.pubwave-editor__content .ProseMirror h3{line-height:var(--pubwave-line-height-heading);margin:0;font-weight:600}.pubwave-editor__content .ProseMirror h1{font-size:var(--pubwave-font-size-3xl)}.pubwave-editor__content .ProseMirror h2{font-size:var(--pubwave-font-size-2xl)}.pubwave-editor__content .ProseMirror h3{font-size:var(--pubwave-font-size-xl)}.pubwave-editor__content .ProseMirror ul:not([data-type=taskList]),.pubwave-editor__content .ProseMirror ol{margin:0;padding-left:1.5em}.pubwave-editor__content .ProseMirror li:not([data-type=taskItem]):not(.pubwave-editor__task-item){margin:.25em 0}.pubwave-editor__content .ProseMirror li>p{margin:0}.pubwave-editor__content ul[data-type=taskList]{padding:var(--pubwave-spacing-4,16px)0;margin:0!important;padding-left:0!important;list-style:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li,.pubwave-editor__content .ProseMirror ul[data-type=taskList]>li,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem],.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item,.pubwave-editor__content .ProseMirror .pubwave-editor__task-item,.pubwave-editor__content.ProseMirror ul[data-type=taskList] li,.ProseMirror.pubwave-editor__content ul[data-type=taskList] li{border-radius:var(--pubwave-radius-sm,4px)!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;flex-direction:row!important;align-items:flex-start!important;gap:.5em!important;margin:0!important;padding:.25em 0!important;list-style:none!important;display:flex!important}.pubwave-editor__task-item{min-height:var(--pubwave-task-item-height,30px);height:auto!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item::marker{content:""!important;width:0!important;font-size:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li:before,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]:before,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item:before{content:""!important;width:0!important;display:none!important}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li:hover,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.ProseMirror-selectednode{background-color:var(--pubwave-hover-task,#e8f2ff)}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li>label,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-type=taskItem]>label,.pubwave-editor__content .ProseMirror ul[data-type=taskList] li.pubwave-editor__task-item>label{cursor:pointer!important;width:var(--pubwave-checkbox-size,20px)!important;height:var(--pubwave-checkbox-size,20px)!important;min-height:var(--pubwave-checkbox-size,20px)!important;max-height:var(--pubwave-checkbox-size,20px)!important;flex-shrink:0!important;align-self:flex-start!important;margin:.125em 0 0!important;padding:0!important;line-height:1!important;display:block!important;position:relative!important;overflow:hidden!important}li>label input[type=checkbox]{width:var(--pubwave-checkbox-input-size,16px);height:var(--pubwave-checkbox-input-size,16px);cursor:pointer;margin-top:5px}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li>label:before{content:"";width:var(--pubwave-checkbox-size,20px);height:var(--pubwave-checkbox-size,20px);border:1.5px solid var(--pubwave-text,#1a1a1a);border-radius:var(--pubwave-radius-xs,3px);background-color:var(--pubwave-bg,#fff);box-sizing:border-box;transition:all .15s;display:block;position:absolute;top:0;left:0}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-checked=true]>label:before{background-color:var(--pubwave-primary-hover,#2563eb);border-color:var(--pubwave-primary-hover,#2563eb)}.pubwave-editor__content .ProseMirror ul[data-type=taskList] li[data-checked=true]>label:after{content:"";border:solid var(--pubwave-bg,#fff);box-sizing:border-box;z-index:1;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:3px;left:6px;transform:rotate(45deg)}.pubwave-editor__content ul[data-type=taskList] li>div,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div{min-width:0!important;color:var(--pubwave-text,#1a1a1a)!important;flex:1!important;margin:0!important;padding:.1em 0!important;display:block!important}.pubwave-editor__content ul[data-type=taskList] li>div p,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div p,.pubwave-editor__content ul[data-type=taskList] li>div>p,.pubwave-editor__content ul[data-type=taskList] li>div p.pubwave-editor__paragraph,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p.pubwave-editor__paragraph{width:100%!important;min-height:1.5em!important;margin:0!important;padding:0!important;line-height:1.5!important;display:block!important}.pubwave-editor__content.ProseMirror ul[data-type=taskList] li[data-checked=true]>div p,.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>div p{color:var(--pubwave-checked-text,#9ca3af)!important;text-decoration:line-through!important}.pubwave-editor__content blockquote,.pubwave-editor__content.ProseMirror blockquote{margin:.5em 0;padding-left:1em;font-style:italic;border-left:3px solid var(--pubwave-text,#1a1a1a)!important}.pubwave-editor__content .ProseMirror pre,.pubwave-editor__content pre{margin:.5em 0;padding:.5em .75em;line-height:1.5;overflow-x:auto;background:var(--pubwave-border-light,#f3f4f6)!important;border-radius:var(--pubwave-radius-md,6px)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:var(--pubwave-font-size-sm,13px)!important;color:#1a1a1a!important}.pubwave-editor__content .ProseMirror pre code,.pubwave-editor__content pre code{font-size:inherit!important;color:inherit!important;background:0 0!important;border-radius:0!important;padding:0!important;font-family:inherit!important}.pubwave-block{padding-left:2.5em;position:relative}.pubwave-block-menu{z-index:2;align-items:center;gap:.5em;display:flex;position:absolute;top:50%;left:.5em;transform:translateY(-50%)}.pubwave-editor__content .ProseMirror hr,.pubwave-editor__content hr,.pubwave-editor__content .pubwave-editor__divider{border:none;border-top:1px solid var(--pubwave-border,#e5e7eb)!important;background:0 0!important;height:0!important;margin:1em 0!important}.pubwave-editor__content .ProseMirror img,.pubwave-editor__content img,.pubwave-editor__content .pubwave-editor__image{border-radius:var(--pubwave-radius-md,6px);cursor:pointer;max-width:100%;height:auto;margin:1em auto;transition:opacity .2s;display:block;box-shadow:0 1px 3px #0000001a}.pubwave-editor__content .ProseMirror img:hover,.pubwave-editor__content img:hover,.pubwave-editor__content .pubwave-editor__image:hover{opacity:.9}.pubwave-editor__content .ProseMirror img.ProseMirror-selectednode,.pubwave-editor__content img.ProseMirror-selectednode,.pubwave-editor__content .pubwave-editor__image.ProseMirror-selectednode{outline:2px solid var(--pubwave-primary,#2383e2);outline-offset:2px}.pubwave-editor__content .ProseMirror strong{font-weight:600}.pubwave-editor__content .ProseMirror em{font-style:italic}.pubwave-editor__content .ProseMirror u{text-decoration:underline}.pubwave-editor__content .ProseMirror s{text-decoration:line-through}.pubwave-editor__content .ProseMirror code{background:var(--pubwave-hover);border-radius:var(--pubwave-radius-sm);font-family:var(--pubwave-font-mono);padding:.15em .35em;font-size:.9em}.pubwave-editor__content .ProseMirror a,.pubwave-editor .ProseMirror a{cursor:pointer;text-decoration:underline;color:var(--pubwave-link-color,#2383e2)!important}.pubwave-editor__content .ProseMirror a:hover,.pubwave-editor .ProseMirror a:hover{opacity:.8;color:var(--pubwave-link-hover-color,var(--pubwave-link-color,#2383e2))!important}.pubwave-editor__content .ProseMirror ::-moz-selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor__content .ProseMirror ::selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor--readonly,.pubwave-editor--readonly .pubwave-editor__content{cursor:default}.pubwave-block--dragging{opacity:.4}.pubwave-block--drag-preview{color:var(--pubwave-text-muted,#9b9a97)!important;opacity:.6!important}.pubwave-block--drag-preview div,.pubwave-block--drag-preview p,.pubwave-block--drag-preview label,.pubwave-block--drag-preview .pubwave-editor__task-item>div{color:var(--pubwave-text-muted,#9b9a97)!important}.pubwave-block--drag-preview label input{display:none!important}.pubwave-block--drag-preview label:before{border-color:var(--pubwave-text-muted,#9b9a97)!important;width:16px!important;height:16px!important}.pubwave-block--drag-preview label:after{border-color:var(--pubwave-bg,#fff)!important;top:2px!important;left:4px!important}.ProseMirror .ProseMirror-gapcursor{pointer-events:none;display:none;position:absolute}.ProseMirror .ProseMirror-gapcursor:after{content:"";border-top:1px solid var(--pubwave-text);width:20px;animation:1.1s steps(2,start) infinite pubwave-cursor-blink;display:block;position:absolute;top:-2px}@keyframes pubwave-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.tippy-box{z-index:var(--pubwave-z-dropdown,60)!important;background:0 0!important;border:none!important}.tippy-box:has(.pubwave-slash-menu){background:0 0!important;border:none!important}.pubwave-slash-menu{border:1px solid var(--pubwave-border,#e3e2e0)!important}.ProseMirror-dropcursor{border-left:2px solid var(--pubwave-primary);pointer-events:none}.pubwave-editor .ProseMirror .suggestion{border:1px solid var(--pubwave-border,#e3e2e0)!important;border-radius:var(--pubwave-radius-md,6px)!important;color:#1f2937!important;background-color:#fffffff2!important;padding:2px 4px!important;display:inline-block!important}.pubwave-editor .ProseMirror .suggestion,.pubwave-editor .ProseMirror .suggestion *,.pubwave-editor .ProseMirror .suggestion span,.pubwave-editor .ProseMirror .suggestion strong,.pubwave-editor .ProseMirror .suggestion em,.pubwave-editor .ProseMirror .suggestion code{color:#1f2937!important}.tippy-box,.tippy-box[data-theme]{z-index:60!important}.tippy-box[data-theme~=pubwave]{box-shadow:none;background:0 0;border:none}.tippy-box[data-theme~=pubwave] .tippy-content{padding:0}.tippy-box[data-theme~=light-border]{border-radius:var(--pubwave-radius,6px);box-shadow:var(--pubwave-shadow-md,0 4px 6px -1px #0000001a);padding:4px 8px;font-size:12px;color:#fff!important;background-color:#000!important;border:none!important}.tippy-box[data-theme~=light-border] .tippy-content{color:#fff!important}.pubwave-block-handle__drag,.pubwave-block-handle__add{color:var(--pubwave-text-muted,#9b9a97)!important}.pubwave-toolbar__button:not(:disabled):hover,.pubwave-toolbar__turn-into-option:not(.pubwave-toolbar__turn-into-option--active):hover{background-color:var(--pubwave-hover)!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|
package/dist/index.js
CHANGED
|
@@ -4334,7 +4334,7 @@ function cancelDrag(editor) {
|
|
|
4334
4334
|
const slashMenu$8 = { "groups": { "basic": "Basic", "list": "Lists", "media": "Media", "advanced": "Advanced" }, "commands": { "paragraph": { "title": "Text", "description": "Plain text block" }, "heading1": { "title": "Heading 1", "description": "Large section heading" }, "heading2": { "title": "Heading 2", "description": "Medium section heading" }, "heading3": { "title": "Heading 3", "description": "Small section heading" }, "bulletList": { "title": "Bullet List", "description": "Create a bulleted list" }, "orderedList": { "title": "Numbered List", "description": "Create a numbered list" }, "taskList": { "title": "To-do list", "description": "Create a todo list with checkboxes" }, "image": { "title": "Image", "description": "Upload or paste an image" }, "blockquote": { "title": "Blockquote", "description": "Create a quote block" }, "codeBlock": { "title": "Code", "description": "Create a code snippet" }, "horizontalRule": { "title": "Divider", "description": "Create a horizontal line" } } };
|
|
4335
4335
|
const toolbar$8 = { "bold": "Bold", "italic": "Italic", "underline": "Underline", "strike": "Strikethrough", "code": "Inline Code", "link": "Link", "turnInto": "Turn Into", "colorPicker": "Text and background color", "textColor": "Text color", "backgroundColor": "Background color", "recentlyUsed": "Recently used", "openLink": "Open link", "removeLink": "Remove link", "confirmLink": "Confirm link", "clearLink": "Clear link", "blockTypes": { "text": "Text", "heading1": "Heading 1", "heading2": "Heading 2", "heading3": "Heading 3", "bulletedList": "Bulleted list", "numberedList": "Numbered list" } };
|
|
4336
4336
|
const aria$8 = { "editor": "Rich text editor", "editorContent": "Editor content area", "toolbar": "Text formatting toolbar", "boldButton": "Toggle bold formatting", "italicButton": "Toggle italic formatting", "underlineButton": "Toggle underline formatting", "strikeButton": "Toggle strikethrough formatting", "codeButton": "Toggle inline code formatting", "linkButton": "Add or edit link", "turnIntoButton": "Turn into", "colorPickerButton": "Text and background color", "headingButton": "Set heading level", "paragraphButton": "Convert to paragraph", "dragHandle": "Drag to reorder block", "dropIndicator": "Drop here to move block", "blockMenu": "Block options menu", "addBlock": "Add new block", "deleteBlock": "Delete this block", "linkDialog": "Link editor dialog", "linkUrlInput": "Link URL input", "linkSaveButton": "Save link", "linkRemoveButton": "Remove link", "linkCancelButton": "Cancel link editing", "addBlockBelow": "Add block below", "dragToMove": "Drag to reorder block", "openLinkInNewTab": "Open link in new tab", "linkConfirmButton": "Confirm link", "linkOpenButton": "Open link in new tab", "linkClearButton": "Clear link input" };
|
|
4337
|
-
const placeholder$8 = '
|
|
4337
|
+
const placeholder$8 = 'Write, type "/" for commands...';
|
|
4338
4338
|
const linkPlaceholder$8 = "Paste a link...";
|
|
4339
4339
|
const enLocaleData = {
|
|
4340
4340
|
slashMenu: slashMenu$8,
|
|
@@ -4346,7 +4346,7 @@ const enLocaleData = {
|
|
|
4346
4346
|
const slashMenu$7 = { "groups": { "basic": "基礎", "list": "列表", "media": "媒體", "advanced": "高級" }, "commands": { "paragraph": { "title": "文本", "description": "普通文本塊" }, "heading1": { "title": "標題 1", "description": "大標題" }, "heading2": { "title": "標題 2", "description": "中標題" }, "heading3": { "title": "標題 3", "description": "小標題" }, "bulletList": { "title": "無序列表", "description": "創建無序列表" }, "orderedList": { "title": "有序列表", "description": "創建有序列表" }, "taskList": { "title": "待辦清單", "description": "創建帶複選框的待辦清單" }, "image": { "title": "圖片", "description": "上傳或粘貼圖片" }, "blockquote": { "title": "引用", "description": "創建引用塊" }, "codeBlock": { "title": "代碼", "description": "創建代碼片段" }, "horizontalRule": { "title": "分割線", "description": "創建水平分割線" } } };
|
|
4347
4347
|
const toolbar$7 = { "bold": "粗體", "italic": "斜體", "underline": "下劃線", "strike": "刪除線", "code": "行內代碼", "link": "鏈接", "turnInto": "轉換為", "colorPicker": "文字和背景顏色", "textColor": "文字顏色", "backgroundColor": "背景顏色", "recentlyUsed": "最近使用", "openLink": "打開鏈接", "removeLink": "移除鏈接", "confirmLink": "確認鏈接", "clearLink": "清空鏈接", "blockTypes": { "text": "文本", "heading1": "標題 1", "heading2": "標題 2", "heading3": "標題 3", "bulletedList": "無序列表", "numberedList": "有序列表" } };
|
|
4348
4348
|
const aria$7 = { "editor": "富文本編輯器", "editorContent": "編輯器內容區域", "toolbar": "文本格式化工具欄", "boldButton": "切換粗體格式", "italicButton": "切換斜體格式", "underlineButton": "切換下劃線格式", "strikeButton": "切換刪除線格式", "codeButton": "切換行內代碼格式", "linkButton": "添加或編輯鏈接", "turnIntoButton": "轉換為", "colorPickerButton": "文字和背景顏色", "headingButton": "設置標題級別", "paragraphButton": "轉換為段落", "dragHandle": "拖拽以重新排序塊", "dropIndicator": "放置此處以移動塊", "blockMenu": "塊選項菜單", "addBlock": "添加新塊", "deleteBlock": "刪除此塊", "linkDialog": "鏈接編輯對話框", "linkUrlInput": "鏈接 URL 輸入", "linkSaveButton": "保存鏈接", "linkRemoveButton": "移除鏈接", "linkCancelButton": "取消鏈接編輯", "addBlockBelow": "在下方添加塊", "dragToMove": "拖拽以重新排序塊", "openLinkInNewTab": "在新標籤頁中打開鏈接", "linkConfirmButton": "確認鏈接", "linkOpenButton": "在新標籤頁中打開鏈接", "linkClearButton": "清空鏈接輸入" };
|
|
4349
|
-
const placeholder$7 = '
|
|
4349
|
+
const placeholder$7 = '開始寫作,輸入 "/" 顯示命令...';
|
|
4350
4350
|
const linkPlaceholder$7 = "粘貼鏈接...";
|
|
4351
4351
|
const zhLocaleData = {
|
|
4352
4352
|
slashMenu: slashMenu$7,
|
|
@@ -4358,7 +4358,7 @@ const zhLocaleData = {
|
|
|
4358
4358
|
const slashMenu$6 = { "groups": { "basic": "基础", "list": "列表", "media": "媒体", "advanced": "高级" }, "commands": { "paragraph": { "title": "文本", "description": "普通文本块" }, "heading1": { "title": "标题 1", "description": "大标题" }, "heading2": { "title": "标题 2", "description": "中标题" }, "heading3": { "title": "标题 3", "description": "小标题" }, "bulletList": { "title": "无序列表", "description": "创建无序列表" }, "orderedList": { "title": "有序列表", "description": "创建有序列表" }, "taskList": { "title": "待办清单", "description": "创建带复选框的待办清单" }, "image": { "title": "图片", "description": "上传或粘贴图片" }, "blockquote": { "title": "引用", "description": "创建引用块" }, "codeBlock": { "title": "代码", "description": "创建代码片段" }, "horizontalRule": { "title": "分割线", "description": "创建水平分割线" } } };
|
|
4359
4359
|
const toolbar$6 = { "bold": "粗体", "italic": "斜体", "underline": "下划线", "strike": "删除线", "code": "行内代码", "link": "链接", "turnInto": "转换为", "colorPicker": "文字和背景颜色", "textColor": "文字颜色", "backgroundColor": "背景颜色", "recentlyUsed": "最近使用", "openLink": "打开链接", "removeLink": "移除链接", "confirmLink": "确认链接", "clearLink": "清空链接", "blockTypes": { "text": "文本", "heading1": "标题 1", "heading2": "标题 2", "heading3": "标题 3", "bulletedList": "无序列表", "numberedList": "有序列表" } };
|
|
4360
4360
|
const aria$6 = { "editor": "富文本编辑器", "editorContent": "编辑器内容区域", "toolbar": "文本格式化工具栏", "boldButton": "切换粗体格式", "italicButton": "切换斜体格式", "underlineButton": "切换下划线格式", "strikeButton": "切换删除线格式", "codeButton": "切换行内代码格式", "linkButton": "添加或编辑链接", "turnIntoButton": "转换为", "colorPickerButton": "文字和背景颜色", "headingButton": "设置标题级别", "paragraphButton": "转换为段落", "dragHandle": "拖拽以重新排序块", "dropIndicator": "放置此处以移动块", "blockMenu": "块选项菜单", "addBlock": "添加新块", "deleteBlock": "删除此块", "linkDialog": "链接编辑对话框", "linkUrlInput": "链接 URL 输入", "linkSaveButton": "保存链接", "linkRemoveButton": "移除链接", "linkCancelButton": "取消链接编辑", "addBlockBelow": "在下方添加块", "dragToMove": "拖拽以重新排序块", "openLinkInNewTab": "在新标签页中打开链接", "linkConfirmButton": "确认链接", "linkOpenButton": "在新标签页中打开链接", "linkClearButton": "清空链接输入" };
|
|
4361
|
-
const placeholder$6 = '
|
|
4361
|
+
const placeholder$6 = '开始写作,输入 "/" 显示命令...';
|
|
4362
4362
|
const linkPlaceholder$6 = "粘贴链接...";
|
|
4363
4363
|
const zhCNLocaleData = {
|
|
4364
4364
|
slashMenu: slashMenu$6,
|
|
@@ -4370,7 +4370,7 @@ const zhCNLocaleData = {
|
|
|
4370
4370
|
const slashMenu$5 = { "groups": { "basic": "基本", "list": "リスト", "media": "メディア", "advanced": "高度" }, "commands": { "paragraph": { "title": "テキスト", "description": "プレーンテキストブロック" }, "heading1": { "title": "見出し1", "description": "大きなセクション見出し" }, "heading2": { "title": "見出し2", "description": "中サイズのセクション見出し" }, "heading3": { "title": "見出し3", "description": "小さなセクション見出し" }, "bulletList": { "title": "箇条書きリスト", "description": "箇条書きリストを作成" }, "orderedList": { "title": "番号付きリスト", "description": "番号付きリストを作成" }, "taskList": { "title": "To-doリスト", "description": "チェックボックス付きのTo-doリストを作成" }, "image": { "title": "画像", "description": "画像をアップロードまたは貼り付け" }, "blockquote": { "title": "引用", "description": "引用ブロックを作成" }, "codeBlock": { "title": "コード", "description": "コードスニペットを作成" }, "horizontalRule": { "title": "区切り線", "description": "水平線を作成" } } };
|
|
4371
4371
|
const toolbar$5 = { "bold": "太字", "italic": "斜体", "underline": "下線", "strike": "取り消し線", "code": "インラインコード", "link": "リンク", "turnInto": "変換", "colorPicker": "テキストと背景色", "textColor": "文字色", "backgroundColor": "背景色", "recentlyUsed": "最近使用", "openLink": "リンクを開く", "removeLink": "リンクを削除", "confirmLink": "リンクを確認", "clearLink": "リンクをクリア", "blockTypes": { "text": "テキスト", "heading1": "見出し1", "heading2": "見出し2", "heading3": "見出し3", "bulletedList": "箇条書きリスト", "numberedList": "番号付きリスト" } };
|
|
4372
4372
|
const aria$5 = { "editor": "リッチテキストエディタ", "editorContent": "エディタコンテンツ領域", "toolbar": "テキスト書式設定ツールバー", "boldButton": "太字書式を切り替え", "italicButton": "斜体書式を切り替え", "underlineButton": "下線書式を切り替え", "strikeButton": "取り消し線書式を切り替え", "codeButton": "インラインコード書式を切り替え", "linkButton": "リンクを追加または編集", "turnIntoButton": "変換", "colorPickerButton": "テキストと背景色", "headingButton": "見出しレベルを設定", "paragraphButton": "段落に変換", "dragHandle": "ブロックを並び替えるためにドラッグ", "dropIndicator": "ブロックを移動するためにここにドロップ", "blockMenu": "ブロックオプションメニュー", "addBlock": "新しいブロックを追加", "deleteBlock": "このブロックを削除", "linkDialog": "リンク編集ダイアログ", "linkUrlInput": "リンクURL入力", "linkSaveButton": "リンクを保存", "linkRemoveButton": "リンクを削除", "linkCancelButton": "リンク編集をキャンセル", "addBlockBelow": "下にブロックを追加", "dragToMove": "ブロックを並び替えるためにドラッグ", "openLinkInNewTab": "新しいタブでリンクを開く", "linkConfirmButton": "リンクを確認", "linkOpenButton": "新しいタブでリンクを開く", "linkClearButton": "リンク入力をクリア" };
|
|
4373
|
-
const placeholder$5 = '
|
|
4373
|
+
const placeholder$5 = '書き始めましょう、コマンドを表示するには "/" を入力...';
|
|
4374
4374
|
const linkPlaceholder$5 = "リンクを貼り付け...";
|
|
4375
4375
|
const jaLocaleData = {
|
|
4376
4376
|
slashMenu: slashMenu$5,
|
|
@@ -4382,7 +4382,7 @@ const jaLocaleData = {
|
|
|
4382
4382
|
const slashMenu$4 = { "groups": { "basic": "기본", "list": "목록", "media": "미디어", "advanced": "고급" }, "commands": { "paragraph": { "title": "텍스트", "description": "일반 텍스트 블록" }, "heading1": { "title": "제목 1", "description": "큰 섹션 제목" }, "heading2": { "title": "제목 2", "description": "중간 섹션 제목" }, "heading3": { "title": "제목 3", "description": "작은 섹션 제목" }, "bulletList": { "title": "글머리 기호 목록", "description": "글머리 기호 목록 만들기" }, "orderedList": { "title": "번호 매기기 목록", "description": "번호 매기기 목록 만들기" }, "taskList": { "title": "할 일 목록", "description": "확인란 있는 할 일 목록 만들기" }, "image": { "title": "이미지", "description": "이미지 업로드 또는 붙여넣기" }, "blockquote": { "title": "인용", "description": "인용 블록 만들기" }, "codeBlock": { "title": "코드", "description": "코드 스니펫 만들기" }, "horizontalRule": { "title": "구분선", "description": "수평선 만들기" } } };
|
|
4383
4383
|
const toolbar$4 = { "bold": "굵게", "italic": "기울임", "underline": "밑줄", "strike": "취소선", "code": "인라인 코드", "link": "링크", "turnInto": "변환", "colorPicker": "텍스트 및 배경색", "textColor": "텍스트 색상", "backgroundColor": "배경 색상", "recentlyUsed": "최근 사용", "openLink": "링크 열기", "removeLink": "링크 제거", "confirmLink": "링크 확인", "clearLink": "링크 지우기", "blockTypes": { "text": "텍스트", "heading1": "제목 1", "heading2": "제목 2", "heading3": "제목 3", "bulletedList": "글머리 기호 목록", "numberedList": "번호 매기기 목록" } };
|
|
4384
4384
|
const aria$4 = { "editor": "리치 텍스트 에디터", "editorContent": "에디터 내용 영역", "toolbar": "텍스트 서식 도구 모음", "boldButton": "굵게 서식 전환", "italicButton": "기울임 서식 전환", "underlineButton": "밑줄 서식 전환", "strikeButton": "취소선 서식 전환", "codeButton": "인라인 코드 서식 전환", "linkButton": "링크 추가 또는 편집", "turnIntoButton": "변환", "colorPickerButton": "텍스트 및 배경색", "headingButton": "제목 수준 설정", "paragraphButton": "단락으로 변환", "dragHandle": "블록 재정렬을 위해 드래그", "dropIndicator": "블록 이동을 위해 여기에 놓기", "blockMenu": "블록 옵션 메뉴", "addBlock": "새 블록 추가", "deleteBlock": "이 블록 삭제", "linkDialog": "링크 편집 대화 상자", "linkUrlInput": "링크 URL 입력", "linkSaveButton": "링크 저장", "linkRemoveButton": "링크 제거", "linkCancelButton": "링크 편집 취소", "addBlockBelow": "아래에 블록 추가", "dragToMove": "블록 재정렬을 위해 드래그", "openLinkInNewTab": "새 탭에서 링크 열기", "linkConfirmButton": "링크 확인", "linkOpenButton": "새 탭에서 링크 열기", "linkClearButton": "링크 입력 지우기" };
|
|
4385
|
-
const placeholder$4 = '명령을 표시하려면 "/" 입력...';
|
|
4385
|
+
const placeholder$4 = '작성 시작, 명령을 표시하려면 "/" 입력...';
|
|
4386
4386
|
const linkPlaceholder$4 = "링크 붙여넣기...";
|
|
4387
4387
|
const koLocaleData = {
|
|
4388
4388
|
slashMenu: slashMenu$4,
|
|
@@ -4394,7 +4394,7 @@ const koLocaleData = {
|
|
|
4394
4394
|
const slashMenu$3 = { "groups": { "basic": "De base", "list": "Listes", "media": "Médias", "advanced": "Avancé" }, "commands": { "paragraph": { "title": "Texte", "description": "Bloc de texte simple" }, "heading1": { "title": "Titre 1", "description": "Grand titre de section" }, "heading2": { "title": "Titre 2", "description": "Titre de section moyen" }, "heading3": { "title": "Titre 3", "description": "Petit titre de section" }, "bulletList": { "title": "Liste à puces", "description": "Créer une liste à puces" }, "orderedList": { "title": "Liste numérotée", "description": "Créer une liste numérotée" }, "taskList": { "title": "Liste de tâches", "description": "Créer une liste de tâches avec cases à cocher" }, "image": { "title": "Image", "description": "Télécharger ou coller une image" }, "blockquote": { "title": "Citation", "description": "Créer un bloc de citation" }, "codeBlock": { "title": "Code", "description": "Créer un extrait de code" }, "horizontalRule": { "title": "Séparateur", "description": "Créer une ligne horizontale" } } };
|
|
4395
4395
|
const toolbar$3 = { "bold": "Gras", "italic": "Italique", "underline": "Souligné", "strike": "Barré", "code": "Code en ligne", "link": "Lien", "turnInto": "Convertir en", "colorPicker": "Couleur du texte et du fond", "textColor": "Couleur du texte", "backgroundColor": "Couleur de fond", "recentlyUsed": "Récemment utilisés", "openLink": "Ouvrir le lien", "removeLink": "Supprimer le lien", "confirmLink": "Confirmer le lien", "clearLink": "Effacer le lien", "blockTypes": { "text": "Texte", "heading1": "Titre 1", "heading2": "Titre 2", "heading3": "Titre 3", "bulletedList": "Liste à puces", "numberedList": "Liste numérotée" } };
|
|
4396
4396
|
const aria$3 = { "editor": "Éditeur de texte riche", "editorContent": "Zone de contenu de l'éditeur", "toolbar": "Barre d'outils de formatage de texte", "boldButton": "Activer/désactiver le formatage en gras", "italicButton": "Activer/désactiver le formatage en italique", "underlineButton": "Activer/désactiver le soulignement", "strikeButton": "Activer/désactiver le texte barré", "codeButton": "Activer/désactiver le code en ligne", "linkButton": "Ajouter ou modifier un lien", "turnIntoButton": "Convertir en", "colorPickerButton": "Couleur du texte et du fond", "headingButton": "Définir le niveau de titre", "paragraphButton": "Convertir en paragraphe", "dragHandle": "Glisser pour réorganiser le bloc", "dropIndicator": "Déposer ici pour déplacer le bloc", "blockMenu": "Menu des options de bloc", "addBlock": "Ajouter un nouveau bloc", "deleteBlock": "Supprimer ce bloc", "linkDialog": "Boîte de dialogue d'édition de lien", "linkUrlInput": "Entrée d'URL de lien", "linkSaveButton": "Enregistrer le lien", "linkRemoveButton": "Supprimer le lien", "linkCancelButton": "Annuler l'édition du lien", "addBlockBelow": "Ajouter un bloc en dessous", "dragToMove": "Glisser pour réorganiser le bloc", "openLinkInNewTab": "Ouvrir le lien dans un nouvel onglet", "linkConfirmButton": "Confirmer le lien", "linkOpenButton": "Ouvrir le lien dans un nouvel onglet", "linkClearButton": "Effacer la saisie du lien" };
|
|
4397
|
-
const placeholder$3 = '
|
|
4397
|
+
const placeholder$3 = 'Écrivez, tapez "/" pour afficher les commandes...';
|
|
4398
4398
|
const linkPlaceholder$3 = "Collez un lien...";
|
|
4399
4399
|
const frLocaleData = {
|
|
4400
4400
|
slashMenu: slashMenu$3,
|
|
@@ -4406,7 +4406,7 @@ const frLocaleData = {
|
|
|
4406
4406
|
const slashMenu$2 = { "groups": { "basic": "Basis", "list": "Listen", "media": "Medien", "advanced": "Erweitert" }, "commands": { "paragraph": { "title": "Text", "description": "Einfacher Textblock" }, "heading1": { "title": "Überschrift 1", "description": "Große Abschnittsüberschrift" }, "heading2": { "title": "Überschrift 2", "description": "Mittlere Abschnittsüberschrift" }, "heading3": { "title": "Überschrift 3", "description": "Kleine Abschnittsüberschrift" }, "bulletList": { "title": "Aufzählungsliste", "description": "Aufzählungsliste erstellen" }, "orderedList": { "title": "Nummerierte Liste", "description": "Nummerierte Liste erstellen" }, "taskList": { "title": "To-do-Liste", "description": "To-do-Liste mit Kontrollkästchen erstellen" }, "image": { "title": "Bild", "description": "Bild hochladen oder einfügen" }, "blockquote": { "title": "Zitat", "description": "Zitatblock erstellen" }, "codeBlock": { "title": "Code", "description": "Codeausschnitt erstellen" }, "horizontalRule": { "title": "Trennlinie", "description": "Horizontale Linie erstellen" } } };
|
|
4407
4407
|
const toolbar$2 = { "bold": "Fett", "italic": "Kursiv", "underline": "Unterstrichen", "strike": "Durchgestrichen", "code": "Inline-Code", "link": "Link", "turnInto": "Umwandeln in", "colorPicker": "Text- und Hintergrundfarbe", "textColor": "Textfarbe", "backgroundColor": "Hintergrundfarbe", "recentlyUsed": "Zuletzt verwendet", "openLink": "Link öffnen", "removeLink": "Link entfernen", "confirmLink": "Link bestätigen", "clearLink": "Link löschen", "blockTypes": { "text": "Text", "heading1": "Überschrift 1", "heading2": "Überschrift 2", "heading3": "Überschrift 3", "bulletedList": "Aufzählungsliste", "numberedList": "Nummerierte Liste" } };
|
|
4408
4408
|
const aria$2 = { "editor": "Rich-Text-Editor", "editorContent": "Editor-Inhaltsbereich", "toolbar": "Textformatierungs-Symbolleiste", "boldButton": "Fettformatierung ein/aus", "italicButton": "Kursivformatierung ein/aus", "underlineButton": "Unterstreichung ein/aus", "strikeButton": "Durchstreichung ein/aus", "codeButton": "Inline-Code-Formatierung ein/aus", "linkButton": "Link hinzufügen oder bearbeiten", "turnIntoButton": "Umwandeln in", "colorPickerButton": "Text- und Hintergrundfarbe", "headingButton": "Überschriftsebene festlegen", "paragraphButton": "In Absatz umwandeln", "dragHandle": "Zum Neuordnen des Blocks ziehen", "dropIndicator": "Hier ablegen, um Block zu verschieben", "blockMenu": "Block-Optionsmenü", "addBlock": "Neuen Block hinzufügen", "deleteBlock": "Diesen Block löschen", "linkDialog": "Link-Bearbeitungsdialog", "linkUrlInput": "Link-URL-Eingabe", "linkSaveButton": "Link speichern", "linkRemoveButton": "Link entfernen", "linkCancelButton": "Link-Bearbeitung abbrechen", "addBlockBelow": "Block darunter hinzufügen", "dragToMove": "Zum Neuordnen des Blocks ziehen", "openLinkInNewTab": "Link in neuem Tab öffnen", "linkConfirmButton": "Link bestätigen", "linkOpenButton": "Link in neuem Tab öffnen", "linkClearButton": "Link-Eingabe löschen" };
|
|
4409
|
-
const placeholder$2 = '
|
|
4409
|
+
const placeholder$2 = 'Schreiben, tippen Sie "/" für Befehle...';
|
|
4410
4410
|
const linkPlaceholder$2 = "Link einfügen...";
|
|
4411
4411
|
const deLocaleData = {
|
|
4412
4412
|
slashMenu: slashMenu$2,
|
|
@@ -4418,7 +4418,7 @@ const deLocaleData = {
|
|
|
4418
4418
|
const slashMenu$1 = { "groups": { "basic": "Básico", "list": "Listas", "media": "Medios", "advanced": "Avanzado" }, "commands": { "paragraph": { "title": "Texto", "description": "Bloque de texto plano" }, "heading1": { "title": "Título 1", "description": "Título de sección grande" }, "heading2": { "title": "Título 2", "description": "Título de sección mediano" }, "heading3": { "title": "Título 3", "description": "Título de sección pequeño" }, "bulletList": { "title": "Lista con viñetas", "description": "Crear una lista con viñetas" }, "orderedList": { "title": "Lista numerada", "description": "Crear una lista numerada" }, "taskList": { "title": "Lista de tareas", "description": "Crear una lista de tareas con casillas" }, "image": { "title": "Imagen", "description": "Subir o pegar una imagen" }, "blockquote": { "title": "Cita", "description": "Crear un bloque de cita" }, "codeBlock": { "title": "Código", "description": "Crear un fragmento de código" }, "horizontalRule": { "title": "Divisor", "description": "Crear una línea horizontal" } } };
|
|
4419
4419
|
const toolbar$1 = { "bold": "Negrita", "italic": "Cursiva", "underline": "Subrayado", "strike": "Tachado", "code": "Código en línea", "link": "Enlace", "turnInto": "Convertir en", "colorPicker": "Color de texto y fondo", "textColor": "Color del texto", "backgroundColor": "Color de fondo", "recentlyUsed": "Recientemente usados", "openLink": "Abrir enlace", "removeLink": "Eliminar enlace", "confirmLink": "Confirmar enlace", "clearLink": "Limpiar enlace", "blockTypes": { "text": "Texto", "heading1": "Título 1", "heading2": "Título 2", "heading3": "Título 3", "bulletedList": "Lista con viñetas", "numberedList": "Lista numerada" } };
|
|
4420
4420
|
const aria$1 = { "editor": "Editor de texto enriquecido", "editorContent": "Área de contenido del editor", "toolbar": "Barra de herramientas de formato de texto", "boldButton": "Activar/desactivar formato en negrita", "italicButton": "Activar/desactivar formato en cursiva", "underlineButton": "Activar/desactivar subrayado", "strikeButton": "Activar/desactivar tachado", "codeButton": "Activar/desactivar código en línea", "linkButton": "Añadir o editar enlace", "turnIntoButton": "Convertir en", "colorPickerButton": "Color de texto y fondo", "headingButton": "Establecer nivel de título", "paragraphButton": "Convertir a párrafo", "dragHandle": "Arrastrar para reorganizar el bloque", "dropIndicator": "Soltar aquí para mover el bloque", "blockMenu": "Menú de opciones del bloque", "addBlock": "Añadir nuevo bloque", "deleteBlock": "Eliminar este bloque", "linkDialog": "Diálogo de edición de enlace", "linkUrlInput": "Entrada de URL del enlace", "linkSaveButton": "Guardar enlace", "linkRemoveButton": "Eliminar enlace", "linkCancelButton": "Cancelar edición de enlace", "addBlockBelow": "Añadir bloque debajo", "dragToMove": "Arrastrar para reorganizar el bloque", "openLinkInNewTab": "Abrir enlace en nueva pestaña", "linkConfirmButton": "Confirmar enlace", "linkOpenButton": "Abrir enlace en nueva pestaña", "linkClearButton": "Limpiar entrada de enlace" };
|
|
4421
|
-
const placeholder$1 = '
|
|
4421
|
+
const placeholder$1 = 'Escribe, escribe "/" para comandos...';
|
|
4422
4422
|
const linkPlaceholder$1 = "Pegue un enlace...";
|
|
4423
4423
|
const esLocaleData = {
|
|
4424
4424
|
slashMenu: slashMenu$1,
|
|
@@ -4430,7 +4430,7 @@ const esLocaleData = {
|
|
|
4430
4430
|
const slashMenu = { "groups": { "basic": "Básico", "list": "Listas", "media": "Mídia", "advanced": "Avançado" }, "commands": { "paragraph": { "title": "Texto", "description": "Bloco de texto simples" }, "heading1": { "title": "Título 1", "description": "Título de seção grande" }, "heading2": { "title": "Título 2", "description": "Título de seção médio" }, "heading3": { "title": "Título 3", "description": "Título de seção pequeno" }, "bulletList": { "title": "Lista com marcadores", "description": "Criar uma lista com marcadores" }, "orderedList": { "title": "Lista numerada", "description": "Criar uma lista numerada" }, "taskList": { "title": "Lista de tarefas", "description": "Criar uma lista de tarefas com caixas de seleção" }, "image": { "title": "Imagem", "description": "Enviar ou colar uma imagem" }, "blockquote": { "title": "Citação", "description": "Criar um bloco de citação" }, "codeBlock": { "title": "Código", "description": "Criar um trecho de código" }, "horizontalRule": { "title": "Divisor", "description": "Criar uma linha horizontal" } } };
|
|
4431
4431
|
const toolbar = { "bold": "Negrito", "italic": "Itálico", "underline": "Sublinhado", "strike": "Tachado", "code": "Código inline", "link": "Link", "turnInto": "Converter em", "colorPicker": "Cor do texto e fundo", "textColor": "Cor do texto", "backgroundColor": "Cor de fundo", "recentlyUsed": "Usados recentemente", "openLink": "Abrir link", "removeLink": "Remover link", "confirmLink": "Confirmar link", "clearLink": "Limpar link", "blockTypes": { "text": "Texto", "heading1": "Título 1", "heading2": "Título 2", "heading3": "Título 3", "bulletedList": "Lista com marcadores", "numberedList": "Lista numerada" } };
|
|
4432
4432
|
const aria = { "editor": "Editor de texto rico", "editorContent": "Área de conteúdo do editor", "toolbar": "Barra de ferramentas de formatação de texto", "boldButton": "Alternar formatação em negrito", "italicButton": "Alternar formatação em itálico", "underlineButton": "Alternar sublinhado", "strikeButton": "Alternar tachado", "codeButton": "Alternar código inline", "linkButton": "Adicionar ou editar link", "turnIntoButton": "Converter em", "colorPickerButton": "Cor do texto e fundo", "headingButton": "Definir nível de título", "paragraphButton": "Converter em parágrafo", "dragHandle": "Arrastar para reorganizar o bloco", "dropIndicator": "Soltar aqui para mover o bloco", "blockMenu": "Menu de opções do bloco", "addBlock": "Adicionar novo bloco", "deleteBlock": "Excluir este bloco", "linkDialog": "Diálogo de edição de link", "linkUrlInput": "Entrada de URL do link", "linkSaveButton": "Salvar link", "linkRemoveButton": "Remover link", "linkCancelButton": "Cancelar edição de link", "addBlockBelow": "Adicionar bloco abaixo", "dragToMove": "Arrastar para reorganizar o bloco", "openLinkInNewTab": "Abrir link em nova aba", "linkConfirmButton": "Confirmar link", "linkOpenButton": "Abrir link em nova aba", "linkClearButton": "Limpar entrada de link" };
|
|
4433
|
-
const placeholder = '
|
|
4433
|
+
const placeholder = 'Escreva, digite "/" para comandos...';
|
|
4434
4434
|
const linkPlaceholder = "Cole um link...";
|
|
4435
4435
|
const ptLocaleData = {
|
|
4436
4436
|
slashMenu,
|
|
@@ -4492,7 +4492,7 @@ function createExtensions(config = {}) {
|
|
|
4492
4492
|
locale
|
|
4493
4493
|
} = config;
|
|
4494
4494
|
const localeData = locale ? getLocale(locale) : null;
|
|
4495
|
-
const placeholder2 = placeholderProp ?? (localeData == null ? void 0 : localeData.placeholder) ?? '
|
|
4495
|
+
const placeholder2 = placeholderProp ?? (localeData == null ? void 0 : localeData.placeholder) ?? 'Write,type "/" for commands...';
|
|
4496
4496
|
const extensions = [
|
|
4497
4497
|
// Block extensions (document structure + block types)
|
|
4498
4498
|
...createBlockExtensions({ headingLevels, imageUpload }),
|
|
@@ -4559,7 +4559,7 @@ function createEditor(config = {}) {
|
|
|
4559
4559
|
editorProps: {
|
|
4560
4560
|
attributes: {
|
|
4561
4561
|
class: "pubwave-editor__content",
|
|
4562
|
-
"data-placeholder": placeholder2 ?? "
|
|
4562
|
+
"data-placeholder": placeholder2 ?? 'Write,type "/" for commands...'
|
|
4563
4563
|
}
|
|
4564
4564
|
},
|
|
4565
4565
|
onUpdate: onUpdate ? ({ editor }) => {
|
|
@@ -6945,7 +6945,7 @@ const PubwaveEditor = forwardRef(
|
|
|
6945
6945
|
"data-testid": testId = "pubwave-editor"
|
|
6946
6946
|
} = props;
|
|
6947
6947
|
const locale = getLocale(theme == null ? void 0 : theme.locale);
|
|
6948
|
-
const placeholderText = placeholder2 ?? locale.placeholder ?? "
|
|
6948
|
+
const placeholderText = placeholder2 ?? locale.placeholder ?? 'Write,type "/" for commands...';
|
|
6949
6949
|
const editor = useEditor({
|
|
6950
6950
|
extensions: createExtensions({
|
|
6951
6951
|
placeholder: placeholderText,
|