@atlaskit/editor-common 99.9.0 → 99.10.0
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/CHANGELOG.md +21 -0
- package/dist/cjs/i18n/cs.js +4 -0
- package/dist/cjs/i18n/da.js +4 -0
- package/dist/cjs/i18n/de.js +5 -1
- package/dist/cjs/i18n/en.js +1 -1
- package/dist/cjs/i18n/en_GB.js +1 -1
- package/dist/cjs/i18n/en_ZZ.js +1 -1
- package/dist/cjs/i18n/es.js +1 -1
- package/dist/cjs/i18n/fi.js +4 -0
- package/dist/cjs/i18n/fr.js +5 -1
- package/dist/cjs/i18n/hu.js +4 -0
- package/dist/cjs/i18n/it.js +4 -0
- package/dist/cjs/i18n/ja.js +5 -1
- package/dist/cjs/i18n/ko.js +5 -1
- package/dist/cjs/i18n/nb.js +5 -1
- package/dist/cjs/i18n/nl.js +4 -0
- package/dist/cjs/i18n/pl.js +4 -0
- package/dist/cjs/i18n/pt_BR.js +5 -1
- package/dist/cjs/i18n/ru.js +1 -1
- package/dist/cjs/i18n/sv.js +5 -1
- package/dist/cjs/i18n/th.js +5 -1
- package/dist/cjs/i18n/tr.js +5 -1
- package/dist/cjs/i18n/vi.js +5 -1
- package/dist/cjs/i18n/zh.js +5 -1
- package/dist/cjs/i18n/zh_TW.js +5 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/transforms/extension.js +17 -1
- package/dist/cjs/transforms/index.js +6 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/i18n/cs.js +4 -0
- package/dist/es2019/i18n/da.js +4 -0
- package/dist/es2019/i18n/de.js +5 -1
- package/dist/es2019/i18n/en.js +1 -1
- package/dist/es2019/i18n/en_GB.js +1 -1
- package/dist/es2019/i18n/en_ZZ.js +1 -1
- package/dist/es2019/i18n/es.js +1 -1
- package/dist/es2019/i18n/fi.js +4 -0
- package/dist/es2019/i18n/fr.js +5 -1
- package/dist/es2019/i18n/hu.js +4 -0
- package/dist/es2019/i18n/it.js +4 -0
- package/dist/es2019/i18n/ja.js +5 -1
- package/dist/es2019/i18n/ko.js +5 -1
- package/dist/es2019/i18n/nb.js +5 -1
- package/dist/es2019/i18n/nl.js +4 -0
- package/dist/es2019/i18n/pl.js +4 -0
- package/dist/es2019/i18n/pt_BR.js +5 -1
- package/dist/es2019/i18n/ru.js +1 -1
- package/dist/es2019/i18n/sv.js +5 -1
- package/dist/es2019/i18n/th.js +5 -1
- package/dist/es2019/i18n/tr.js +5 -1
- package/dist/es2019/i18n/vi.js +5 -1
- package/dist/es2019/i18n/zh.js +5 -1
- package/dist/es2019/i18n/zh_TW.js +5 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/transforms/extension.js +19 -1
- package/dist/es2019/transforms/index.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/i18n/cs.js +4 -0
- package/dist/esm/i18n/da.js +4 -0
- package/dist/esm/i18n/de.js +5 -1
- package/dist/esm/i18n/en.js +1 -1
- package/dist/esm/i18n/en_GB.js +1 -1
- package/dist/esm/i18n/en_ZZ.js +1 -1
- package/dist/esm/i18n/es.js +1 -1
- package/dist/esm/i18n/fi.js +4 -0
- package/dist/esm/i18n/fr.js +5 -1
- package/dist/esm/i18n/hu.js +4 -0
- package/dist/esm/i18n/it.js +4 -0
- package/dist/esm/i18n/ja.js +5 -1
- package/dist/esm/i18n/ko.js +5 -1
- package/dist/esm/i18n/nb.js +5 -1
- package/dist/esm/i18n/nl.js +4 -0
- package/dist/esm/i18n/pl.js +4 -0
- package/dist/esm/i18n/pt_BR.js +5 -1
- package/dist/esm/i18n/ru.js +1 -1
- package/dist/esm/i18n/sv.js +5 -1
- package/dist/esm/i18n/th.js +5 -1
- package/dist/esm/i18n/tr.js +5 -1
- package/dist/esm/i18n/vi.js +5 -1
- package/dist/esm/i18n/zh.js +5 -1
- package/dist/esm/i18n/zh_TW.js +5 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/transforms/extension.js +17 -1
- package/dist/esm/transforms/index.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +4 -0
- package/dist/types/i18n/da.d.ts +4 -0
- package/dist/types/i18n/de.d.ts +4 -0
- package/dist/types/i18n/fi.d.ts +4 -0
- package/dist/types/i18n/fr.d.ts +4 -0
- package/dist/types/i18n/hu.d.ts +4 -0
- package/dist/types/i18n/it.d.ts +4 -0
- package/dist/types/i18n/ja.d.ts +4 -0
- package/dist/types/i18n/ko.d.ts +4 -0
- package/dist/types/i18n/nb.d.ts +4 -0
- package/dist/types/i18n/nl.d.ts +4 -0
- package/dist/types/i18n/pl.d.ts +4 -0
- package/dist/types/i18n/pt_BR.d.ts +4 -0
- package/dist/types/i18n/sv.d.ts +4 -0
- package/dist/types/i18n/th.d.ts +4 -0
- package/dist/types/i18n/tr.d.ts +4 -0
- package/dist/types/i18n/vi.d.ts +4 -0
- package/dist/types/i18n/zh.d.ts +4 -0
- package/dist/types/i18n/zh_TW.d.ts +4 -0
- package/dist/types/resizer/BreakoutResizer.d.ts +1 -1
- package/dist/types/transforms/extension.d.ts +1 -0
- package/dist/types/transforms/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +4 -0
- package/dist/types-ts4.5/i18n/da.d.ts +4 -0
- package/dist/types-ts4.5/i18n/de.d.ts +4 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +4 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +4 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +4 -0
- package/dist/types-ts4.5/i18n/it.d.ts +4 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +4 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +4 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +4 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +4 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +4 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +4 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +4 -0
- package/dist/types-ts4.5/i18n/th.d.ts +4 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +4 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +4 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +4 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +4 -0
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +1 -1
- package/dist/types-ts4.5/transforms/extension.d.ts +1 -0
- package/dist/types-ts4.5/transforms/index.d.ts +1 -1
- package/package.json +10 -10
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': 'Adicionar imagem, vídeo ou arquivo',
|
|
23
23
|
'fabric.editor.addRowAbove': 'Adicionar linha acima',
|
|
24
24
|
'fabric.editor.addRowBelow': 'Adicionar linha abaixo',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': 'A gente está com problemas para gerar a pré-visualização. Feche a caixa de diálogo e tente de novo.',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': 'A gente está com problemas. Feche a caixa de diálogo e tente de novo.',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': 'Inserir na parte inferior',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': 'Substituir',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': 'Destaque um termo, um acrônimo ou uma abreviatura',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': 'Definir',
|
|
27
31
|
'fabric.editor.alignCenter': 'Alinhar ao centro',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': 'Voltar',
|
|
40
44
|
'fabric.editor.backgroundColor': 'Cor do plano de fundo',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': 'O link em linha está em {node}, e sua exibição não pode ser alterada',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': 'Arraste para
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'Arraste para reorganizar',
|
|
43
47
|
'fabric.editor.blockControlInsert': 'Inserir',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': 'Mover para baixo',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': 'Mover para esquerda',
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
'fabric.editor.backLink': 'Назад',
|
|
44
44
|
'fabric.editor.backgroundColor': 'Цвет фона',
|
|
45
45
|
'fabric.editor.blockCardUnavailable': 'Встроенная ссылка находится внутри узла {node} — нельзя изменить представление',
|
|
46
|
-
'fabric.editor.blockControlDragHandleUsageInfo': '
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'Перетащите, чтобы изменить порядок',
|
|
47
47
|
'fabric.editor.blockControlInsert': 'Вставить',
|
|
48
48
|
'fabric.editor.blockControlMoveDown': 'Переместить блок вниз',
|
|
49
49
|
'fabric.editor.blockControlMoveLeft': 'Переместить влево',
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': 'Lägg till en bild, video eller fil',
|
|
23
23
|
'fabric.editor.addRowAbove': 'Lägg till rad ovanför',
|
|
24
24
|
'fabric.editor.addRowBelow': 'Lägg till rad nedanför',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': 'Vi kan inte generera förhandsvisningen. Stäng dialogrutan och försök igen.',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': 'Vi har problem. Stäng dialogrutan och försök igen.',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': 'Infoga nedan',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': 'Ersätt',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': 'Markera en term, akronym eller förkortning',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': 'Definiera',
|
|
27
31
|
'fabric.editor.alignCenter': 'Centrera',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': 'Gå tillbaka',
|
|
40
44
|
'fabric.editor.backgroundColor': 'Bakgrundsfärg',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': 'Inlinelänken är inuti {node} och det går inte att byta dess vy',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': 'Dra för att
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'Dra för att ordna om',
|
|
43
47
|
'fabric.editor.blockControlInsert': 'Infoga',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': 'Flytta ner',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': 'Flytta åt vänster',
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': 'เพิ่มรูปภาพ วิดีโอ หรือไฟล์',
|
|
23
23
|
'fabric.editor.addRowAbove': 'เพิ่มแถวด้านบน',
|
|
24
24
|
'fabric.editor.addRowBelow': 'เพิ่มแถวด้านล่าง',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': 'เรากำลังมีปัญหาในการสร้างการแสดงตัวอย่าง ปิดกล่องโต้ตอบและลองอีกครั้ง',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': 'เรากำลังมีปัญหา ปิดกล่องโต้ตอบและลองอีกครั้ง',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': 'แทรกด้านล่าง',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': 'แทนที่',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': 'เน้นคำ คำย่อ หรือตัวย่อ',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': 'กำหนด',
|
|
27
31
|
'fabric.editor.alignCenter': 'จัดแนวตรงกลาง',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': 'ย้อนกลับ',
|
|
40
44
|
'fabric.editor.backgroundColor': 'สีพื้นหลัง',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': 'ลิงก์ในบรรทัดเดียวกันจะอยู่ภายใน {node} และไม่สามารถเปลี่ยนแปลงมุมมองได้',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': '
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'ลากเพื่อเรียงใหม่',
|
|
43
47
|
'fabric.editor.blockControlInsert': 'แทรก',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': 'เลื่อนลง',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': 'ย้ายไปทางซ้าย',
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': 'Görsel, video ya da dosya ekle',
|
|
23
23
|
'fabric.editor.addRowAbove': 'Yukarıya satır ekle',
|
|
24
24
|
'fabric.editor.addRowBelow': 'Aşağıya satır ekle',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': 'Önizlemeyi oluştururken bir sorunla karşılaşıldı. İletişim kutusunu kapatın ve yeniden deneyin.',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': 'Bir sorunla karşılaşıldı. İletişim kutusunu kapatın ve yeniden deneyin.',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': 'Aşağıya ekle',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': 'Değiştir',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': 'Bir terimi veya kısaltmayı vurgulayın',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': 'Tanımla',
|
|
27
31
|
'fabric.editor.alignCenter': 'Ortaya hizala',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': 'Geri dön',
|
|
40
44
|
'fabric.editor.backgroundColor': 'Arkaplan rengi',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': 'Satır içi bağlantı {node} düğümündedir ve görüntüsü değiştirilemez',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': '
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'Yeniden düzenlemek için sürükleyin',
|
|
43
47
|
'fabric.editor.blockControlInsert': 'Ekle',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': 'Aşağı taşı',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': 'Sola taşı',
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': 'Thêm ảnh, video hoặc tệp',
|
|
23
23
|
'fabric.editor.addRowAbove': 'Thêm hàng bên trên',
|
|
24
24
|
'fabric.editor.addRowBelow': 'Thêm hàng bên dưới',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': 'Đã xảy ra lỗi khi tạo bản xem trước. Hãy đóng hộp thoại và thử lại.',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': 'Đã xảy ra lỗi. Hãy đóng hộp thoại và thử lại.',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': 'Chèn bên dưới',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': 'Thay thế',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': 'Đánh dấu một thuật ngữ, từ viết tắt hoặc chữ rút gọn',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': 'Xác định',
|
|
27
31
|
'fabric.editor.alignCenter': 'Căn giữa',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': 'Quay lại',
|
|
40
44
|
'fabric.editor.backgroundColor': 'Màu nền',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': 'Liên kết nội tuyến nằm trong {node} và không thể thay đổi chế độ xem liên kết',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': 'Kéo để
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': 'Kéo để sắp xếp lại',
|
|
43
47
|
'fabric.editor.blockControlInsert': 'Chèn',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': 'Di chuyển xuống',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': 'Di chuyển sang trái',
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': '添加图像、视频或文件',
|
|
23
23
|
'fabric.editor.addRowAbove': '在上方添加行',
|
|
24
24
|
'fabric.editor.addRowBelow': '在下方添加行',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': '生成预览时出现问题。请关闭该对话框,然后重试。',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': '出现问题。请关闭该对话框,然后重试。',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': '在下方插入',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': '替换',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': '突出显示术语、首字母缩略词或缩写',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': '定义',
|
|
27
31
|
'fabric.editor.alignCenter': '居中对齐',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': '返回',
|
|
40
44
|
'fabric.editor.backgroundColor': '背景颜色',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': '内联链接位于 {node} 内部,无法更改其视图',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': '
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': '拖放以重新排列',
|
|
43
47
|
'fabric.editor.blockControlInsert': '插入',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': '下移',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': '左移',
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -22,6 +22,10 @@ export default {
|
|
|
22
22
|
'fabric.editor.addMediaFiles': '新增圖片、影片或檔案',
|
|
23
23
|
'fabric.editor.addRowAbove': '在上方新增列',
|
|
24
24
|
'fabric.editor.addRowBelow': '在下方新增列',
|
|
25
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': '我們無法產生預覽。請關閉對話方塊,然後再試一次。',
|
|
26
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': '我們遇到問題。請關閉對話方塊,然後再試一次。',
|
|
27
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': '在下方插入',
|
|
28
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': '取代',
|
|
25
29
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': '突顯術語、縮寫或簡稱',
|
|
26
30
|
'fabric.editor.ai.selectionToolbar.define.title': '定義',
|
|
27
31
|
'fabric.editor.alignCenter': '置中對齊',
|
|
@@ -39,7 +43,7 @@ export default {
|
|
|
39
43
|
'fabric.editor.backLink': '返回',
|
|
40
44
|
'fabric.editor.backgroundColor': '背景顏色',
|
|
41
45
|
'fabric.editor.blockCardUnavailable': '內嵌連結位於 {node} 內,無法變更其檢視',
|
|
42
|
-
'fabric.editor.blockControlDragHandleUsageInfo': '
|
|
46
|
+
'fabric.editor.blockControlDragHandleUsageInfo': '拖曳以重新排列',
|
|
43
47
|
'fabric.editor.blockControlInsert': '插入',
|
|
44
48
|
'fabric.editor.blockControlMoveDown': '向下移動',
|
|
45
49
|
'fabric.editor.blockControlMoveLeft': '向左移動',
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "99.
|
|
10
|
+
var packageVersion = "99.10.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { uuid } from '@atlaskit/adf-schema';
|
|
2
2
|
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import { mapFragment } from '../utils/slice';
|
|
3
|
+
import { mapFragment, mapSlice } from '../utils/slice';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Lift content out of "open" top-level bodiedExtensions.
|
|
@@ -72,4 +72,20 @@ export var transformSliceToRemoveOpenMultiBodiedExtension = function transformSl
|
|
|
72
72
|
// Ignored via go/ees005
|
|
73
73
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
74
74
|
fragment.lastChild && fragment.lastChild.type !== slice.content.lastChild.type ? slice.openEnd - depthToReduce : slice.openEnd);
|
|
75
|
+
};
|
|
76
|
+
var LEGACY_CONTENT_MACRO_EXTENSION_TYPE = 'com.atlassian.confluence.migration',
|
|
77
|
+
LEGACY_CONTENT_MACRO_EXTENSION_KEY = 'legacy-content';
|
|
78
|
+
var isLegacyContentMacroExtension = function isLegacyContentMacroExtension(extensionNode) {
|
|
79
|
+
var _extensionNode$attrs, _extensionNode$attrs2;
|
|
80
|
+
return ((_extensionNode$attrs = extensionNode.attrs) === null || _extensionNode$attrs === void 0 ? void 0 : _extensionNode$attrs.extensionType) === LEGACY_CONTENT_MACRO_EXTENSION_TYPE && ((_extensionNode$attrs2 = extensionNode.attrs) === null || _extensionNode$attrs2 === void 0 ? void 0 : _extensionNode$attrs2.extensionKey) === LEGACY_CONTENT_MACRO_EXTENSION_KEY;
|
|
81
|
+
};
|
|
82
|
+
export var transformSliceToRemoveLegacyContentMacro = function transformSliceToRemoveLegacyContentMacro(slice, schema) {
|
|
83
|
+
var extension = schema.nodes.extension;
|
|
84
|
+
return mapSlice(slice, function (node) {
|
|
85
|
+
if (node.type === extension && isLegacyContentMacroExtension(node)) {
|
|
86
|
+
// Strip the node
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
return node;
|
|
90
|
+
});
|
|
75
91
|
};
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
export { unwrapContentFromLayout, removeLayoutFromFirstChild, removeLayoutFromLastChild, transformSliceToRemoveOpenLayoutNodes, transformSingleColumnLayout } from './layout';
|
|
5
5
|
export { findExpand, transformSliceToRemoveOpenExpand, transformSliceToRemoveOpenNestedExpand, transformSliceNestedExpandToExpand, transformSliceExpandToNestedExpand } from './expand';
|
|
6
|
-
export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension } from './extension';
|
|
6
|
+
export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, transformSliceToRemoveLegacyContentMacro } from './extension';
|
|
7
7
|
export { transformSliceToJoinAdjacentCodeBlocks, transformSingleLineCodeBlockToCodeMark, findCodeBlock } from './code-block';
|
|
8
8
|
export { transformSliceToDecisionList } from './decision-list';
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "99.
|
|
23
|
+
var packageVersion = "99.10.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -16,7 +16,7 @@ interface ExtensionNodeViewOptions {
|
|
|
16
16
|
export declare class ExtensionNode extends ReactNodeView {
|
|
17
17
|
ignoreMutation(mutation: MutationRecord | {
|
|
18
18
|
type: 'selection';
|
|
19
|
-
target:
|
|
19
|
+
target: Node;
|
|
20
20
|
}): boolean;
|
|
21
21
|
getContentDOM(): {
|
|
22
22
|
dom: HTMLDivElement;
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -5,7 +5,7 @@ import { type EditorContainerWidth, type getPosHandlerNode } from '../types';
|
|
|
5
5
|
type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
|
|
6
6
|
export declare const ignoreResizerMutations: (mutation: MutationRecord | {
|
|
7
7
|
type: 'selection';
|
|
8
|
-
target:
|
|
8
|
+
target: Node;
|
|
9
9
|
}) => boolean;
|
|
10
10
|
/**
|
|
11
11
|
* BreakoutResizer is a common component used to resize nodes that support the 'Breakout' mark, so it requires
|
|
@@ -10,3 +10,4 @@ export declare const transformSliceToRemoveOpenBodiedExtension: (slice: Slice, s
|
|
|
10
10
|
* Will not work if multiBodiedExtensions are nested, or when multiBodiedExtensions are not in the top level, which should never happen
|
|
11
11
|
*/
|
|
12
12
|
export declare const transformSliceToRemoveOpenMultiBodiedExtension: (slice: Slice, schema: Schema) => Slice;
|
|
13
|
+
export declare const transformSliceToRemoveLegacyContentMacro: (slice: Slice, schema: Schema) => Slice;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { unwrapContentFromLayout, removeLayoutFromFirstChild, removeLayoutFromLastChild, transformSliceToRemoveOpenLayoutNodes, transformSingleColumnLayout, } from './layout';
|
|
2
2
|
export { findExpand, transformSliceToRemoveOpenExpand, transformSliceToRemoveOpenNestedExpand, transformSliceNestedExpandToExpand, transformSliceExpandToNestedExpand, } from './expand';
|
|
3
|
-
export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, } from './extension';
|
|
3
|
+
export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, transformSliceToRemoveLegacyContentMacro, } from './extension';
|
|
4
4
|
export { transformSliceToJoinAdjacentCodeBlocks, transformSingleLineCodeBlockToCodeMark, findCodeBlock, } from './code-block';
|
|
5
5
|
export { transformSliceToDecisionList } from './decision-list';
|
|
@@ -16,7 +16,7 @@ interface ExtensionNodeViewOptions {
|
|
|
16
16
|
export declare class ExtensionNode extends ReactNodeView {
|
|
17
17
|
ignoreMutation(mutation: MutationRecord | {
|
|
18
18
|
type: 'selection';
|
|
19
|
-
target:
|
|
19
|
+
target: Node;
|
|
20
20
|
}): boolean;
|
|
21
21
|
getContentDOM(): {
|
|
22
22
|
dom: HTMLDivElement;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|
|
@@ -20,6 +20,10 @@ declare const _default: {
|
|
|
20
20
|
'fabric.editor.addMediaFiles': string;
|
|
21
21
|
'fabric.editor.addRowAbove': string;
|
|
22
22
|
'fabric.editor.addRowBelow': string;
|
|
23
|
+
'fabric.editor.ai.proactive.error.markdownErrorMessage': string;
|
|
24
|
+
'fabric.editor.ai.proactive.error.unhandledErrorMessage': string;
|
|
25
|
+
'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation': string;
|
|
26
|
+
'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation': string;
|
|
23
27
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
24
28
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
25
29
|
'fabric.editor.alignCenter': string;
|