@blocknote/core 0.49.0 → 0.50.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/dist/blocknote.cjs +1 -1
- package/dist/blocknote.js +3 -3
- package/dist/{blocks-_lpGWKOa.cjs → blocks-BFnTypT-.cjs} +2 -2
- package/dist/{blocks-_lpGWKOa.cjs.map → blocks-BFnTypT-.cjs.map} +1 -1
- package/dist/{blocks-CSfJen16.js → blocks-UU7EM-QM.js} +587 -572
- package/dist/{blocks-CSfJen16.js.map → blocks-UU7EM-QM.js.map} +1 -1
- package/dist/blocks.cjs +1 -1
- package/dist/blocks.js +1 -1
- package/dist/comments.cjs +1 -1
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.js +17 -14
- package/dist/comments.js.map +1 -1
- package/dist/{en-QsSI16s5.js → en-B9hMApn4.js} +4 -2
- package/dist/en-B9hMApn4.js.map +1 -0
- package/dist/{en-C4ykW581.cjs → en-Cj5r8sW_.cjs} +2 -2
- package/dist/en-Cj5r8sW_.cjs.map +1 -0
- package/dist/{extensions-BfYaEv6F.cjs → extensions-CYsFi5Is.cjs} +2 -2
- package/dist/{extensions-BfYaEv6F.cjs.map → extensions-CYsFi5Is.cjs.map} +1 -1
- package/dist/{extensions-C3nguvVr.js → extensions-CkLT--Nc.js} +6 -4
- package/dist/{extensions-C3nguvVr.js.map → extensions-CkLT--Nc.js.map} +1 -1
- package/dist/extensions.cjs +1 -1
- package/dist/extensions.js +2 -2
- package/dist/locales.cjs +1 -1
- package/dist/locales.cjs.map +1 -1
- package/dist/locales.js +67 -23
- package/dist/locales.js.map +1 -1
- package/dist/{src-ChTwrMcE.cjs → src-DsJ6yzs9.cjs} +5 -5
- package/dist/src-DsJ6yzs9.cjs.map +1 -0
- package/dist/{src-DQfz4zLM.js → src-SVFpMAWE.js} +380 -376
- package/dist/src-SVFpMAWE.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/dist/yjs.cjs +1 -1
- package/dist/yjs.js +1 -1
- package/package.json +1 -1
- package/src/api/clipboard/toClipboard/copyExtension.ts +21 -16
- package/src/blocks/Table/TableExtension.ts +38 -9
- package/src/blocks/defaultBlocks.ts +34 -1
- package/src/comments/extension.ts +30 -11
- package/src/editor/Block.css +14 -18
- package/src/editor/managers/ExtensionManager/extensions.ts +8 -9
- package/src/extensions/SideMenu/SideMenu.ts +2 -2
- package/src/extensions/TableHandles/TableHandles.ts +2 -0
- package/src/extensions/tiptap-extensions/Link/index.ts +1 -1
- package/src/extensions/tiptap-extensions/Link/link.ts +49 -18
- package/src/i18n/locales/ar.ts +3 -1
- package/src/i18n/locales/de.ts +3 -1
- package/src/i18n/locales/en.ts +3 -1
- package/src/i18n/locales/es.ts +3 -1
- package/src/i18n/locales/fa.ts +3 -1
- package/src/i18n/locales/fr.ts +3 -1
- package/src/i18n/locales/he.ts +3 -1
- package/src/i18n/locales/hr.ts +3 -1
- package/src/i18n/locales/is.ts +3 -1
- package/src/i18n/locales/it.ts +3 -1
- package/src/i18n/locales/ja.ts +3 -1
- package/src/i18n/locales/ko.ts +3 -1
- package/src/i18n/locales/nl.ts +3 -1
- package/src/i18n/locales/no.ts +3 -1
- package/src/i18n/locales/pl.ts +3 -1
- package/src/i18n/locales/pt.ts +3 -1
- package/src/i18n/locales/ru.ts +3 -1
- package/src/i18n/locales/sk.ts +3 -1
- package/src/i18n/locales/uk.ts +3 -1
- package/src/i18n/locales/uz.ts +3 -1
- package/src/i18n/locales/vi.ts +3 -1
- package/src/i18n/locales/zh-tw.ts +3 -1
- package/src/i18n/locales/zh.ts +3 -1
- package/types/src/comments/extension.d.ts +2 -1
- package/types/src/extensions/tiptap-extensions/Link/index.d.ts +1 -1
- package/types/src/extensions/tiptap-extensions/Link/link.d.ts +12 -0
- package/types/src/i18n/locales/en.d.ts +2 -0
- package/types/src/i18n/locales/fa.d.ts +2 -0
- package/types/src/i18n/locales/sk.d.ts +2 -0
- package/dist/en-C4ykW581.cjs.map +0 -1
- package/dist/en-QsSI16s5.js.map +0 -1
- package/dist/src-ChTwrMcE.cjs.map +0 -1
- package/dist/src-DQfz4zLM.js.map +0 -1
package/src/editor/Block.css
CHANGED
|
@@ -127,6 +127,7 @@ NESTED BLOCKS
|
|
|
127
127
|
|
|
128
128
|
/* HEADINGS*/
|
|
129
129
|
[data-content-type="heading"] {
|
|
130
|
+
padding-top: 18px;
|
|
130
131
|
--level: 3em;
|
|
131
132
|
}
|
|
132
133
|
[data-content-type="heading"][data-level="2"] {
|
|
@@ -486,12 +487,25 @@ NESTED BLOCKS
|
|
|
486
487
|
padding: 12px;
|
|
487
488
|
}
|
|
488
489
|
|
|
490
|
+
[data-file-block] .bn-add-file-button:where(.dark, .dark *) {
|
|
491
|
+
background-color: rgb(70, 70, 70);
|
|
492
|
+
color: rgb(190, 190, 190);
|
|
493
|
+
}
|
|
494
|
+
|
|
489
495
|
.bn-editor[contenteditable="true"] [data-file-block] .bn-add-file-button:hover,
|
|
490
496
|
[data-file-block] .bn-file-name-with-icon:hover,
|
|
491
497
|
.ProseMirror-selectednode .bn-file-name-with-icon {
|
|
492
498
|
background-color: rgb(225, 225, 225);
|
|
493
499
|
}
|
|
494
500
|
|
|
501
|
+
.bn-editor[contenteditable="true"]
|
|
502
|
+
[data-file-block]
|
|
503
|
+
.bn-add-file-button:hover:where(.dark, .dark *),
|
|
504
|
+
[data-file-block] .bn-file-name-with-icon:hover:where(.dark, .dark *),
|
|
505
|
+
.ProseMirror-selectednode .bn-file-name-with-icon:where(.dark, .dark *) {
|
|
506
|
+
background-color: rgb(90, 90, 90);
|
|
507
|
+
}
|
|
508
|
+
|
|
495
509
|
[data-file-block] .bn-add-file-button-icon,
|
|
496
510
|
[data-file-block] .bn-file-icon {
|
|
497
511
|
width: 24px;
|
|
@@ -561,110 +575,92 @@ NESTED BLOCKS
|
|
|
561
575
|
|
|
562
576
|
/* TEXT COLORS */
|
|
563
577
|
[data-style-type="textColor"][data-value="gray"],
|
|
564
|
-
[data-text-color="gray"],
|
|
565
578
|
.bn-block:has(> .bn-block-content[data-text-color="gray"]) {
|
|
566
579
|
color: #9b9a97;
|
|
567
580
|
}
|
|
568
581
|
|
|
569
582
|
[data-style-type="textColor"][data-value="brown"],
|
|
570
|
-
[data-text-color="brown"],
|
|
571
583
|
.bn-block:has(> .bn-block-content[data-text-color="brown"]) {
|
|
572
584
|
color: #64473a;
|
|
573
585
|
}
|
|
574
586
|
|
|
575
587
|
[data-style-type="textColor"][data-value="red"],
|
|
576
|
-
[data-text-color="red"],
|
|
577
588
|
.bn-block:has(> .bn-block-content[data-text-color="red"]) {
|
|
578
589
|
color: #e03e3e;
|
|
579
590
|
}
|
|
580
591
|
|
|
581
592
|
[data-style-type="textColor"][data-value="orange"],
|
|
582
|
-
[data-text-color="orange"],
|
|
583
593
|
.bn-block:has(> .bn-block-content[data-text-color="orange"]) {
|
|
584
594
|
color: #d9730d;
|
|
585
595
|
}
|
|
586
596
|
|
|
587
597
|
[data-style-type="textColor"][data-value="yellow"],
|
|
588
|
-
[data-text-color="yellow"],
|
|
589
598
|
.bn-block:has(> .bn-block-content[data-text-color="yellow"]) {
|
|
590
599
|
color: #dfab01;
|
|
591
600
|
}
|
|
592
601
|
|
|
593
602
|
[data-style-type="textColor"][data-value="green"],
|
|
594
|
-
[data-text-color="green"],
|
|
595
603
|
.bn-block:has(> .bn-block-content[data-text-color="green"]) {
|
|
596
604
|
color: #4d6461;
|
|
597
605
|
}
|
|
598
606
|
|
|
599
607
|
[data-style-type="textColor"][data-value="blue"],
|
|
600
|
-
[data-text-color="blue"],
|
|
601
608
|
.bn-block:has(> .bn-block-content[data-text-color="blue"]) {
|
|
602
609
|
color: #0b6e99;
|
|
603
610
|
}
|
|
604
611
|
|
|
605
612
|
[data-style-type="textColor"][data-value="purple"],
|
|
606
|
-
[data-text-color="purple"],
|
|
607
613
|
.bn-block:has(> .bn-block-content[data-text-color="purple"]) {
|
|
608
614
|
color: #6940a5;
|
|
609
615
|
}
|
|
610
616
|
|
|
611
617
|
[data-style-type="textColor"][data-value="pink"],
|
|
612
|
-
[data-text-color="pink"],
|
|
613
618
|
.bn-block:has(> .bn-block-content[data-text-color="pink"]) {
|
|
614
619
|
color: #ad1a72;
|
|
615
620
|
}
|
|
616
621
|
|
|
617
622
|
/* BACKGROUND COLORS */
|
|
618
623
|
[data-style-type="backgroundColor"][data-value="gray"],
|
|
619
|
-
[data-background-color="gray"],
|
|
620
624
|
.bn-block:has(> .bn-block-content[data-background-color="gray"]) {
|
|
621
625
|
background-color: #ebeced;
|
|
622
626
|
}
|
|
623
627
|
|
|
624
628
|
[data-style-type="backgroundColor"][data-value="brown"],
|
|
625
|
-
[data-background-color="brown"],
|
|
626
629
|
.bn-block:has(> .bn-block-content[data-background-color="brown"]) {
|
|
627
630
|
background-color: #e9e5e3;
|
|
628
631
|
}
|
|
629
632
|
|
|
630
633
|
[data-style-type="backgroundColor"][data-value="red"],
|
|
631
|
-
[data-background-color="red"],
|
|
632
634
|
.bn-block:has(> .bn-block-content[data-background-color="red"]) {
|
|
633
635
|
background-color: #fbe4e4;
|
|
634
636
|
}
|
|
635
637
|
|
|
636
638
|
[data-style-type="backgroundColor"][data-value="orange"],
|
|
637
|
-
[data-background-color="orange"],
|
|
638
639
|
.bn-block:has(> .bn-block-content[data-background-color="orange"]) {
|
|
639
640
|
background-color: #f6e9d9;
|
|
640
641
|
}
|
|
641
642
|
|
|
642
643
|
[data-style-type="backgroundColor"][data-value="yellow"],
|
|
643
|
-
[data-background-color="yellow"],
|
|
644
644
|
.bn-block:has(> .bn-block-content[data-background-color="yellow"]) {
|
|
645
645
|
background-color: #fbf3db;
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
[data-style-type="backgroundColor"][data-value="green"],
|
|
649
|
-
[data-background-color="green"],
|
|
650
649
|
.bn-block:has(> .bn-block-content[data-background-color="green"]) {
|
|
651
650
|
background-color: #ddedea;
|
|
652
651
|
}
|
|
653
652
|
|
|
654
653
|
[data-style-type="backgroundColor"][data-value="blue"],
|
|
655
|
-
[data-background-color="blue"],
|
|
656
654
|
.bn-block:has(> .bn-block-content[data-background-color="blue"]) {
|
|
657
655
|
background-color: #ddebf1;
|
|
658
656
|
}
|
|
659
657
|
|
|
660
658
|
[data-style-type="backgroundColor"][data-value="purple"],
|
|
661
|
-
[data-background-color="purple"],
|
|
662
659
|
.bn-block:has(> .bn-block-content[data-background-color="purple"]) {
|
|
663
660
|
background-color: #eae4f2;
|
|
664
661
|
}
|
|
665
662
|
|
|
666
663
|
[data-style-type="backgroundColor"][data-value="pink"],
|
|
667
|
-
[data-background-color="pink"],
|
|
668
664
|
.bn-block:has(> .bn-block-content[data-background-color="pink"]) {
|
|
669
665
|
background-color: #f4dfeb;
|
|
670
666
|
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Extension as TiptapExtension,
|
|
6
6
|
} from "@tiptap/core";
|
|
7
7
|
import { Gapcursor } from "@tiptap/extensions/gap-cursor";
|
|
8
|
-
import {
|
|
8
|
+
import { LinkExtension } from "../../../extensions/tiptap-extensions/Link/link.js";
|
|
9
9
|
import { Text } from "@tiptap/extension-text";
|
|
10
10
|
import { createDropFileExtension } from "../../../api/clipboard/fromClipboard/fileDropExtension.js";
|
|
11
11
|
import { createPasteFromClipboardExtension } from "../../../api/clipboard/fromClipboard/pasteExtension.js";
|
|
@@ -73,14 +73,6 @@ export function getDefaultTiptapExtensions(
|
|
|
73
73
|
SuggestionAddMark,
|
|
74
74
|
SuggestionDeleteMark,
|
|
75
75
|
SuggestionModificationMark,
|
|
76
|
-
Link.configure({
|
|
77
|
-
HTMLAttributes: options.links?.HTMLAttributes ?? {},
|
|
78
|
-
editor,
|
|
79
|
-
onClick: options.links?.onClick,
|
|
80
|
-
...(options.links?.isValidLink
|
|
81
|
-
? { isValidLink: options.links.isValidLink }
|
|
82
|
-
: {}),
|
|
83
|
-
}),
|
|
84
76
|
...(Object.values(editor.schema.styleSpecs).map((styleSpec) => {
|
|
85
77
|
return styleSpec.implementation.mark.configure({
|
|
86
78
|
editor: editor,
|
|
@@ -169,6 +161,13 @@ export function getDefaultExtensions(
|
|
|
169
161
|
DropCursorExtension(options),
|
|
170
162
|
FilePanelExtension(options),
|
|
171
163
|
FormattingToolbarExtension(options),
|
|
164
|
+
LinkExtension({
|
|
165
|
+
HTMLAttributes: options.links?.HTMLAttributes ?? {},
|
|
166
|
+
onClick: options.links?.onClick,
|
|
167
|
+
...(options.links?.isValidLink
|
|
168
|
+
? { isValidLink: options.links.isValidLink }
|
|
169
|
+
: {}),
|
|
170
|
+
}),
|
|
172
171
|
LinkToolbarExtension(options),
|
|
173
172
|
NodeSelectionKeyboardExtension(),
|
|
174
173
|
PlaceholderExtension(options),
|
|
@@ -785,8 +785,8 @@ export const SideMenuExtension = createExtension(({ editor }) => {
|
|
|
785
785
|
* interfering with open submenus.
|
|
786
786
|
*/
|
|
787
787
|
hideMenuIfNotFrozen() {
|
|
788
|
-
if (!view!.menuFrozen && view!.state
|
|
789
|
-
view!.state
|
|
788
|
+
if (!view!.menuFrozen && view!.state?.show) {
|
|
789
|
+
view!.state.show = false;
|
|
790
790
|
view!.emitUpdate(view!.state!);
|
|
791
791
|
}
|
|
792
792
|
},
|
|
@@ -466,6 +466,8 @@ export class TableHandlesView implements PluginView {
|
|
|
466
466
|
event.preventDefault();
|
|
467
467
|
|
|
468
468
|
const { draggingState, colIndex, rowIndex } = this.state;
|
|
469
|
+
// Clear so a re-dispatched drop short-circuits above (issue #2691).
|
|
470
|
+
this.state.draggingState = undefined;
|
|
469
471
|
|
|
470
472
|
const columnWidths = this.state.block.content.columnWidths;
|
|
471
473
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Link } from "./link.js";
|
|
1
|
+
export { Link, LinkExtension } from "./link.js";
|
|
2
2
|
export { isAllowedUri } from "./link.js";
|
|
@@ -2,6 +2,7 @@ import type { PasteRuleMatch } from "@tiptap/core";
|
|
|
2
2
|
import { Mark, markPasteRule, mergeAttributes } from "@tiptap/core";
|
|
3
3
|
import type { Plugin } from "@tiptap/pm/state";
|
|
4
4
|
import type { BlockNoteEditor } from "../../../editor/BlockNoteEditor.js";
|
|
5
|
+
import { createExtension } from "../../../editor/BlockNoteExtension.js";
|
|
5
6
|
import { autolink } from "./helpers/autolink.js";
|
|
6
7
|
import { findLinks } from "./helpers/linkDetector.js";
|
|
7
8
|
import { clickHandler } from "./helpers/clickHandler.js";
|
|
@@ -10,13 +11,6 @@ import { UNICODE_WHITESPACE_REGEX_GLOBAL } from "./helpers/whitespace.js";
|
|
|
10
11
|
|
|
11
12
|
const DEFAULT_PROTOCOL = "https";
|
|
12
13
|
|
|
13
|
-
const HTML_ATTRIBUTES = {
|
|
14
|
-
target: "_blank",
|
|
15
|
-
rel: "noopener noreferrer nofollow",
|
|
16
|
-
className: "bn-inline-content-section",
|
|
17
|
-
"data-inline-content-type": "link",
|
|
18
|
-
};
|
|
19
|
-
|
|
20
14
|
// Pre-compiled regex for URI protocol validation.
|
|
21
15
|
// Allows: http, https, ftp, ftps, mailto, tel, callto, sms, cid, xmpp
|
|
22
16
|
const ALLOWED_URI_REGEX =
|
|
@@ -74,8 +68,6 @@ export type LinkOptions = {
|
|
|
74
68
|
export const Link = Mark.create<LinkOptions>({
|
|
75
69
|
name: "link",
|
|
76
70
|
|
|
77
|
-
priority: 1000,
|
|
78
|
-
|
|
79
71
|
keepOnSplit: false,
|
|
80
72
|
|
|
81
73
|
exitable: true,
|
|
@@ -84,7 +76,12 @@ export const Link = Mark.create<LinkOptions>({
|
|
|
84
76
|
|
|
85
77
|
addOptions() {
|
|
86
78
|
return {
|
|
87
|
-
HTMLAttributes: {
|
|
79
|
+
HTMLAttributes: {
|
|
80
|
+
target: "_blank",
|
|
81
|
+
rel: "noopener noreferrer nofollow",
|
|
82
|
+
className: "bn-inline-content-section",
|
|
83
|
+
"data-inline-content-type": "link",
|
|
84
|
+
},
|
|
88
85
|
editor: undefined,
|
|
89
86
|
onClick: undefined,
|
|
90
87
|
isValidLink: isAllowedUri,
|
|
@@ -99,12 +96,6 @@ export const Link = Mark.create<LinkOptions>({
|
|
|
99
96
|
return element.getAttribute("href");
|
|
100
97
|
},
|
|
101
98
|
},
|
|
102
|
-
target: {
|
|
103
|
-
default: HTML_ATTRIBUTES.target,
|
|
104
|
-
},
|
|
105
|
-
rel: {
|
|
106
|
-
default: HTML_ATTRIBUTES.rel,
|
|
107
|
-
},
|
|
108
99
|
};
|
|
109
100
|
},
|
|
110
101
|
|
|
@@ -128,12 +119,22 @@ export const Link = Mark.create<LinkOptions>({
|
|
|
128
119
|
if (!this.options.isValidLink(HTMLAttributes.href)) {
|
|
129
120
|
return [
|
|
130
121
|
"a",
|
|
131
|
-
mergeAttributes(
|
|
122
|
+
mergeAttributes(
|
|
123
|
+
{
|
|
124
|
+
...HTMLAttributes,
|
|
125
|
+
href: "",
|
|
126
|
+
},
|
|
127
|
+
this.options.HTMLAttributes,
|
|
128
|
+
),
|
|
132
129
|
0,
|
|
133
130
|
];
|
|
134
131
|
}
|
|
135
132
|
|
|
136
|
-
return [
|
|
133
|
+
return [
|
|
134
|
+
"a",
|
|
135
|
+
mergeAttributes(HTMLAttributes, this.options.HTMLAttributes),
|
|
136
|
+
0,
|
|
137
|
+
];
|
|
137
138
|
},
|
|
138
139
|
|
|
139
140
|
addPasteRules() {
|
|
@@ -205,3 +206,33 @@ export const Link = Mark.create<LinkOptions>({
|
|
|
205
206
|
return plugins;
|
|
206
207
|
},
|
|
207
208
|
});
|
|
209
|
+
|
|
210
|
+
type LinkExtensionOptions = {
|
|
211
|
+
HTMLAttributes?: Record<string, any>;
|
|
212
|
+
onClick?: (
|
|
213
|
+
event: MouseEvent,
|
|
214
|
+
editor: BlockNoteEditor<any, any, any>,
|
|
215
|
+
) => boolean | void;
|
|
216
|
+
isValidLink?: (href: string) => boolean;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* BlockNote extension wrapping the {@link Link} TipTap mark. Wrapping the mark
|
|
221
|
+
* lets other extensions order their click handlers relative to the link click
|
|
222
|
+
* handler via `runsBefore: ["link"]`.
|
|
223
|
+
*/
|
|
224
|
+
export const LinkExtension = createExtension<any, LinkExtensionOptions>(
|
|
225
|
+
({ editor, options }) => {
|
|
226
|
+
return {
|
|
227
|
+
key: "link",
|
|
228
|
+
tiptapExtensions: [
|
|
229
|
+
Link.configure({
|
|
230
|
+
HTMLAttributes: options.HTMLAttributes ?? {},
|
|
231
|
+
editor,
|
|
232
|
+
onClick: options.onClick,
|
|
233
|
+
...(options.isValidLink ? { isValidLink: options.isValidLink } : {}),
|
|
234
|
+
}),
|
|
235
|
+
],
|
|
236
|
+
} as const;
|
|
237
|
+
},
|
|
238
|
+
);
|
package/src/i18n/locales/ar.ts
CHANGED
|
@@ -214,7 +214,7 @@ export const ar: Dictionary = {
|
|
|
214
214
|
text_title: "نص",
|
|
215
215
|
background_title: "خلفية",
|
|
216
216
|
colors: {
|
|
217
|
-
default: "
|
|
217
|
+
default: "تلقائي",
|
|
218
218
|
gray: "رمادي",
|
|
219
219
|
brown: "بني",
|
|
220
220
|
red: "أحمر",
|
|
@@ -369,9 +369,11 @@ export const ar: Dictionary = {
|
|
|
369
369
|
edited: "تم التحرير",
|
|
370
370
|
save_button_text: "حفظ",
|
|
371
371
|
cancel_button_text: "إلغاء",
|
|
372
|
+
deleted_reference_text: "تم حذف المحتوى الأصلي",
|
|
372
373
|
actions: {
|
|
373
374
|
add_reaction: "أضف تفاعلًا",
|
|
374
375
|
resolve: "حل",
|
|
376
|
+
reopen: "إعادة فتح",
|
|
375
377
|
edit_comment: "تحرير التعليق",
|
|
376
378
|
delete_comment: "حذف التعليق",
|
|
377
379
|
more_actions: "المزيد من الإجراءات",
|
package/src/i18n/locales/de.ts
CHANGED
|
@@ -249,7 +249,7 @@ export const de: Dictionary = {
|
|
|
249
249
|
text_title: "Text",
|
|
250
250
|
background_title: "Hintergrund",
|
|
251
251
|
colors: {
|
|
252
|
-
default: "
|
|
252
|
+
default: "Automatisch",
|
|
253
253
|
gray: "Grau",
|
|
254
254
|
brown: "Braun",
|
|
255
255
|
red: "Rot",
|
|
@@ -403,9 +403,11 @@ export const de: Dictionary = {
|
|
|
403
403
|
edited: "bearbeitet",
|
|
404
404
|
save_button_text: "Speichern",
|
|
405
405
|
cancel_button_text: "Abbrechen",
|
|
406
|
+
deleted_reference_text: "Originalinhalt gelöscht",
|
|
406
407
|
actions: {
|
|
407
408
|
add_reaction: "Reaktion hinzufügen",
|
|
408
409
|
resolve: "Lösen",
|
|
410
|
+
reopen: "Wieder öffnen",
|
|
409
411
|
edit_comment: "Kommentar bearbeiten",
|
|
410
412
|
delete_comment: "Kommentar löschen",
|
|
411
413
|
more_actions: "Weitere Aktionen",
|
package/src/i18n/locales/en.ts
CHANGED
|
@@ -229,7 +229,7 @@ export const en = {
|
|
|
229
229
|
text_title: "Text",
|
|
230
230
|
background_title: "Background",
|
|
231
231
|
colors: {
|
|
232
|
-
default: "
|
|
232
|
+
default: "Auto",
|
|
233
233
|
gray: "Gray",
|
|
234
234
|
brown: "Brown",
|
|
235
235
|
red: "Red",
|
|
@@ -384,9 +384,11 @@ export const en = {
|
|
|
384
384
|
edited: "edited",
|
|
385
385
|
save_button_text: "Save",
|
|
386
386
|
cancel_button_text: "Cancel",
|
|
387
|
+
deleted_reference_text: "Original content deleted",
|
|
387
388
|
actions: {
|
|
388
389
|
add_reaction: "Add reaction",
|
|
389
390
|
resolve: "Resolve",
|
|
391
|
+
reopen: "Re-open",
|
|
390
392
|
edit_comment: "Edit comment",
|
|
391
393
|
delete_comment: "Delete comment",
|
|
392
394
|
more_actions: "More actions",
|
package/src/i18n/locales/es.ts
CHANGED
|
@@ -228,7 +228,7 @@ export const es: Dictionary = {
|
|
|
228
228
|
text_title: "Texto",
|
|
229
229
|
background_title: "Fondo",
|
|
230
230
|
colors: {
|
|
231
|
-
default: "
|
|
231
|
+
default: "Automático",
|
|
232
232
|
gray: "Gris",
|
|
233
233
|
brown: "Marrón",
|
|
234
234
|
red: "Rojo",
|
|
@@ -382,9 +382,11 @@ export const es: Dictionary = {
|
|
|
382
382
|
edited: "editado",
|
|
383
383
|
save_button_text: "Guardar",
|
|
384
384
|
cancel_button_text: "Cancelar",
|
|
385
|
+
deleted_reference_text: "Contenido original eliminado",
|
|
385
386
|
actions: {
|
|
386
387
|
add_reaction: "Agregar reacción",
|
|
387
388
|
resolve: "Resolver",
|
|
389
|
+
reopen: "Reabrir",
|
|
388
390
|
edit_comment: "Editar comentario",
|
|
389
391
|
delete_comment: "Eliminar comentario",
|
|
390
392
|
more_actions: "Más acciones",
|
package/src/i18n/locales/fa.ts
CHANGED
|
@@ -197,7 +197,7 @@ export const fa = {
|
|
|
197
197
|
text_title: "متن",
|
|
198
198
|
background_title: "پسزمینه",
|
|
199
199
|
colors: {
|
|
200
|
-
default: "
|
|
200
|
+
default: "خودکار",
|
|
201
201
|
gray: "خاکستری",
|
|
202
202
|
brown: "قهوهای",
|
|
203
203
|
red: "قرمز",
|
|
@@ -352,9 +352,11 @@ export const fa = {
|
|
|
352
352
|
edited: "ویرایش شده",
|
|
353
353
|
save_button_text: "ذخیره",
|
|
354
354
|
cancel_button_text: "لغو",
|
|
355
|
+
deleted_reference_text: "محتوای اصلی حذف شد",
|
|
355
356
|
actions: {
|
|
356
357
|
add_reaction: "افزودن واکنش",
|
|
357
358
|
resolve: "حل کردن",
|
|
359
|
+
reopen: "باز کردن مجدد",
|
|
358
360
|
edit_comment: "ویرایش دیدگاه",
|
|
359
361
|
delete_comment: "حذف دیدگاه",
|
|
360
362
|
more_actions: "اقدامات بیشتر",
|
package/src/i18n/locales/fr.ts
CHANGED
|
@@ -275,7 +275,7 @@ export const fr: Dictionary = {
|
|
|
275
275
|
text_title: "Texte",
|
|
276
276
|
background_title: "Fond",
|
|
277
277
|
colors: {
|
|
278
|
-
default: "
|
|
278
|
+
default: "Auto",
|
|
279
279
|
gray: "Gris",
|
|
280
280
|
brown: "Marron",
|
|
281
281
|
red: "Rouge",
|
|
@@ -430,9 +430,11 @@ export const fr: Dictionary = {
|
|
|
430
430
|
edited: "modifié",
|
|
431
431
|
save_button_text: "Enregistrer",
|
|
432
432
|
cancel_button_text: "Annuler",
|
|
433
|
+
deleted_reference_text: "Contenu d'origine supprimé",
|
|
433
434
|
actions: {
|
|
434
435
|
add_reaction: "Ajouter une réaction",
|
|
435
436
|
resolve: "Résoudre",
|
|
437
|
+
reopen: "Rouvrir",
|
|
436
438
|
edit_comment: "Modifier le commentaire",
|
|
437
439
|
delete_comment: "Supprimer le commentaire",
|
|
438
440
|
more_actions: "Plus d'actions",
|
package/src/i18n/locales/he.ts
CHANGED
|
@@ -230,7 +230,7 @@ export const he: Dictionary = {
|
|
|
230
230
|
text_title: "טקסט",
|
|
231
231
|
background_title: "רקע",
|
|
232
232
|
colors: {
|
|
233
|
-
default: "
|
|
233
|
+
default: "אוטומטי",
|
|
234
234
|
gray: "אפור",
|
|
235
235
|
brown: "חום",
|
|
236
236
|
red: "אדום",
|
|
@@ -384,9 +384,11 @@ export const he: Dictionary = {
|
|
|
384
384
|
edited: "נערך",
|
|
385
385
|
save_button_text: "שמור",
|
|
386
386
|
cancel_button_text: "בטל",
|
|
387
|
+
deleted_reference_text: "התוכן המקורי נמחק",
|
|
387
388
|
actions: {
|
|
388
389
|
add_reaction: "הוסף תגובה",
|
|
389
390
|
resolve: "סמן כפתור",
|
|
391
|
+
reopen: "פתח מחדש",
|
|
390
392
|
edit_comment: "ערוך תגובה",
|
|
391
393
|
delete_comment: "מחק תגובה",
|
|
392
394
|
more_actions: "פעולות נוספות",
|
package/src/i18n/locales/hr.ts
CHANGED
|
@@ -242,7 +242,7 @@ export const hr: Dictionary = {
|
|
|
242
242
|
text_title: "Tekst",
|
|
243
243
|
background_title: "Pozadina",
|
|
244
244
|
colors: {
|
|
245
|
-
default: "
|
|
245
|
+
default: "Automatski",
|
|
246
246
|
gray: "Siva",
|
|
247
247
|
brown: "Smeđa",
|
|
248
248
|
red: "Crvena",
|
|
@@ -397,9 +397,11 @@ export const hr: Dictionary = {
|
|
|
397
397
|
edited: "uredio",
|
|
398
398
|
save_button_text: "Spremi",
|
|
399
399
|
cancel_button_text: "Odustani",
|
|
400
|
+
deleted_reference_text: "Originalni sadržaj je obrisan",
|
|
400
401
|
actions: {
|
|
401
402
|
add_reaction: "Dodaj reakciju",
|
|
402
403
|
resolve: "Riješi",
|
|
404
|
+
reopen: "Ponovno otvori",
|
|
403
405
|
edit_comment: "Uredi komentar",
|
|
404
406
|
delete_comment: "Obriši komentar",
|
|
405
407
|
more_actions: "Više radnji",
|
package/src/i18n/locales/is.ts
CHANGED
|
@@ -242,7 +242,7 @@ export const is: Dictionary = {
|
|
|
242
242
|
text_title: "Texti",
|
|
243
243
|
background_title: "Bakgrunnur",
|
|
244
244
|
colors: {
|
|
245
|
-
default: "
|
|
245
|
+
default: "Sjálfvirkt",
|
|
246
246
|
gray: "Grár",
|
|
247
247
|
brown: "Brúnn",
|
|
248
248
|
red: "Rauður",
|
|
@@ -397,9 +397,11 @@ export const is: Dictionary = {
|
|
|
397
397
|
edited: "breytt",
|
|
398
398
|
save_button_text: "Vista",
|
|
399
399
|
cancel_button_text: "Hætta",
|
|
400
|
+
deleted_reference_text: "Upprunalegu efni eytt",
|
|
400
401
|
actions: {
|
|
401
402
|
add_reaction: "Bæta við viðbrögðum",
|
|
402
403
|
resolve: "Leysa",
|
|
404
|
+
reopen: "Opna aftur",
|
|
403
405
|
edit_comment: "Breyta athugasemd",
|
|
404
406
|
delete_comment: "Eyða athugasemd",
|
|
405
407
|
more_actions: "Fleiri aðgerðir",
|
package/src/i18n/locales/it.ts
CHANGED
|
@@ -251,7 +251,7 @@ export const it: Dictionary = {
|
|
|
251
251
|
text_title: "Testo",
|
|
252
252
|
background_title: "Sfondo",
|
|
253
253
|
colors: {
|
|
254
|
-
default: "
|
|
254
|
+
default: "Automatico",
|
|
255
255
|
gray: "Grigio",
|
|
256
256
|
brown: "Marrone",
|
|
257
257
|
red: "Rosso",
|
|
@@ -406,9 +406,11 @@ export const it: Dictionary = {
|
|
|
406
406
|
edited: "modificato",
|
|
407
407
|
save_button_text: "Salva",
|
|
408
408
|
cancel_button_text: "Annulla",
|
|
409
|
+
deleted_reference_text: "Contenuto originale eliminato",
|
|
409
410
|
actions: {
|
|
410
411
|
add_reaction: "Aggiungi reazione",
|
|
411
412
|
resolve: "Risolvi",
|
|
413
|
+
reopen: "Riapri",
|
|
412
414
|
edit_comment: "Modifica commento",
|
|
413
415
|
delete_comment: "Elimina commento",
|
|
414
416
|
more_actions: "Altre azioni",
|
package/src/i18n/locales/ja.ts
CHANGED
|
@@ -269,7 +269,7 @@ export const ja: Dictionary = {
|
|
|
269
269
|
text_title: "文字色",
|
|
270
270
|
background_title: "背景色",
|
|
271
271
|
colors: {
|
|
272
|
-
default: "
|
|
272
|
+
default: "自動",
|
|
273
273
|
gray: "グレー",
|
|
274
274
|
brown: "茶色",
|
|
275
275
|
red: "赤",
|
|
@@ -424,9 +424,11 @@ export const ja: Dictionary = {
|
|
|
424
424
|
edited: "編集済み",
|
|
425
425
|
save_button_text: "保存",
|
|
426
426
|
cancel_button_text: "キャンセル",
|
|
427
|
+
deleted_reference_text: "元のコンテンツが削除されました",
|
|
427
428
|
actions: {
|
|
428
429
|
add_reaction: "リアクションを追加",
|
|
429
430
|
resolve: "解決",
|
|
431
|
+
reopen: "再開",
|
|
430
432
|
edit_comment: "コメントを編集",
|
|
431
433
|
delete_comment: "コメントを削除",
|
|
432
434
|
more_actions: "その他の操作",
|
package/src/i18n/locales/ko.ts
CHANGED
|
@@ -242,7 +242,7 @@ export const ko: Dictionary = {
|
|
|
242
242
|
text_title: "텍스트",
|
|
243
243
|
background_title: "배경",
|
|
244
244
|
colors: {
|
|
245
|
-
default: "
|
|
245
|
+
default: "자동",
|
|
246
246
|
gray: "회색",
|
|
247
247
|
brown: "갈색",
|
|
248
248
|
red: "빨간색",
|
|
@@ -397,9 +397,11 @@ export const ko: Dictionary = {
|
|
|
397
397
|
edited: "수정됨",
|
|
398
398
|
save_button_text: "저장",
|
|
399
399
|
cancel_button_text: "취소",
|
|
400
|
+
deleted_reference_text: "원본 콘텐츠 삭제됨",
|
|
400
401
|
actions: {
|
|
401
402
|
add_reaction: "반응 추가",
|
|
402
403
|
resolve: "해결",
|
|
404
|
+
reopen: "다시 열기",
|
|
403
405
|
edit_comment: "댓글 수정",
|
|
404
406
|
delete_comment: "댓글 삭제",
|
|
405
407
|
more_actions: "더 많은 작업",
|
package/src/i18n/locales/nl.ts
CHANGED
|
@@ -230,7 +230,7 @@ export const nl: Dictionary = {
|
|
|
230
230
|
text_title: "Tekst",
|
|
231
231
|
background_title: "Achtergrond",
|
|
232
232
|
colors: {
|
|
233
|
-
default: "
|
|
233
|
+
default: "Automatisch",
|
|
234
234
|
gray: "Grijs",
|
|
235
235
|
brown: "Bruin",
|
|
236
236
|
red: "Rood",
|
|
@@ -384,9 +384,11 @@ export const nl: Dictionary = {
|
|
|
384
384
|
edited: "bewerkt",
|
|
385
385
|
save_button_text: "Opslaan",
|
|
386
386
|
cancel_button_text: "Annuleren",
|
|
387
|
+
deleted_reference_text: "Originele inhoud verwijderd",
|
|
387
388
|
actions: {
|
|
388
389
|
add_reaction: "Reactie toevoegen",
|
|
389
390
|
resolve: "Oplossen",
|
|
391
|
+
reopen: "Heropenen",
|
|
390
392
|
edit_comment: "Reactie bewerken",
|
|
391
393
|
delete_comment: "Reactie verwijderen",
|
|
392
394
|
more_actions: "Meer acties",
|
package/src/i18n/locales/no.ts
CHANGED
|
@@ -247,7 +247,7 @@ export const no: Dictionary = {
|
|
|
247
247
|
text_title: "Tekst",
|
|
248
248
|
background_title: "Bakgrunn",
|
|
249
249
|
colors: {
|
|
250
|
-
default: "
|
|
250
|
+
default: "Automatisk",
|
|
251
251
|
gray: "Grå",
|
|
252
252
|
brown: "Brun",
|
|
253
253
|
red: "Rød",
|
|
@@ -401,9 +401,11 @@ export const no: Dictionary = {
|
|
|
401
401
|
edited: "redigert",
|
|
402
402
|
save_button_text: "Lagre",
|
|
403
403
|
cancel_button_text: "Avbryt",
|
|
404
|
+
deleted_reference_text: "Originalt innhold slettet",
|
|
404
405
|
actions: {
|
|
405
406
|
add_reaction: "Legg til reaksjon",
|
|
406
407
|
resolve: "Løs",
|
|
408
|
+
reopen: "Gjenåpne",
|
|
407
409
|
edit_comment: "Rediger kommentar",
|
|
408
410
|
delete_comment: "Slett kommentar",
|
|
409
411
|
more_actions: "Flere handlinger",
|
package/src/i18n/locales/pl.ts
CHANGED
|
@@ -220,7 +220,7 @@ export const pl: Dictionary = {
|
|
|
220
220
|
text_title: "Tekst",
|
|
221
221
|
background_title: "Tło",
|
|
222
222
|
colors: {
|
|
223
|
-
default: "
|
|
223
|
+
default: "Automatyczny",
|
|
224
224
|
gray: "Szary",
|
|
225
225
|
brown: "Brązowy",
|
|
226
226
|
red: "Czerwony",
|
|
@@ -375,9 +375,11 @@ export const pl: Dictionary = {
|
|
|
375
375
|
edited: "edytowany",
|
|
376
376
|
save_button_text: "Zapisz",
|
|
377
377
|
cancel_button_text: "Anuluj",
|
|
378
|
+
deleted_reference_text: "Oryginalna treść usunięta",
|
|
378
379
|
actions: {
|
|
379
380
|
add_reaction: "Dodaj reakcję",
|
|
380
381
|
resolve: "Rozwiąż",
|
|
382
|
+
reopen: "Otwórz ponownie",
|
|
381
383
|
edit_comment: "Edytuj komentarz",
|
|
382
384
|
delete_comment: "Usuń komentarz",
|
|
383
385
|
more_actions: "Więcej akcji",
|
package/src/i18n/locales/pt.ts
CHANGED
|
@@ -221,7 +221,7 @@ export const pt: Dictionary = {
|
|
|
221
221
|
text_title: "Texto",
|
|
222
222
|
background_title: "Fundo",
|
|
223
223
|
colors: {
|
|
224
|
-
default: "
|
|
224
|
+
default: "Automático",
|
|
225
225
|
gray: "Cinza",
|
|
226
226
|
brown: "Marrom",
|
|
227
227
|
red: "Vermelho",
|
|
@@ -376,9 +376,11 @@ export const pt: Dictionary = {
|
|
|
376
376
|
edited: "editado",
|
|
377
377
|
save_button_text: "Salvar",
|
|
378
378
|
cancel_button_text: "Cancelar",
|
|
379
|
+
deleted_reference_text: "Conteúdo original excluído",
|
|
379
380
|
actions: {
|
|
380
381
|
add_reaction: "Adicionar reação",
|
|
381
382
|
resolve: "Resolver",
|
|
383
|
+
reopen: "Reabrir",
|
|
382
384
|
edit_comment: "Editar comentário",
|
|
383
385
|
delete_comment: "Excluir comentário",
|
|
384
386
|
more_actions: "Mais ações",
|