Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore(web): bump @usememos/editor to 26.10.14 (#6479)

Johnny42ae2447670f
diff --git a/markdown/markdown.go b/markdown/markdown.go
index 91fa4ae6d..f76d985ca 100644
--- a/markdown/markdown.go
+++ b/markdown/markdown.go
@@ -4,6 +4,7 @@ import (
"bytes"
"cmp"
"net/url"
+ "regexp"
"slices"
"strings"
@@ -291,6 +292,8 @@ func (s *service) GenerateSnippet(content []byte, maxLength int) (string, error)
var buf strings.Builder
var lastNodeWasBlock bool
+ // The first line of a GitHub alert, such as "[!NOTE]", which renders as the callout's title.
+ var alertMarker text.Segment
err = gast.Walk(root, func(n gast.Node, entering bool) (gast.WalkStatus, error) {
if entering {
@@ -298,6 +301,10 @@ func (s *service) GenerateSnippet(content []byte, maxLength int) (string, error)
switch n.Kind() {
case gast.KindCodeBlock, gast.KindFencedCodeBlock:
return gast.WalkSkipChildren, nil
+ case gast.KindBlockquote:
+ if marker, ok := alertMarkerLine(n, content); ok {
+ alertMarker = marker
+ }
default:
// Continue walking for other node types
}
@@ -308,6 +315,7 @@ func (s *service) GenerateSnippet(content []byte, maxLength int) (string, error)
if buf.Len() > 0 && lastNodeWasBlock {
buf.WriteByte(' ')
}
+ lastNodeWasBlock = false
default:
// No space needed for other node types
}
@@ -324,12 +332,22 @@ func (s *service) GenerateSnippet(content []byte, maxLength int) (string, error)
return gast.WalkContinue, nil
}
- lastNodeWasBlock = false
+ // Containers such as quotes and lists write nothing themselves, so the
+ // space before their first block still follows the block before them.
+ textStart := buf.Len()
+ defer func() {
+ if buf.Len() > textStart {
+ lastNodeWasBlock = false
+ }
+ }()
// Extract text from various node types
switch node := n.(type) {
case *gast.Text:
segment := node.Segment
+ if alertMarker.Len() > 0 && segment.Start >= alertMarker.Start && segment.Stop <= alertMarker.Stop {
+ return gast.WalkContinue, nil
+ }
buf.Write(segment.Value(content))
if node.SoftLineBreak() {
buf.WriteByte(' ')
@@ -378,6 +396,22 @@ func (s *service) GenerateSnippet(content []byte, maxLength int) (string, error)
return strings.TrimSpace(snippet), nil
}
+var alertMarkerPattern = regexp.MustCompile(`(?i)^\[!(?:note|tip|important|warning|caution)\]\s*$`)
+
+// alertMarkerLine returns the first line of a blockquote that is a GitHub alert,
+// such as "> [!NOTE]": a known type, alone on the quote's first line.
+func alertMarkerLine(quote gast.Node, source []byte) (text.Segment, bool) {
+ paragraph, ok := quote.FirstChild().(*gast.Paragraph)
+ if !ok || paragraph.Lines().Len() == 0 {
+ return text.Segment{}, false
+ }
+ line := paragraph.Lines().At(0)
+ if !alertMarkerPattern.Match(line.Value(source)) {
+ return text.Segment{}, false
+ }
+ return line, true
+}
+
// ValidateContent checks if the markdown content is valid.
func (s *service) ValidateContent(content []byte) error {
// Try to parse the content
diff --git a/markdown/markdown_test.go b/markdown/markdown_test.go
index f8227ed9e..d34fc2ea4 100644
--- a/markdown/markdown_test.go
+++ b/markdown/markdown_test.go
@@ -127,6 +127,42 @@ func TestGenerateSnippet(t *testing.T) {
maxLength: 100,
expected: "quoted text",
},
+ {
+ name: "blockquote after paragraph",
+ content: "Before\n\n> quoted text\n\n- item",
+ maxLength: 100,
+ expected: "Before quoted text item",
+ },
+ {
+ name: "alert marker omitted",
+ content: "Before\n\n> [!WARNING]\n> Back up first.",
+ maxLength: 100,
+ expected: "Before Back up first.",
+ },
+ {
+ name: "lowercase alert marker omitted",
+ content: "> [!tip] \n> Use a key.",
+ maxLength: 100,
+ expected: "Use a key.",
+ },
+ {
+ name: "marker with text stays a quote",
+ content: "> [!NOTE] text\n> more",
+ maxLength: 100,
+ expected: "[!NOTE] text more",
+ },
+ {
+ name: "marker in code stays a quote",
+ content: "> `[!NOTE]`\n> more",
+ maxLength: 100,
+ expected: "[!NOTE] more",
+ },
+ {
+ name: "unknown alert type stays a quote",
+ content: "> [!FYI]\n> more",
+ maxLength: 100,
+ expected: "[!FYI] more",
+ },
{
name: "table cells spaced",
content: "| a | b |\n|---|---|\n| 1 | 2 |",
diff --git a/web/package.json b/web/package.json
index 900720888..c6d5d31a6 100644
--- a/web/package.json
+++ b/web/package.json
@@ -25,7 +25,7 @@
"@tailwindcss/vite": "^4.2.4",
"@tanstack/react-query": "^5.100.9",
"@tanstack/react-query-devtools": "^5.100.9",
- "@usememos/editor": "26.10.12",
+ "@usememos/editor": "26.10.14",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"copy-to-clipboard": "^4.0.2",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index f790a5b59..eae5afcdb 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -36,8 +36,8 @@ importers:
specifier: ^5.100.9
'@usememos/editor':
- specifier: 26.10.12
+ specifier: 26.10.14
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
@@ -1135,8 +1135,8 @@ packages:
'@upsetjs/[email protected]':
resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}
- '@usememos/[email protected]':
- resolution: {integrity: sha512-ZRaaIOdSW0Y+RG6ooSEYRoG8PC3ob5Vxxzk6NEIsc8xxt0UJZOlezT2mPhplCVqMnH32DOEdPoq6Q4fvQeZKcQ==}
+ '@usememos/[email protected]':
+ resolution: {integrity: sha512-1qKyBq/aS09y9xXDjjOLRugKlqo9q29sW1xVcBLo6nWb29sxGxpHnwR8Br2YvNT/vOZnQ5bTFGHO8ppTq46woQ==}
peerDependencies:
react: '>=18'
react-dom: '>=18'
@@ -3262,7 +3262,7 @@ snapshots:
d3-selection: 3.0.0
d3-transition: 3.0.1([email protected])
optionalDependencies:
react: 19.2.6
react-dom: 19.2.6([email protected])
diff --git a/web/src/components/CalendarView/dayModel.ts b/web/src/components/CalendarView/dayModel.ts
index 3f9e431e7..fad66053d 100644
--- a/web/src/components/CalendarView/dayModel.ts
+++ b/web/src/components/CalendarView/dayModel.ts
@@ -46,13 +46,24 @@ export interface BuildCalendarMonthModelOptions {
isRedacted?: (memo: Memo) => boolean;
}
+// A GitHub alert's first line, such as "[!NOTE]", which the memo shows as the callout's title.
+const ALERT_MARKER = /^\[!(?:note|tip|important|warning|caution)\][ \t]*(?:\n|$)/i;
+
+/** Whether a blockquote is a GitHub alert: its text, not code or a link, starts with the marker line. */
+const isAlert = (node: RootContent): boolean => {
+ const first = node.type === "blockquote" ? node.children[0] : undefined;
+ const lead = first?.type === "paragraph" ? first.children[0] : undefined;
+ return lead?.type === "text" && ALERT_MARKER.test(lead.value);
+};
+
const plainText = (node: RootContent): string => {
if (node.type === "text" || node.type === "inlineCode" || node.type === "code") return node.value;
if (node.type === "break") return "\n";
// Image alt text and link definitions are not a written excerpt. Never render raw HTML.
if (!("children" in node)) return "";
const separator = ["list", "listItem", "blockquote", "table", "tableRow"].includes(node.type) ? "\n" : "";
- return node.children.map((child) => plainText(child as RootContent)).join(separator);
+ const text = node.children.map((child) => plainText(child as RootContent)).join(separator);
+ return isAlert(node) ? text.replace(ALERT_MARKER, "") : text;
};
const getExcerpt = (memo: Memo, tree: Root): CalendarDayExcerpt | undefined => {
diff --git a/web/src/components/MemoEditor/Editor/extensions.ts b/web/src/components/MemoEditor/Editor/extensions.ts
index a303e10d2..f64730a23 100644
--- a/web/src/components/MemoEditor/Editor/extensions.ts
+++ b/web/src/components/MemoEditor/Editor/extensions.ts
@@ -1,4 +1,5 @@
import { type Extension, fileHandler, matchToken, type SuggestionAllowContext, scanTags, suggestion } from "@usememos/editor";
+import { emoji } from "@usememos/editor/emoji";
import { memoExtensions, memoMentionOptions, memoTagOptions } from "@/lib/memo-markdown";
import type { UserSetting_TagsSetting } from "@/types/proto/api/user_service_pb";
import type { EditorPosition } from "../types/editorController";
@@ -14,6 +15,8 @@ export interface EditorExtensionsOptions {
getTagsSetting: () => UserSetting_TagsSetting | undefined;
/** Whether a mentioned username belongs to a user, read when mentions are drawn. */
isMentionResolved: (username: string) => boolean;
+ /** Accessible name of the emoji popup. */
+ emojiLabel: string;
}
/**
@@ -54,7 +57,13 @@ export const allowTagSuggestion = ({ excluded, explicit, query, textBefore }: Su
return !(query === "" && /(^|\n)[ \t]*$/.test(textBefore));
};
-export function buildEditorExtensions({ getTags, onFiles, getTagsSetting, isMentionResolved }: EditorExtensionsOptions): Extension[] {
+export function buildEditorExtensions({
+ getTags,
+ onFiles,
+ getTagsSetting,
+ isMentionResolved,
+ emojiLabel,
+}: EditorExtensionsOptions): Extension[] {
return [
// Tags and mentions look the same as in the memo view.
...memoExtensions({ tags: memoTagOptions(getTagsSetting), mentions: memoMentionOptions(isMentionResolved) }),
@@ -67,6 +76,8 @@ export function buildEditorExtensions({ getTags, onFiles, getTagsSetting, isMent
allow: allowTagSuggestion,
items: ({ query }) => rankTags(getTags(), query).map((tag) => ({ id: tag, label: `#${tag}`, value: tag })),
}),
+ // ":tada" lists emoji by name; a pick writes the emoji itself. The list loads on first use.
+ emoji({ label: emojiLabel }),
// Pasted files join the attachment list (a paste carries no placement
// gesture); dropped files land where they were dropped.
fileHandler({
diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsx
index 759c0cd11..85b542af9 100644
--- a/web/src/components/MemoEditor/Editor/index.tsx
+++ b/web/src/components/MemoEditor/Editor/index.tsx
@@ -107,6 +107,8 @@ const Editor = forwardRef(function Editor(props: EditorProps, ref: React.Forward
onFiles: (files, origin) => onFilesRef.current(files, origin),
getTagsSetting: () => tagsSettingRef.current,
isMentionResolved: (username) => resolvedMentionsRef.current.has(username),
+ // Read once, like the rest: the popup keeps the language the composer opened in.
+ emojiLabel: t("editor.blocks.emoji"),
}),
[],
);
diff --git a/web/src/components/MemoEditor/README.md b/web/src/components/MemoEditor/README.md
index 623f1e71a..db9ccfe67 100644
--- a/web/src/components/MemoEditor/README.md
+++ b/web/src/components/MemoEditor/README.md
@@ -44,7 +44,7 @@ MemoEditor/
│ └── useFocusMode.ts # Scroll lock and layout-stable focus presentation
├── Editor/ # The composer, on @usememos/editor
│ ├── index.tsx # React wrapper around <MarkdownEditor>; hands out the controller
-│ ├── extensions.ts # buildEditorExtensions(): memo syntax, #tag autocomplete, file paste/drop
+│ ├── extensions.ts # buildEditorExtensions(): memo syntax, #tag and :emoji autocomplete, file paste/drop
│ ├── uploadAnchors.ts # Widget rendering for in-flight upload placeholders
│ ├── controller.ts # EditorController over the editor
│ └── editor.css # Composer sizing and upload-anchor styles
@@ -76,11 +76,11 @@ Formatting is the editor's own: its toolbar appears over selected text (bold, it
### Editor extensions
-`lib/memo-markdown.ts` holds what the composer and the memo view share: the memo Markdown dialect (`breaks: true`, `setext: false`); `memoExtensions()` (math rendered with KaTeX loaded on demand, footnotes, `#tags` and `@mentions`, code highlighted with highlight.js, ```` ```mermaid ```` diagrams, and raw HTML through the sanitizer in `lib/sanitized-html.ts`); the URL policy for links and images (`memoResolveUrl`); the theme in the app's CSS variables; the translated UI labels; and the tag and mention collectors. Whatever the editor renders shows its source at the caret while editing.
+`lib/memo-markdown.ts` holds what the composer and the memo view share: the memo Markdown dialect (`breaks: true`, `setext: false`, and the editor's defaults for GitHub alerts as callouts and `<details>` as collapsible sections); `memoExtensions()` (math rendered with KaTeX loaded on demand, footnotes, `#tags` and `@mentions`, code highlighted with highlight.js, ```` ```mermaid ```` diagrams, and raw HTML through the sanitizer in `lib/sanitized-html.ts`); the URL policy for links and images (`memoResolveUrl`); the theme in the app's CSS variables; the translated UI labels; and the tag and mention collectors. Whatever the editor renders shows its source at the caret while editing.
-`Editor/extensions.ts` adds what only the composer needs: the `#tag` autocomplete (`suggestion()` with `matchToken(scanTags)`, so the popup opens exactly where tags are highlighted; not inside code or links, and not for a bare `#` at the start of a line, which may be a heading) with items from `useTagCounts`, and a `fileHandler()`: pasted files join the attachment list, dropped images are inserted inline where they land and other dropped files are attached.
+`Editor/extensions.ts` adds what only the composer needs: the `#tag` autocomplete (`suggestion()` with `matchToken(scanTags)`, so the popup opens exactly where tags are highlighted; not inside code or links, and not for a bare `#` at the start of a line, which may be a heading) with items from `useTagCounts`, `:emoji` autocomplete from `@usememos/editor/emoji` (its list loads the first time the popup opens), and a `fileHandler()`: pasted files join the attachment list, dropped images are inserted inline where they land and other dropped files are attached.
-Keys are the editor's own (see its README): Mod+B/I/E, Mod+Shift+S, Mod+Alt+0–3, Mod+Alt+C, Mod+Shift+7–9, Tab/Shift+Tab, and Mod+Enter / Ctrl+Enter to save. The first Escape selects the caret's block; a second Escape leaves the editor.
+Keys are the editor's own (see its README): Mod+B/I/E, Mod+Shift+S, Mod+Alt+0–4, Mod+Alt+C, Mod+Shift+6 (collapsible section), Mod+Shift+7–9, Tab/Shift+Tab, and Mod+Enter / Ctrl+Enter to save. The first Escape selects the caret's block; a second Escape leaves the editor.
### Tags and mentions
diff --git a/web/src/lib/memo-markdown.ts b/web/src/lib/memo-markdown.ts
index 13b6ec260..74616e205 100644
--- a/web/src/lib/memo-markdown.ts
+++ b/web/src/lib/memo-markdown.ts
@@ -296,11 +296,22 @@ export const memoEditorLabels = (t: ReturnType<typeof useTranslate>): Partial<La
heading1: t("editor.format.heading-1"),
heading2: t("editor.format.heading-2"),
heading3: t("editor.format.heading-3"),
+ heading4: t("editor.format.heading-4"),
bulletList: t("editor.format.bullet-list"),
numberedList: t("editor.format.ordered-list"),
todoList: t("editor.format.task-list"),
task: t("editor.blocks.task"),
quote: t("editor.blocks.quote"),
+ callout: t("editor.blocks.callout"),
+ calloutNote: t("editor.blocks.callout-note"),
+ calloutTip: t("editor.blocks.callout-tip"),
+ calloutImportant: t("editor.blocks.callout-important"),
+ calloutWarning: t("editor.blocks.callout-warning"),
+ calloutCaution: t("editor.blocks.callout-caution"),
+ details: t("editor.blocks.collapsible-section"),
+ detailsHint: t("common.title"),
+ expandSection: t("common.expand"),
+ collapseSection: t("common.collapse"),
code: t("editor.format.code-block"),
table: t("editor.blocks.table"),
divider: t("editor.blocks.divider"),
@@ -319,7 +330,9 @@ export const memoEditorLabels = (t: ReturnType<typeof useTranslate>): Partial<La
list: t("editor.blocks.list-hint"),
linkPlaceholder: t("editor.blocks.link-placeholder"),
removeLink: t("editor.blocks.remove-link"),
- slashHint: t("editor.blocks.slash-hint"),
+ openLink: t("editor.blocks.open-link"),
+ copyLink: t("editor.blocks.copy-link"),
+ editLink: t("editor.blocks.edit-link"),
blockHandle: t("editor.blocks.block-menu"),
listHint: t("editor.blocks.list-hint"),
quoteHint: t("editor.blocks.quote"),
diff --git a/web/src/locales/ar.json b/web/src/locales/ar.json
index 09fc491f5..f80b6d8b5 100644
--- a/web/src/locales/ar.json
+++ b/web/src/locales/ar.json
@@ -185,7 +185,8 @@
"paragraph": "فقرة",
"heading-1": "عنوان 1",
"heading-2": "عنوان 2",
- "heading-3": "عنوان ٣ [١٠١١٩] غامق [١٠١٢٠] مائل [١٠١٢١] مشطوب [١٠١٢٢] كود مضمن [١٠١٢٣] قائمة نقطية [١٠١٢٤] قائمة مرقمة [١٠١٢٥] قائمة مهام [١٠١٢٦] رابط [١٠١٢٧] أدخل عنوان URL [١٠١٢٨] المزيد من التنسيق [١٠١٢٩] إضافة مرفق [١٠١٣٠] تعذر تحميل بعض الصور. أعد المحاولة أو احتفظ بالملفات التي تم تحميلها كمرفقات.",
+ "heading-3": "عنوان 3",
+ "heading-4": "عنوان 4",
"bold": "عريض",
"italic": "مائل",
"strikethrough": "يتوسطه خط",
@@ -210,6 +211,13 @@
"blocks": {
"task": "مهمة",
"quote": "اقتباس",
+ "callout": "مربع تنبيه",
+ "callout-note": "ملاحظة",
+ "callout-tip": "نصيحة",
+ "callout-important": "مهم",
+ "callout-warning": "تحذير",
+ "callout-caution": "حذر",
+ "collapsible-section": "قسم قابل للطي",
"table": "جدول",
"divider": "فاصل",
"no-results": "لا توجد نتائج",
@@ -219,7 +227,10 @@
"inline-code": "كود",
"link-placeholder": "الصق رابطًا أو اكتبه…",
"remove-link": "إزالة الرابط",
- "slash-hint": "اكتب \"/\" لعرض الأوامر",
+ "open-link": "فتح الرابط",
+ "copy-link": "نسخ الرابط",
+ "edit-link": "تعديل الرابط",
+ "emoji": "رموز تعبيرية",
"block-menu": "فتح قائمة الكتلة",
"list-hint": "قائمة",
"plain-text": "نص",
diff --git a/web/src/locales/az.json b/web/src/locales/az.json
index c8aa89851..174da95b6 100644
--- a/web/src/locales/az.json
+++ b/web/src/locales/az.json
@@ -253,6 +253,7 @@
"heading-1": "Başlıq 1",
"heading-2": "Başlıq 2",
"heading-3": "Başlıq 3",
+ "heading-4": "Başlıq 4",
"bold": "Qalın",
"italic": "Kursiv",
"strikethrough": "Üstüxətli",
@@ -307,6 +308,13 @@
"blocks": {
"task": "Tapşırıq",
"quote": "Sitat",
+ "callout": "Diqqət bloku",
+ "callout-note": "Qeyd",
+ "callout-tip": "Məsləhət",
+ "callout-important": "Vacib",
+ "callout-warning": "Xəbərdarlıq",
+ "callout-caution": "Ehtiyat",
+ "collapsible-section": "Yığılan bölmə",
"table": "Cədvəl",
"divider": "Ayırıcı",
"no-results": "Nəticə yoxdur",
@@ -316,7 +324,10 @@
"inline-code": "Kod",
"link-placeholder": "Keçidi yapışdırın və ya yazın…",
"remove-link": "Keçidi sil",
- "slash-hint": "Əmrlər üçün \"/\" yazın",
+ "open-link": "Keçidi aç",
+ "copy-link": "Keçidi kopyala",
+ "edit-link": "Keçidi redaktə et",
+ "emoji": "Emoji",
"block-menu": "Blok menyusunu aç",
"list-hint": "Siyahı",
"plain-text": "mətn",
diff --git a/web/src/locales/bg.json b/web/src/locales/bg.json
index d2f79206c..ee450e87b 100644
--- a/web/src/locales/bg.json
+++ b/web/src/locales/bg.json
@@ -225,6 +225,7 @@
"heading-1": "Заглавие 1",
"heading-2": "Заглавие 2",
"heading-3": "Заглавие 3",
+ "heading-4": "Заглавие 4",
"bold": "Удебелен шрифт",
"italic": "Курсив",
"strikethrough": "Зачеркнато",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Задача",
"quote": "Цитат",
+ "callout": "Акцентиран блок",
+ "callout-note": "Бележка",
+ "callout-tip": "Съвет",
+ "callout-important": "Важно",
+ "callout-warning": "Предупреждение",
+ "callout-caution": "Внимание",
+ "collapsible-section": "Сгъваем раздел",
"table": "Таблица",
"divider": "Разделител",
"no-results": "Няма резултати",
@@ -257,7 +265,10 @@
"inline-code": "Код",
"link-placeholder": "Поставете или въведете връзка…",
"remove-link": "Премахване на връзката",
- "slash-hint": "Въведете „/“ за команди",
+ "open-link": "Отвори връзката",
+ "copy-link": "Копирай връзката",
+ "edit-link": "Редактирай връзката",
+ "emoji": "Емоджи",
"block-menu": "Отваряне на менюто на блока",
"list-hint": "Списък",
"plain-text": "текст",
diff --git a/web/src/locales/ca.json b/web/src/locales/ca.json
index 1431eff21..c470a9579 100644
--- a/web/src/locales/ca.json
+++ b/web/src/locales/ca.json
@@ -187,6 +187,7 @@
"heading-1": "Encapçalament 1",
"heading-2": "Encapçalament 2",
"heading-3": "Encapçalament 3",
+ "heading-4": "Encapçalament 4",
"bold": "Negreta",
"italic": "Cursiva",
"strikethrough": "Ratllat",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tasca",
"quote": "Cita",
+ "callout": "Destacat",
+ "callout-note": "Nota",
+ "callout-tip": "Consell",
+ "callout-important": "Important",
+ "callout-warning": "Advertència",
+ "callout-caution": "Precaució",
+ "collapsible-section": "Secció plegable",
"table": "Taula",
"divider": "Separador",
"no-results": "Cap resultat",
@@ -219,7 +227,10 @@
"inline-code": "Codi",
"link-placeholder": "Enganxa o escriu un enllaç…",
"remove-link": "Elimina l'enllaç",
- "slash-hint": "Escriu «/» per veure les ordres",
+ "open-link": "Obre l'enllaç",
+ "copy-link": "Copia l'enllaç",
+ "edit-link": "Edita l'enllaç",
+ "emoji": "Emoji",
"block-menu": "Obre el menú del bloc",
"list-hint": "Llista",
"plain-text": "text",
diff --git a/web/src/locales/cs.json b/web/src/locales/cs.json
index d7fc623bc..720f8a5b4 100644
--- a/web/src/locales/cs.json
+++ b/web/src/locales/cs.json
@@ -187,6 +187,7 @@
"heading-1": "Nadpis 1",
"heading-2": "Nadpis 2",
"heading-3": "Nadpis 3",
+ "heading-4": "Nadpis 4",
"bold": "Tučné",
"italic": "Kurzíva",
"strikethrough": "Přeškrtnuté",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Úkol",
"quote": "Citace",
+ "callout": "Zvýraznění",
+ "callout-note": "Poznámka",
+ "callout-tip": "Tip",
+ "callout-important": "Důležité",
+ "callout-warning": "Upozornění",
+ "callout-caution": "Výstraha",
+ "collapsible-section": "Sbalitelná sekce",
"table": "Tabulka",
"divider": "Oddělovač",
"no-results": "Žádné výsledky",
@@ -219,7 +227,10 @@
"inline-code": "Kód",
"link-placeholder": "Vložte nebo zadejte odkaz…",
"remove-link": "Odstranit odkaz",
- "slash-hint": "Napište „/“ pro příkazy",
+ "open-link": "Otevřít odkaz",
+ "copy-link": "Kopírovat odkaz",
+ "edit-link": "Upravit odkaz",
+ "emoji": "Emoji",
"block-menu": "Otevřít nabídku bloku",
"list-hint": "Seznam",
"plain-text": "text",
diff --git a/web/src/locales/da.json b/web/src/locales/da.json
index ca8dc4f94..24fbda10f 100644
--- a/web/src/locales/da.json
+++ b/web/src/locales/da.json
@@ -225,6 +225,7 @@
"heading-1": "Overskrift 1",
"heading-2": "Overskrift 2",
"heading-3": "Overskrift 3",
+ "heading-4": "Overskrift 4",
"bold": "Fed",
"italic": "Kursiv",
"strikethrough": "Gennemstreget",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Opgave",
"quote": "Citat",
+ "callout": "Fremhævet boks",
+ "callout-note": "Note",
+ "callout-tip": "Tip",
+ "callout-important": "Vigtigt",
+ "callout-warning": "Advarsel",
+ "callout-caution": "Forsigtig",
+ "collapsible-section": "Sammenfoldelig sektion",
"table": "Tabel",
"divider": "Skillelinje",
"no-results": "Ingen resultater",
@@ -257,7 +265,10 @@
"inline-code": "Kode",
"link-placeholder": "Indsæt eller skriv et link…",
"remove-link": "Fjern link",
- "slash-hint": "Skriv \"/\" for kommandoer",
+ "open-link": "Åbn link",
+ "copy-link": "Kopiér link",
+ "edit-link": "Rediger link",
+ "emoji": "Emoji",
"block-menu": "Åbn blokmenu",
"list-hint": "Liste",
"plain-text": "tekst",
diff --git a/web/src/locales/de.json b/web/src/locales/de.json
index 162e2a3f6..145d17bea 100644
--- a/web/src/locales/de.json
+++ b/web/src/locales/de.json
@@ -187,6 +187,7 @@
"heading-1": "Überschrift 1",
"heading-2": "Überschrift 2",
"heading-3": "Überschrift 3",
+ "heading-4": "Überschrift 4",
"bold": "Fett",
"italic": "Kursiv",
"strikethrough": "Durchgestrichen",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Aufgabe",
"quote": "Zitat",
+ "callout": "Hinweisbox",
+ "callout-note": "Hinweis",
+ "callout-tip": "Tipp",
+ "callout-important": "Wichtig",
+ "callout-warning": "Warnung",
+ "callout-caution": "Vorsicht",
+ "collapsible-section": "Einklappbarer Abschnitt",
"table": "Tabelle",
"divider": "Trennlinie",
"no-results": "Keine Ergebnisse",
@@ -219,7 +227,10 @@
"inline-code": "Code",
"link-placeholder": "Link einfügen oder eingeben…",
"remove-link": "Link entfernen",
- "slash-hint": "„/“ für Befehle eingeben",
+ "open-link": "Link öffnen",
+ "copy-link": "Link kopieren",
+ "edit-link": "Link bearbeiten",
+ "emoji": "Emoji",
"block-menu": "Blockmenü öffnen",
"list-hint": "Liste",
"plain-text": "Text",
diff --git a/web/src/locales/el.json b/web/src/locales/el.json
index 5ae86bf8c..7c332e394 100644
--- a/web/src/locales/el.json
+++ b/web/src/locales/el.json
@@ -225,6 +225,7 @@
"heading-1": "Επικεφαλίδα 1",
"heading-2": "Επικεφαλίδα 2",
"heading-3": "Επικεφαλίδα 3",
+ "heading-4": "Επικεφαλίδα 4",
"bold": "Έντονη γραφή",
"italic": "Πλάγια γραφή",
"strikethrough": "Διακριτή γραφή",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Εργασία",
"quote": "Παράθεση",
+ "callout": "Πλαίσιο επισήμανσης",
+ "callout-note": "Σημείωση",
+ "callout-tip": "Συμβουλή",
+ "callout-important": "Σημαντικό",
+ "callout-warning": "Προειδοποίηση",
+ "callout-caution": "Προσοχή",
+ "collapsible-section": "Πτυσσόμενη ενότητα",
"table": "Πίνακας",
"divider": "Διαχωριστικό",
"no-results": "Κανένα αποτέλεσμα",
@@ -257,7 +265,10 @@
"inline-code": "Κώδικας",
"link-placeholder": "Επικολλήστε ή πληκτρολογήστε έναν σύνδεσμο…",
"remove-link": "Κατάργηση συνδέσμου",
- "slash-hint": "Πληκτρολογήστε «/» για εντολές",
+ "open-link": "Άνοιγμα συνδέσμου",
+ "copy-link": "Αντιγραφή συνδέσμου",
+ "edit-link": "Επεξεργασία συνδέσμου",
+ "emoji": "Emoji",
"block-menu": "Άνοιγμα μενού μπλοκ",
"list-hint": "Λίστα",
"plain-text": "κείμενο",
diff --git a/web/src/locales/en-GB.json b/web/src/locales/en-GB.json
index ebc9e3a1f..ac349e1c9 100644
--- a/web/src/locales/en-GB.json
+++ b/web/src/locales/en-GB.json
@@ -186,6 +186,7 @@
"heading-1": "Heading 1",
"heading-2": "Heading 2",
"heading-3": "Heading 3",
+ "heading-4": "Heading 4",
"bold": "Bold",
"italic": "Italic",
"strikethrough": "Strikethrough",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Task",
"quote": "Quote",
+ "callout": "Callout",
+ "callout-note": "Note",
+ "callout-tip": "Tip",
+ "callout-important": "Important",
+ "callout-warning": "Warning",
+ "callout-caution": "Caution",
+ "collapsible-section": "Collapsible section",
"table": "Table",
"divider": "Divider",
"no-results": "No results",
@@ -219,7 +227,10 @@
"inline-code": "Code",
"link-placeholder": "Paste or type a link…",
"remove-link": "Remove link",
- "slash-hint": "Type '/' for commands",
+ "open-link": "Open link",
+ "copy-link": "Copy link",
+ "edit-link": "Edit link",
+ "emoji": "Emoji",
"block-menu": "Open block menu",
"list-hint": "List",
"plain-text": "text",
diff --git a/web/src/locales/en.json b/web/src/locales/en.json
index 7b2fdaa71..99c7e38e4 100644
--- a/web/src/locales/en.json
+++ b/web/src/locales/en.json
@@ -253,6 +253,7 @@
"heading-1": "Heading 1",
"heading-2": "Heading 2",
"heading-3": "Heading 3",
+ "heading-4": "Heading 4",
"bold": "Bold",
"italic": "Italic",
"strikethrough": "Strikethrough",
@@ -307,6 +308,13 @@
"blocks": {
"task": "Task",
"quote": "Quote",
+ "callout": "Callout",
+ "callout-note": "Note",
+ "callout-tip": "Tip",
+ "callout-important": "Important",
+ "callout-warning": "Warning",
+ "callout-caution": "Caution",
+ "collapsible-section": "Collapsible section",
"table": "Table",
"divider": "Divider",
"no-results": "No results",
@@ -316,7 +324,10 @@
"inline-code": "Code",
"link-placeholder": "Paste or type a link…",
"remove-link": "Remove link",
- "slash-hint": "Type '/' for commands",
+ "open-link": "Open link",
+ "copy-link": "Copy link",
+ "edit-link": "Edit link",
+ "emoji": "Emoji",
"block-menu": "Open block menu",
"list-hint": "List",
"plain-text": "text",
diff --git a/web/src/locales/es.json b/web/src/locales/es.json
index fc97482b8..3a4316ed3 100644
--- a/web/src/locales/es.json
+++ b/web/src/locales/es.json
@@ -187,6 +187,7 @@
"heading-1": "Encabezado 1",
"heading-2": "Encabezado 2",
"heading-3": "Encabezado 3",
+ "heading-4": "Encabezado 4",
"bold": "Negrita",
"italic": "Cursiva",
"strikethrough": "Tachado",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tarea",
"quote": "Cita",
+ "callout": "Destacado",
+ "callout-note": "Nota",
+ "callout-tip": "Consejo",
+ "callout-important": "Importante",
+ "callout-warning": "Advertencia",
+ "callout-caution": "Precaución",
+ "collapsible-section": "Sección plegable",
"table": "Tabla",
"divider": "Separador",
"no-results": "Sin resultados",
@@ -219,7 +227,10 @@
"inline-code": "Código",
"link-placeholder": "Pega o escribe un enlace…",
"remove-link": "Quitar enlace",
- "slash-hint": "Escribe «/» para ver los comandos",
+ "open-link": "Abrir enlace",
+ "copy-link": "Copiar enlace",
+ "edit-link": "Editar enlace",
+ "emoji": "Emoji",
"block-menu": "Abrir menú del bloque",
"list-hint": "Lista",
"plain-text": "texto",
diff --git a/web/src/locales/et.json b/web/src/locales/et.json
index 3f7197993..e9a970373 100644
--- a/web/src/locales/et.json
+++ b/web/src/locales/et.json
@@ -225,6 +225,7 @@
"heading-1": "Pealkiri 1",
"heading-2": "Pealkiri 2",
"heading-3": "Pealkiri 3",
+ "heading-4": "Pealkiri 4",
"bold": "Paks kiri",
"italic": "Kursiiv",
"strikethrough": "Läbikriipsutatud kiri",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Ülesanne",
"quote": "Tsitaat",
+ "callout": "Esiletõste",
+ "callout-note": "Märkus",
+ "callout-tip": "Nõuanne",
+ "callout-important": "Oluline",
+ "callout-warning": "Hoiatus",
+ "callout-caution": "Ettevaatust",
+ "collapsible-section": "Kokkupandav jaotis",
"table": "Tabel",
"divider": "Eraldaja",
"no-results": "Tulemusi pole",
@@ -257,7 +265,10 @@
"inline-code": "Kood",
"link-placeholder": "Kleebi või sisesta link…",
"remove-link": "Eemalda link",
- "slash-hint": "Käskude jaoks sisesta „/“",
+ "open-link": "Ava link",
+ "copy-link": "Kopeeri link",
+ "edit-link": "Muuda linki",
+ "emoji": "Emoji",
"block-menu": "Ava ploki menüü",
"list-hint": "Loend",
"plain-text": "tekst",
diff --git a/web/src/locales/fa.json b/web/src/locales/fa.json
index 317be7365..01ff66d75 100644
--- a/web/src/locales/fa.json
+++ b/web/src/locales/fa.json
@@ -182,11 +182,12 @@
},
"format": {
"code-block": "بلوک کد",
- "link": "پیوست",
+ "link": "پیوند",
"paragraph": "پاراگراف",
"heading-1": "عنوان 1",
"heading-2": "عنوان 2",
- "heading-3": "عنوان ۳ [۱۰۱۱۹] پررنگ [۱۰۱۲۰] کج [۱۰۱۲۱] خط خورده [۱۰۱۲۲] کد درون‌خطی [۱۰۱۲۳] فهرست گلوله‌ای [۱۰۱۲۴] فهرست شماره‌گذاری شده [۱۰۱۲۵] فهرست کارها [۱۰۱۲۶] وارد کردن آدرس اینترنتی [۱۰۱۲۷] قالب‌بندی بیشتر [۱۰۱۲۸] افزودن پیوست [۱۰۱۲۹] برخی از تصاویر قابل آپلود نیستند. فایل‌های آپلود شده را دوباره امتحان کنید یا به عنوان پیوست نگه دارید.",
+ "heading-3": "عنوان 3",
+ "heading-4": "عنوان 4",
"bold": "پررنگ",
"italic": "مورب",
"strikethrough": "خط‌خورده",
@@ -210,6 +211,13 @@
"blocks": {
"task": "کار",
"quote": "نقل‌قول",
+ "callout": "کادر برجسته",
+ "callout-note": "یادداشت",
+ "callout-tip": "نکته",
+ "callout-important": "مهم",
+ "callout-warning": "هشدار",
+ "callout-caution": "احتیاط",
+ "collapsible-section": "بخش جمع‌شونده",
"table": "جدول",
"divider": "جداکننده",
"no-results": "نتیجه‌ای یافت نشد",
@@ -219,7 +227,10 @@
"inline-code": "کد",
"link-placeholder": "پیوندی را بچسبانید یا تایپ کنید…",
"remove-link": "حذف پیوند",
- "slash-hint": "برای فرمان‌ها «/» را تایپ کنید",
+ "open-link": "باز کردن پیوند",
+ "copy-link": "کپی پیوند",
+ "edit-link": "ویرایش پیوند",
+ "emoji": "ایموجی",
"block-menu": "باز کردن منوی بلوک",
"list-hint": "فهرست",
"plain-text": "متن",
diff --git a/web/src/locales/fi.json b/web/src/locales/fi.json
index 13af15535..7cf82e828 100644
--- a/web/src/locales/fi.json
+++ b/web/src/locales/fi.json
@@ -225,6 +225,7 @@
"heading-1": "Otsikko 1",
"heading-2": "Otsikko 2",
"heading-3": "Otsikko 3",
+ "heading-4": "Otsikko 4",
"bold": "Lihavoitu",
"italic": "Kursiivi",
"strikethrough": "Yliviivaus",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Tehtävä",
"quote": "Lainaus",
+ "callout": "Huomiolaatikko",
+ "callout-note": "Huomautus",
+ "callout-tip": "Vinkki",
+ "callout-important": "Tärkeää",
+ "callout-warning": "Varoitus",
+ "callout-caution": "Varo",
+ "collapsible-section": "Kutistettava osio",
"table": "Taulukko",
"divider": "Erotin",
"no-results": "Ei tuloksia",
@@ -257,7 +265,10 @@
"inline-code": "Koodi",
"link-placeholder": "Liitä tai kirjoita linkki…",
"remove-link": "Poista linkki",
- "slash-hint": "Kirjoita ”/” nähdäksesi komennot",
+ "open-link": "Avaa linkki",
+ "copy-link": "Kopioi linkki",
+ "edit-link": "Muokkaa linkkiä",
+ "emoji": "Emoji",
"block-menu": "Avaa lohkovalikko",
"list-hint": "Luettelo",
"plain-text": "teksti",
diff --git a/web/src/locales/fr.json b/web/src/locales/fr.json
index 7c35b7067..2a3eb3e6c 100644
--- a/web/src/locales/fr.json
+++ b/web/src/locales/fr.json
@@ -187,6 +187,7 @@
"heading-1": "Titre 1",
"heading-2": "Titre 2",
"heading-3": "Titre 3",
+ "heading-4": "Titre 4",
"bold": "Gras",
"italic": "Italique",
"strikethrough": "Barré",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tâche",
"quote": "Citation",
+ "callout": "Encadré",
+ "callout-note": "Remarque",
+ "callout-tip": "Astuce",
+ "callout-important": "Important",
+ "callout-warning": "Avertissement",
+ "callout-caution": "Attention",
+ "collapsible-section": "Section repliable",
"table": "Tableau",
"divider": "Séparateur",
"no-results": "Aucun résultat",
@@ -219,7 +227,10 @@
"inline-code": "Code",
"link-placeholder": "Collez ou saisissez un lien…",
"remove-link": "Supprimer le lien",
- "slash-hint": "Tapez « / » pour les commandes",
+ "open-link": "Ouvrir le lien",
+ "copy-link": "Copier le lien",
+ "edit-link": "Modifier le lien",
+ "emoji": "Emoji",
"block-menu": "Ouvrir le menu du bloc",
"list-hint": "Liste",
"plain-text": "texte",
diff --git a/web/src/locales/gl.json b/web/src/locales/gl.json
index 357be269a..3da8b3480 100644
--- a/web/src/locales/gl.json
+++ b/web/src/locales/gl.json
@@ -186,6 +186,7 @@
"heading-1": "Título 1",
"heading-2": "Título 2",
"heading-3": "Título 3",
+ "heading-4": "Título 4",
"bold": "Negriña",
"italic": "Cursiva",
"strikethrough": "Riscado",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tarefa",
"quote": "Cita",
+ "callout": "Destacado",
+ "callout-note": "Nota",
+ "callout-tip": "Consello",
+ "callout-important": "Importante",
+ "callout-warning": "Advertencia",
+ "callout-caution": "Precaución",
+ "collapsible-section": "Sección pregable",
"table": "Táboa",
"divider": "Separador",
"no-results": "Sen resultados",
@@ -219,7 +227,10 @@
"inline-code": "Código",
"link-placeholder": "Pega ou escribe unha ligazón…",
"remove-link": "Quitar ligazón",
- "slash-hint": "Escribe «/» para ver os comandos",
+ "open-link": "Abrir ligazón",
+ "copy-link": "Copiar ligazón",
+ "edit-link": "Editar ligazón",
+ "emoji": "Emoji",
"block-menu": "Abrir o menú do bloque",
"list-hint": "Lista",
"plain-text": "texto",
diff --git a/web/src/locales/he.json b/web/src/locales/he.json
index 79f236e9b..63d299972 100644
--- a/web/src/locales/he.json
+++ b/web/src/locales/he.json
@@ -226,6 +226,7 @@
"heading-1": "כותרת 1",
"heading-2": "כותרת 2",
"heading-3": "כותרת 3",
+ "heading-4": "כותרת 4",
"bold": "מודגש",
"italic": "נטוי",
"strikethrough": "קו חוצה",
@@ -281,6 +282,13 @@
"blocks": {
"task": "משימה",
"quote": "ציטוט",
+ "callout": "תיבת הדגשה",
+ "callout-note": "הערה",
+ "callout-tip": "טיפ",
+ "callout-important": "חשוב",
+ "callout-warning": "אזהרה",
+ "callout-caution": "זהירות",
+ "collapsible-section": "מקטע מתקפל",
"table": "טבלה",
"divider": "קו מפריד",
"no-results": "אין תוצאות",
@@ -290,7 +298,10 @@
"inline-code": "קוד",
"link-placeholder": "הדבק או הקלד קישור…",
"remove-link": "הסר קישור",
- "slash-hint": "הקלד \"/\" לפקודות",
+ "open-link": "פתח קישור",
+ "copy-link": "העתק קישור",
+ "edit-link": "ערוך קישור",
+ "emoji": "אימוג'י",
"block-menu": "פתח תפריט בלוק",
"list-hint": "רשימה",
"plain-text": "טקסט",
diff --git a/web/src/locales/hi.json b/web/src/locales/hi.json
index 39353169e..e6ef22588 100644
--- a/web/src/locales/hi.json
+++ b/web/src/locales/hi.json
@@ -187,6 +187,7 @@
"heading-1": "हेडिंग 1",
"heading-2": "हेडिंग 2",
"heading-3": "हेडिंग 3",
+ "heading-4": "हेडिंग 4",
"bold": "बोल्ड",
"italic": "इटैलिक",
"strikethrough": "स्ट्राइकथ्रू",
@@ -210,6 +211,13 @@
"blocks": {
"task": "टास्क",
"quote": "कोट",
+ "callout": "कॉलआउट",
+ "callout-note": "नोट",
+ "callout-tip": "सुझाव",
+ "callout-important": "महत्वपूर्ण",
+ "callout-warning": "चेतावनी",
+ "callout-caution": "सावधानी",
+ "collapsible-section": "संक्षिप्त करने योग्य अनुभाग",
"table": "टेबल",
"divider": "डिवाइडर",
"no-results": "कोई परिणाम नहीं",
@@ -219,7 +227,10 @@
"inline-code": "कोड",
"link-placeholder": "लिंक पेस्ट करें या टाइप करें…",
"remove-link": "लिंक हटाएँ",
- "slash-hint": "कमांड के लिए '/' टाइप करें",
+ "open-link": "लिंक खोलें",
+ "copy-link": "लिंक कॉपी करें",
+ "edit-link": "लिंक संपादित करें",
+ "emoji": "इमोजी",
"block-menu": "ब्लॉक मेन्यू खोलें",
"list-hint": "लिस्ट",
"plain-text": "टेक्स्ट",
diff --git a/web/src/locales/hr.json b/web/src/locales/hr.json
index fc9c26863..e7afd40b5 100644
--- a/web/src/locales/hr.json
+++ b/web/src/locales/hr.json
@@ -187,6 +187,7 @@
"heading-1": "Naslov 1",
"heading-2": "Naslov 2",
"heading-3": "Naslov 3",
+ "heading-4": "Naslov 4",
"bold": "Podebljano",
"italic": "Kurziv",
"strikethrough": "Precrtano",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Zadatak",
"quote": "Citat",
+ "callout": "Istaknuti okvir",
+ "callout-note": "Napomena",
+ "callout-tip": "Savjet",
+ "callout-important": "Važno",
+ "callout-warning": "Upozorenje",
+ "callout-caution": "Oprez",
+ "collapsible-section": "Sklopivi odjeljak",
"table": "Tablica",
"divider": "Razdjelnik",
"no-results": "Nema rezultata",
@@ -219,7 +227,10 @@
"inline-code": "Kod",
"link-placeholder": "Zalijepi ili upiši link…",
"remove-link": "Ukloni link",
- "slash-hint": "Upiši „/” za naredbe",
+ "open-link": "Otvori link",
+ "copy-link": "Kopiraj link",
+ "edit-link": "Uredi link",
+ "emoji": "Emoji",
"block-menu": "Otvori izbornik bloka",
"list-hint": "Popis",
"plain-text": "tekst",
diff --git a/web/src/locales/hu.json b/web/src/locales/hu.json
index 0b2778f75..ea002ff69 100644
--- a/web/src/locales/hu.json
+++ b/web/src/locales/hu.json
@@ -186,6 +186,7 @@
"heading-1": "1. címsor",
"heading-2": "2. címsor",
"heading-3": "3. címsor",
+ "heading-4": "4. címsor",
"bold": "Félkövér",
"italic": "Dőlt",
"strikethrough": "Áthúzott",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Feladat",
"quote": "Idézet",
+ "callout": "Kiemelés",
+ "callout-note": "Megjegyzés",
+ "callout-tip": "Tipp",
+ "callout-important": "Fontos",
+ "callout-warning": "Figyelmeztetés",
+ "callout-caution": "Vigyázat",
+ "collapsible-section": "Összecsukható szakasz",
"table": "Táblázat",
"divider": "Elválasztó",
"no-results": "Nincs találat",
@@ -219,7 +227,10 @@
"inline-code": "Kód",
"link-placeholder": "Illessz be vagy írj be egy linket…",
"remove-link": "Link eltávolítása",
- "slash-hint": "Írd be a „/” karaktert a parancsokhoz",
+ "open-link": "Link megnyitása",
+ "copy-link": "Link másolása",
+ "edit-link": "Link szerkesztése",
+ "emoji": "Emoji",
"block-menu": "Blokkmenü megnyitása",
"list-hint": "Lista",
"plain-text": "szöveg",
diff --git a/web/src/locales/id.json b/web/src/locales/id.json
index 7b0373da7..1a64b19fa 100644
--- a/web/src/locales/id.json
+++ b/web/src/locales/id.json
@@ -187,6 +187,7 @@
"heading-1": "Judul 1",
"heading-2": "Judul 2",
"heading-3": "Judul 3",
+ "heading-4": "Judul 4",
"bold": "Tebal",
"italic": "Miring",
"strikethrough": "Garis tengah",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tugas",
"quote": "Kutipan",
+ "callout": "Kotak sorotan",
+ "callout-note": "Catatan",
+ "callout-tip": "Tips",
+ "callout-important": "Penting",
+ "callout-warning": "Peringatan",
+ "callout-caution": "Hati-hati",
+ "collapsible-section": "Bagian yang dapat diciutkan",
"table": "Tabel",
"divider": "Pemisah",
"no-results": "Tidak ada hasil",
@@ -219,7 +227,10 @@
"inline-code": "Kode",
"link-placeholder": "Tempel atau ketik tautan…",
"remove-link": "Hapus tautan",
- "slash-hint": "Ketik \"/\" untuk perintah",
+ "open-link": "Buka tautan",
+ "copy-link": "Salin tautan",
+ "edit-link": "Edit tautan",
+ "emoji": "Emoji",
"block-menu": "Buka menu blok",
"list-hint": "Daftar",
"plain-text": "teks",
diff --git a/web/src/locales/it.json b/web/src/locales/it.json
index 02d83c799..c4007ad74 100644
--- a/web/src/locales/it.json
+++ b/web/src/locales/it.json
@@ -187,6 +187,7 @@
"heading-1": "Intestazione 1",
"heading-2": "Intestazione 2",
"heading-3": "Intestazione 3",
+ "heading-4": "Intestazione 4",
"bold": "Grassetto",
"italic": "Corsivo",
"strikethrough": "Barrato",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Attività",
"quote": "Citazione",
+ "callout": "Riquadro",
+ "callout-note": "Nota",
+ "callout-tip": "Suggerimento",
+ "callout-important": "Importante",
+ "callout-warning": "Avviso",
+ "callout-caution": "Attenzione",
+ "collapsible-section": "Sezione comprimibile",
"table": "Tabella",
"divider": "Divisore",
"no-results": "Nessun risultato",
@@ -219,7 +227,10 @@
"inline-code": "Codice",
"link-placeholder": "Incolla o digita un link…",
"remove-link": "Rimuovi link",
- "slash-hint": "Digita \"/\" per i comandi",
+ "open-link": "Apri link",
+ "copy-link": "Copia link",
+ "edit-link": "Modifica link",
+ "emoji": "Emoji",
"block-menu": "Apri il menu del blocco",
"list-hint": "Elenco",
"plain-text": "testo",
diff --git a/web/src/locales/ja.json b/web/src/locales/ja.json
index 6ef18c9bd..f83dfedc2 100644
--- a/web/src/locales/ja.json
+++ b/web/src/locales/ja.json
@@ -185,6 +185,7 @@
"heading-1": "見出し1",
"heading-2": "見出し2",
"heading-3": "見出し3",
+ "heading-4": "見出し4",
"bold": "太字",
"italic": "斜体",
"strikethrough": "取り消し線",
@@ -210,6 +211,13 @@
"blocks": {
"task": "タスク",
"quote": "引用",
+ "callout": "コールアウト",
+ "callout-note": "メモ",
+ "callout-tip": "ヒント",
+ "callout-important": "重要",
+ "callout-warning": "警告",
+ "callout-caution": "注意",
+ "collapsible-section": "折りたたみセクション",
"table": "表",
"divider": "区切り線",
"no-results": "結果がありません",
@@ -219,7 +227,10 @@
"inline-code": "コード",
"link-placeholder": "リンクを貼り付けまたは入力…",
"remove-link": "リンクを削除",
- "slash-hint": "「/」でコマンドを表示",
+ "open-link": "リンクを開く",
+ "copy-link": "リンクをコピー",
+ "edit-link": "リンクを編集",
+ "emoji": "絵文字",
"block-menu": "ブロックメニューを開く",
"list-hint": "リスト",
"plain-text": "テキスト",
diff --git a/web/src/locales/ka-GE.json b/web/src/locales/ka-GE.json
index 11bfb1af7..f88141c77 100644
--- a/web/src/locales/ka-GE.json
+++ b/web/src/locales/ka-GE.json
@@ -187,6 +187,7 @@
"heading-1": "სათაური 1",
"heading-2": "სათაური 2",
"heading-3": "სათაური 3",
+ "heading-4": "სათაური 4",
"bold": "მუქი შრიფტი",
"italic": "დახრილი შრიფტი",
"strikethrough": "გადახაზვა",
@@ -210,6 +211,13 @@
"blocks": {
"task": "დავალება",
"quote": "ციტატა",
+ "callout": "გამოყოფილი ბლოკი",
+ "callout-note": "შენიშვნა",
+ "callout-tip": "რჩევა",
+ "callout-important": "მნიშვნელოვანი",
+ "callout-warning": "გაფრთხილება",
+ "callout-caution": "სიფრთხილე",
+ "collapsible-section": "ჩაკეცვადი სექცია",
"table": "ცხრილი",
"divider": "გამყოფი",
"no-results": "შედეგები არ არის",
@@ -219,7 +227,10 @@
"inline-code": "კოდი",
"link-placeholder": "ჩასვით ან აკრიფეთ ლინკი…",
"remove-link": "ლინკის წაშლა",
- "slash-hint": "ბრძანებებისთვის აკრიფეთ „/“",
+ "open-link": "ლინკის გახსნა",
+ "copy-link": "ლინკის კოპირება",
+ "edit-link": "ლინკის რედაქტირება",
+ "emoji": "ემოჯი",
"block-menu": "ბლოკის მენიუს გახსნა",
"list-hint": "სია",
"plain-text": "ტექსტი",
diff --git a/web/src/locales/ko.json b/web/src/locales/ko.json
index 198a75407..1a368f8de 100644
--- a/web/src/locales/ko.json
+++ b/web/src/locales/ko.json
@@ -187,6 +187,7 @@
"heading-1": "제목 1",
"heading-2": "제목 2",
"heading-3": "제목 3",
+ "heading-4": "제목 4",
"bold": "굵게",
"italic": "기울임꼴",
"strikethrough": "취소선",
@@ -210,6 +211,13 @@
"blocks": {
"task": "할 일",
"quote": "인용",
+ "callout": "콜아웃",
+ "callout-note": "참고",
+ "callout-tip": "팁",
+ "callout-important": "중요",
+ "callout-warning": "경고",
+ "callout-caution": "주의",
+ "collapsible-section": "접을 수 있는 섹션",
"table": "표",
"divider": "구분선",
"no-results": "결과 없음",
@@ -219,7 +227,10 @@
"inline-code": "코드",
"link-placeholder": "링크를 붙여넣거나 입력하세요…",
"remove-link": "링크 제거",
- "slash-hint": "'/'를 입력해 명령어 보기",
+ "open-link": "링크 열기",
+ "copy-link": "링크 복사",
+ "edit-link": "링크 편집",
+ "emoji": "이모지",
"block-menu": "블록 메뉴 열기",
"list-hint": "목록",
"plain-text": "텍스트",
diff --git a/web/src/locales/lt.json b/web/src/locales/lt.json
index 8b7e11516..340474ca4 100644
--- a/web/src/locales/lt.json
+++ b/web/src/locales/lt.json
@@ -225,6 +225,7 @@
"heading-1": "1 antraštė",
"heading-2": "2 antraštė",
"heading-3": "3 antraštė",
+ "heading-4": "4 antraštė",
"bold": "Paryškintas",
"italic": "Kursyvas",
"strikethrough": "Perbrauktas",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Užduotis",
"quote": "Citata",
+ "callout": "Paryškintas blokas",
+ "callout-note": "Pastaba",
+ "callout-tip": "Patarimas",
+ "callout-important": "Svarbu",
+ "callout-warning": "Įspėjimas",
+ "callout-caution": "Atsargiai",
+ "collapsible-section": "Suskleidžiama sekcija",
"table": "Lentelė",
"divider": "Skirtukas",
"no-results": "Rezultatų nėra",
@@ -257,7 +265,10 @@
"inline-code": "Kodas",
"link-placeholder": "Įklijuokite arba įveskite nuorodą…",
"remove-link": "Pašalinti nuorodą",
- "slash-hint": "Įveskite „/“, kad matytumėte komandas",
+ "open-link": "Atidaryti nuorodą",
+ "copy-link": "Kopijuoti nuorodą",
+ "edit-link": "Redaguoti nuorodą",
+ "emoji": "Jaustukai",
"block-menu": "Atidaryti bloko meniu",
"list-hint": "Sąrašas",
"plain-text": "tekstas",
diff --git a/web/src/locales/lv.json b/web/src/locales/lv.json
index 32c5a9039..4cd9eef4e 100644
--- a/web/src/locales/lv.json
+++ b/web/src/locales/lv.json
@@ -225,6 +225,7 @@
"heading-1": "1. virsraksts",
"heading-2": "2. virsraksts",
"heading-3": "3. virsraksts",
+ "heading-4": "4. virsraksts",
"bold": "Treknraksts",
"italic": "Slīpraksts",
"strikethrough": "Pārsvītrojums",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Uzdevums",
"quote": "Citāts",
+ "callout": "Izcēlums",
+ "callout-note": "Piezīme",
+ "callout-tip": "Padoms",
+ "callout-important": "Svarīgi",
+ "callout-warning": "Brīdinājums",
+ "callout-caution": "Uzmanību",
+ "collapsible-section": "Sakļaujama sadaļa",
"table": "Tabula",
"divider": "Atdalītājs",
"no-results": "Nav rezultātu",
@@ -257,7 +265,10 @@
"inline-code": "Kods",
"link-placeholder": "Ielīmējiet vai ierakstiet saiti…",
"remove-link": "Noņemt saiti",
- "slash-hint": "Ierakstiet “/”, lai skatītu komandas",
+ "open-link": "Atvērt saiti",
+ "copy-link": "Kopēt saiti",
+ "edit-link": "Rediģēt saiti",
+ "emoji": "Emocijzīmes",
"block-menu": "Atvērt bloka izvēlni",
"list-hint": "Saraksts",
"plain-text": "teksts",
diff --git a/web/src/locales/mr.json b/web/src/locales/mr.json
index 1317d349a..5ae6467a6 100644
--- a/web/src/locales/mr.json
+++ b/web/src/locales/mr.json
@@ -186,7 +186,8 @@
"paragraph": "परिच्छेद",
"heading-1": "शीर्षक १",
"heading-2": "शीर्षक २",
- "heading-3": "शीर्षक ३ [१०११९] ठळक [१०१२०] तिरपे [१०१२१] रेषा ओढणे [१०१२२] इनलाइन कोड [१०१२३] बुलेट यादी [१०१२४] क्रमांकित यादी [१०१२५] करावयाच्या कामांची यादी [१०१२६] URL प्रविष्ट करा [१०१२७] अधिक फॉरमॅटिंग [१०१२८] संलग्नक जोडा [१०१२९] काही प्रतिमा अपलोड होऊ शकल्या नाहीत. पुन्हा प्रयत्न करा किंवा अपलोड केलेल्या फाईल्स संलग्नक म्हणून ठेवा.",
+ "heading-3": "शीर्षक ३",
+ "heading-4": "शीर्षक ४",
"bold": "ठळक",
"italic": "तिरपे",
"strikethrough": "मध्यरेषांकित",
@@ -210,6 +211,13 @@
"blocks": {
"task": "काम",
"quote": "अवतरण",
+ "callout": "ठळक चौकट",
+ "callout-note": "टीप",
+ "callout-tip": "सूचना",
+ "callout-important": "महत्त्वाचे",
+ "callout-warning": "चेतावणी",
+ "callout-caution": "सावधान",
+ "collapsible-section": "संकुचित करता येणारा विभाग",
"table": "सारणी",
"divider": "विभाजक",
"no-results": "कोणतेही परिणाम नाहीत",
@@ -219,7 +227,10 @@
"inline-code": "कोड",
"link-placeholder": "लिंक पेस्ट करा किंवा टाइप करा…",
"remove-link": "लिंक काढा",
- "slash-hint": "आदेशांसाठी '/' टाइप करा",
+ "open-link": "लिंक उघडा",
+ "copy-link": "लिंक कॉपी करा",
+ "edit-link": "लिंक संपादित करा",
+ "emoji": "इमोजी",
"block-menu": "ब्लॉक मेनू उघडा",
"list-hint": "यादी",
"plain-text": "मजकूर",
diff --git a/web/src/locales/nb.json b/web/src/locales/nb.json
index ec0737462..fff800b8e 100644
--- a/web/src/locales/nb.json
+++ b/web/src/locales/nb.json
@@ -187,6 +187,7 @@
"heading-1": "Overskrift 1",
"heading-2": "Overskrift 2",
"heading-3": "Overskrift 3",
+ "heading-4": "Overskrift 4",
"bold": "Fet",
"italic": "Kursiv",
"strikethrough": "Gjennomstreking",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Gjøremål",
"quote": "Sitat",
+ "callout": "Fremhevet boks",
+ "callout-note": "Merknad",
+ "callout-tip": "Tips",
+ "callout-important": "Viktig",
+ "callout-warning": "Advarsel",
+ "callout-caution": "Forsiktig",
+ "collapsible-section": "Sammenleggbar seksjon",
"table": "Tabell",
"divider": "Skillelinje",
"no-results": "Ingen resultater",
@@ -219,7 +227,10 @@
"inline-code": "Kode",
"link-placeholder": "Lim inn eller skriv en link…",
"remove-link": "Fjern link",
- "slash-hint": "Skriv «/» for kommandoer",
+ "open-link": "Åpne link",
+ "copy-link": "Kopier link",
+ "edit-link": "Rediger link",
+ "emoji": "Emoji",
"block-menu": "Åpne blokkmeny",
"list-hint": "Liste",
"plain-text": "tekst",
diff --git a/web/src/locales/nl.json b/web/src/locales/nl.json
index 3ee23a1ba..bc61223df 100644
--- a/web/src/locales/nl.json
+++ b/web/src/locales/nl.json
@@ -187,6 +187,7 @@
"heading-1": "Koptekst 1",
"heading-2": "Koptekst 2",
"heading-3": "Koptekst 3",
+ "heading-4": "Koptekst 4",
"bold": "Vet",
"italic": "Cursief",
"strikethrough": "Doorhalen",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Taak",
"quote": "Citaat",
+ "callout": "Kader",
+ "callout-note": "Notitie",
+ "callout-tip": "Tip",
+ "callout-important": "Belangrijk",
+ "callout-warning": "Waarschuwing",
+ "callout-caution": "Let op",
+ "collapsible-section": "Inklapbare sectie",
"table": "Tabel",
"divider": "Scheidingslijn",
"no-results": "Geen resultaten",
@@ -219,7 +227,10 @@
"inline-code": "Code",
"link-placeholder": "Plak of typ een link…",
"remove-link": "Link verwijderen",
- "slash-hint": "Typ '/' voor opdrachten",
+ "open-link": "Link openen",
+ "copy-link": "Link kopiëren",
+ "edit-link": "Link bewerken",
+ "emoji": "Emoji",
"block-menu": "Blokmenu openen",
"list-hint": "Lijst",
"plain-text": "tekst",
diff --git a/web/src/locales/nn.json b/web/src/locales/nn.json
index 5f115bdce..6a6781734 100644
--- a/web/src/locales/nn.json
+++ b/web/src/locales/nn.json
@@ -249,6 +249,7 @@
"heading-1": "Overskrift 1",
"heading-2": "Overskrift 2",
"heading-3": "Overskrift 3",
+ "heading-4": "Overskrift 4",
"italic": "Kursiv",
"link": "Lenkje",
"ordered-list": "Nummerert liste",
@@ -286,6 +287,13 @@
"blocks": {
"task": "Gjeremål",
"quote": "Sitat",
+ "callout": "Utheva boks",
+ "callout-note": "Merknad",
+ "callout-tip": "Tips",
+ "callout-important": "Viktig",
+ "callout-warning": "Åtvaring",
+ "callout-caution": "Varsam",
+ "collapsible-section": "Samanleggbar seksjon",
"table": "Tabell",
"divider": "Skiljelinje",
"no-results": "Ingen resultat",
@@ -295,7 +303,10 @@
"inline-code": "Kode",
"link-placeholder": "Lim inn eller skriv ei lenkje…",
"remove-link": "Fjern lenkje",
- "slash-hint": "Skriv «/» for kommandoar",
+ "open-link": "Opne lenkje",
+ "copy-link": "Kopier lenkje",
+ "edit-link": "Rediger lenkje",
+ "emoji": "Emoji",
"block-menu": "Opne blokkmeny",
"list-hint": "Liste",
"plain-text": "tekst",
diff --git a/web/src/locales/pl.json b/web/src/locales/pl.json
index d2d4b21f6..37a7ee7fb 100644
--- a/web/src/locales/pl.json
+++ b/web/src/locales/pl.json
@@ -155,6 +155,7 @@
"heading-1": "Nagłówek 1",
"heading-2": "Nagłówek 2",
"heading-3": "Nagłówek 3",
+ "heading-4": "Nagłówek 4",
"bold": "Pogrubienie",
"italic": "Kursywa",
"bullet-list": "Lista punktowana",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Zadanie",
"quote": "Cytat",
+ "callout": "Wyróżnienie",
+ "callout-note": "Uwaga",
+ "callout-tip": "Wskazówka",
+ "callout-important": "Ważne",
+ "callout-warning": "Ostrzeżenie",
+ "callout-caution": "Przestroga",
+ "collapsible-section": "Zwijana sekcja",
"table": "Tabela",
"divider": "Separator",
"no-results": "Brak wyników",
@@ -219,7 +227,10 @@
"inline-code": "Kod",
"link-placeholder": "Wklej lub wpisz link…",
"remove-link": "Usuń link",
- "slash-hint": "Wpisz „/”, aby wyświetlić polecenia",
+ "open-link": "Otwórz link",
+ "copy-link": "Kopiuj link",
+ "edit-link": "Edytuj link",
+ "emoji": "Emoji",
"block-menu": "Otwórz menu bloku",
"list-hint": "Lista",
"plain-text": "tekst",
diff --git a/web/src/locales/pt-BR.json b/web/src/locales/pt-BR.json
index 5ed7f542b..0c56b8466 100644
--- a/web/src/locales/pt-BR.json
+++ b/web/src/locales/pt-BR.json
@@ -187,6 +187,7 @@
"heading-1": "Título 1",
"heading-2": "Título 2",
"heading-3": "Título 3",
+ "heading-4": "Título 4",
"bold": "Negrito",
"italic": "Itálico",
"strikethrough": "Tachado",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tarefa",
"quote": "Citação",
+ "callout": "Destaque",
+ "callout-note": "Nota",
+ "callout-tip": "Dica",
+ "callout-important": "Importante",
+ "callout-warning": "Aviso",
+ "callout-caution": "Cuidado",
+ "collapsible-section": "Seção recolhível",
"table": "Tabela",
"divider": "Divisor",
"no-results": "Nenhum resultado",
@@ -219,7 +227,10 @@
"inline-code": "Código",
"link-placeholder": "Cole ou digite um link…",
"remove-link": "Remover link",
- "slash-hint": "Digite \"/\" para ver os comandos",
+ "open-link": "Abrir link",
+ "copy-link": "Copiar link",
+ "edit-link": "Editar link",
+ "emoji": "Emoji",
"block-menu": "Abrir menu do bloco",
"list-hint": "Lista",
"plain-text": "texto",
diff --git a/web/src/locales/pt-PT.json b/web/src/locales/pt-PT.json
index 1111d885a..61877f4ed 100644
--- a/web/src/locales/pt-PT.json
+++ b/web/src/locales/pt-PT.json
@@ -187,6 +187,7 @@
"heading-1": "Título 1",
"heading-2": "Título 2",
"heading-3": "Título 3",
+ "heading-4": "Título 4",
"bold": "Negrito",
"italic": "Itálico",
"strikethrough": "Tachado",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Tarefa",
"quote": "Citação",
+ "callout": "Destaque",
+ "callout-note": "Nota",
+ "callout-tip": "Dica",
+ "callout-important": "Importante",
+ "callout-warning": "Aviso",
+ "callout-caution": "Cuidado",
+ "collapsible-section": "Secção recolhível",
"table": "Tabela",
"divider": "Divisor",
"no-results": "Nenhum resultado",
@@ -219,7 +227,10 @@
"inline-code": "Código",
"link-placeholder": "Cole ou escreva um link…",
"remove-link": "Remover link",
- "slash-hint": "Escreva \"/\" para ver os comandos",
+ "open-link": "Abrir link",
+ "copy-link": "Copiar link",
+ "edit-link": "Editar link",
+ "emoji": "Emoji",
"block-menu": "Abrir menu do bloco",
"list-hint": "Lista",
"plain-text": "texto",
diff --git a/web/src/locales/ro.json b/web/src/locales/ro.json
index 7c5417eea..5e6d94a43 100644
--- a/web/src/locales/ro.json
+++ b/web/src/locales/ro.json
@@ -225,6 +225,7 @@
"heading-1": "Titlu 1",
"heading-2": "Titlu 2",
"heading-3": "Titlu 3",
+ "heading-4": "Titlu 4",
"bold": "Aldin",
"italic": "Cursiv",
"strikethrough": "Tăiat cu o linie",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Sarcină",
"quote": "Citat",
+ "callout": "Casetă evidențiată",
+ "callout-note": "Notă",
+ "callout-tip": "Sfat",
+ "callout-important": "Important",
+ "callout-warning": "Avertisment",
+ "callout-caution": "Atenție",
+ "collapsible-section": "Secțiune pliabilă",
"table": "Tabel",
"divider": "Separator",
"no-results": "Niciun rezultat",
@@ -257,7 +265,10 @@
"inline-code": "Cod",
"link-placeholder": "Lipește sau tastează un link…",
"remove-link": "Elimină linkul",
- "slash-hint": "Tastează „/” pentru comenzi",
+ "open-link": "Deschide linkul",
+ "copy-link": "Copiază linkul",
+ "edit-link": "Editează linkul",
+ "emoji": "Emoji",
"block-menu": "Deschide meniul blocului",
"list-hint": "Listă",
"plain-text": "text",
diff --git a/web/src/locales/ru.json b/web/src/locales/ru.json
index 034b29703..caa6e24a8 100644
--- a/web/src/locales/ru.json
+++ b/web/src/locales/ru.json
@@ -185,6 +185,7 @@
"heading-1": "Заголовок 1",
"heading-2": "Заголовок 2",
"heading-3": "Заголовок 3",
+ "heading-4": "Заголовок 4",
"bold": "Полужирный",
"italic": "Курсив",
"strikethrough": "Зачёркнутый",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Задача",
"quote": "Цитата",
+ "callout": "Выноска",
+ "callout-note": "Примечание",
+ "callout-tip": "Совет",
+ "callout-important": "Важно",
+ "callout-warning": "Предупреждение",
+ "callout-caution": "Осторожно",
+ "collapsible-section": "Сворачиваемый раздел",
"table": "Таблица",
"divider": "Разделитель",
"no-results": "Ничего не найдено",
@@ -219,7 +227,10 @@
"inline-code": "Код",
"link-placeholder": "Вставьте или введите ссылку…",
"remove-link": "Удалить ссылку",
- "slash-hint": "Введите «/» для вызова команд",
+ "open-link": "Открыть ссылку",
+ "copy-link": "Копировать ссылку",
+ "edit-link": "Изменить ссылку",
+ "emoji": "Эмодзи",
"block-menu": "Открыть меню блока",
"list-hint": "Список",
"plain-text": "текст",
diff --git a/web/src/locales/sk.json b/web/src/locales/sk.json
index 93976402f..aa5b7414c 100644
--- a/web/src/locales/sk.json
+++ b/web/src/locales/sk.json
@@ -225,6 +225,7 @@
"heading-1": "Nadpis 1",
"heading-2": "Nadpis 2",
"heading-3": "Nadpis 3",
+ "heading-4": "Nadpis 4",
"bold": "Tučné písmo",
"italic": "Kurzíva",
"strikethrough": "Prečiarknuté",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Úloha",
"quote": "Citácia",
+ "callout": "Zvýraznenie",
+ "callout-note": "Poznámka",
+ "callout-tip": "Tip",
+ "callout-important": "Dôležité",
+ "callout-warning": "Upozornenie",
+ "callout-caution": "Výstraha",
+ "collapsible-section": "Zbaliteľná sekcia",
"table": "Tabuľka",
"divider": "Oddeľovač",
"no-results": "Žiadne výsledky",
@@ -257,7 +265,10 @@
"inline-code": "Kód",
"link-placeholder": "Vložte alebo zadajte odkaz…",
"remove-link": "Odstrániť odkaz",
- "slash-hint": "Napíšte „/“ pre príkazy",
+ "open-link": "Otvoriť odkaz",
+ "copy-link": "Kopírovať odkaz",
+ "edit-link": "Upraviť odkaz",
+ "emoji": "Emoji",
"block-menu": "Otvoriť ponuku bloku",
"list-hint": "Zoznam",
"plain-text": "text",
diff --git a/web/src/locales/sl.json b/web/src/locales/sl.json
index 84714acc5..9200338a8 100644
--- a/web/src/locales/sl.json
+++ b/web/src/locales/sl.json
@@ -187,6 +187,7 @@
"heading-1": "Naslov 1",
"heading-2": "Naslov 2",
"heading-3": "Naslov 3",
+ "heading-4": "Naslov 4",
"bold": "Krepko",
"italic": "Ležeče",
"strikethrough": "Prečrtano",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Opravilo",
"quote": "Citat",
+ "callout": "Poudarjeni okvir",
+ "callout-note": "Opomba",
+ "callout-tip": "Nasvet",
+ "callout-important": "Pomembno",
+ "callout-warning": "Opozorilo",
+ "callout-caution": "Previdno",
+ "collapsible-section": "Zložljiv razdelek",
"table": "Tabela",
"divider": "Ločilo",
"no-results": "Ni rezultatov",
@@ -219,7 +227,10 @@
"inline-code": "Koda",
"link-placeholder": "Prilepi ali vnesi povezavo…",
"remove-link": "Odstrani povezavo",
- "slash-hint": "Vnesi »/« za ukaze",
+ "open-link": "Odpri povezavo",
+ "copy-link": "Kopiraj povezavo",
+ "edit-link": "Uredi povezavo",
+ "emoji": "Emoji",
"block-menu": "Odpri meni bloka",
"list-hint": "Seznam",
"plain-text": "besedilo",
diff --git a/web/src/locales/sr.json b/web/src/locales/sr.json
index e6ee37df2..aff802b33 100644
--- a/web/src/locales/sr.json
+++ b/web/src/locales/sr.json
@@ -225,6 +225,7 @@
"heading-1": "Наслов 1",
"heading-2": "Наслов 2",
"heading-3": "Наслов 3",
+ "heading-4": "Наслов 4",
"bold": "Подебљано",
"italic": "Курзив",
"strikethrough": "Прецртано",
@@ -248,6 +249,13 @@
"blocks": {
"task": "Задатак",
"quote": "Цитат",
+ "callout": "Истакнути оквир",
+ "callout-note": "Напомена",
+ "callout-tip": "Савет",
+ "callout-important": "Важно",
+ "callout-warning": "Упозорење",
+ "callout-caution": "Опрез",
+ "collapsible-section": "Склопиви одељак",
"table": "Табела",
"divider": "Разделник",
"no-results": "Нема резултата",
@@ -257,7 +265,10 @@
"inline-code": "Код",
"link-placeholder": "Налепите или унесите линк…",
"remove-link": "Уклони линк",
- "slash-hint": "Унесите „/“ за команде",
+ "open-link": "Отвори линк",
+ "copy-link": "Копирај линк",
+ "edit-link": "Уреди линк",
+ "emoji": "Емоџи",
"block-menu": "Отвори мени блока",
"list-hint": "Листа",
"plain-text": "текст",
diff --git a/web/src/locales/sv.json b/web/src/locales/sv.json
index 116b6b49f..a68b05fbc 100644
--- a/web/src/locales/sv.json
+++ b/web/src/locales/sv.json
@@ -187,6 +187,7 @@
"heading-1": "Rubrik 1",
"heading-2": "Rubrik 2",
"heading-3": "Rubrik 3",
+ "heading-4": "Rubrik 4",
"bold": "Fet",
"italic": "Kursiv stil",
"strikethrough": "Genomstruken",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Uppgift",
"quote": "Citat",
+ "callout": "Faktaruta",
+ "callout-note": "Notering",
+ "callout-tip": "Tips",
+ "callout-important": "Viktigt",
+ "callout-warning": "Varning",
+ "callout-caution": "Försiktighet",
+ "collapsible-section": "Hopfällbart avsnitt",
"table": "Tabell",
"divider": "Avdelare",
"no-results": "Inga resultat",
@@ -219,7 +227,10 @@
"inline-code": "Kod",
"link-placeholder": "Klistra in eller skriv en länk…",
"remove-link": "Ta bort länk",
- "slash-hint": "Skriv ”/” för kommandon",
+ "open-link": "Öppna länk",
+ "copy-link": "Kopiera länk",
+ "edit-link": "Redigera länk",
+ "emoji": "Emoji",
"block-menu": "Öppna blockmeny",
"list-hint": "Lista",
"plain-text": "text",
diff --git a/web/src/locales/th.json b/web/src/locales/th.json
index 9c5afc252..770120912 100644
--- a/web/src/locales/th.json
+++ b/web/src/locales/th.json
@@ -187,6 +187,7 @@
"heading-1": "หัวข้อ 1",
"heading-2": "หัวข้อ 2",
"heading-3": "หัวข้อ 3",
+ "heading-4": "หัวข้อ 4",
"bold": "ตัวหนา",
"italic": "ตัวเอียง",
"strikethrough": "ขีดฆ่า",
@@ -210,6 +211,13 @@
"blocks": {
"task": "งาน",
"quote": "คำพูดอ้างอิง",
+ "callout": "กล่องเน้นข้อความ",
+ "callout-note": "หมายเหตุ",
+ "callout-tip": "เคล็ดลับ",
+ "callout-important": "สำคัญ",
+ "callout-warning": "คำเตือน",
+ "callout-caution": "ข้อควรระวัง",
+ "collapsible-section": "ส่วนที่ยุบได้",
"table": "ตาราง",
"divider": "เส้นคั่น",
"no-results": "ไม่พบผลลัพธ์",
@@ -219,7 +227,10 @@
"inline-code": "โค้ด",
"link-placeholder": "วางหรือพิมพ์ลิงก์…",
"remove-link": "ลบลิงก์",
- "slash-hint": "พิมพ์ \"/\" เพื่อดูคำสั่ง",
+ "open-link": "เปิดลิงก์",
+ "copy-link": "คัดลอกลิงก์",
+ "edit-link": "แก้ไขลิงก์",
+ "emoji": "อีโมจิ",
"block-menu": "เปิดเมนูบล็อก",
"list-hint": "รายการ",
"plain-text": "ข้อความ",
diff --git a/web/src/locales/tr.json b/web/src/locales/tr.json
index 32b6184d0..3a928d51a 100644
--- a/web/src/locales/tr.json
+++ b/web/src/locales/tr.json
@@ -182,6 +182,7 @@
"heading-1": "Başlık 1",
"heading-2": "Başlık 2",
"heading-3": "Başlık 3",
+ "heading-4": "Başlık 4",
"bold": "Kalın",
"italic": "İtalik",
"strikethrough": "Üstü çizili",
@@ -236,6 +237,13 @@
"blocks": {
"task": "Görev",
"quote": "Alıntı",
+ "callout": "Vurgu kutusu",
+ "callout-note": "Not",
+ "callout-tip": "İpucu",
+ "callout-important": "Önemli",
+ "callout-warning": "Uyarı",
+ "callout-caution": "Dikkat",
+ "collapsible-section": "Daraltılabilir bölüm",
"table": "Tablo",
"divider": "Ayırıcı",
"no-results": "Sonuç yok",
@@ -245,7 +253,10 @@
"inline-code": "Kod",
"link-placeholder": "Bağlantı yapıştırın veya yazın…",
"remove-link": "Bağlantıyı kaldır",
- "slash-hint": "Komutlar için \"/\" yazın",
+ "open-link": "Bağlantıyı aç",
+ "copy-link": "Bağlantıyı kopyala",
+ "edit-link": "Bağlantıyı düzenle",
+ "emoji": "Emoji",
"block-menu": "Blok menüsünü aç",
"list-hint": "Liste",
"plain-text": "metin",
diff --git a/web/src/locales/uk.json b/web/src/locales/uk.json
index 8c423cd26..d7c9d6010 100644
--- a/web/src/locales/uk.json
+++ b/web/src/locales/uk.json
@@ -187,6 +187,7 @@
"heading-1": "Заголовок 1",
"heading-2": "Заголовок 2",
"heading-3": "Заголовок 3",
+ "heading-4": "Заголовок 4",
"bold": "Жирний шрифт",
"italic": "Курсив",
"strikethrough": "Закреслений текст",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Завдання",
"quote": "Цитата",
+ "callout": "Виноска",
+ "callout-note": "Примітка",
+ "callout-tip": "Порада",
+ "callout-important": "Важливо",
+ "callout-warning": "Попередження",
+ "callout-caution": "Обережно",
+ "collapsible-section": "Згортуваний розділ",
"table": "Таблиця",
"divider": "Роздільник",
"no-results": "Нічого не знайдено",
@@ -219,7 +227,10 @@
"inline-code": "Код",
"link-placeholder": "Вставте або введіть посилання…",
"remove-link": "Видалити посилання",
- "slash-hint": "Введіть «/» для виклику команд",
+ "open-link": "Відкрити посилання",
+ "copy-link": "Копіювати посилання",
+ "edit-link": "Редагувати посилання",
+ "emoji": "Емодзі",
"block-menu": "Відкрити меню блоку",
"list-hint": "Список",
"plain-text": "текст",
diff --git a/web/src/locales/vi.json b/web/src/locales/vi.json
index 1e9e54088..299e0db40 100644
--- a/web/src/locales/vi.json
+++ b/web/src/locales/vi.json
@@ -187,6 +187,7 @@
"heading-1": "Tiêu đề 1",
"heading-2": "Tiêu đề 2",
"heading-3": "Tiêu đề 3",
+ "heading-4": "Tiêu đề 4",
"bold": "Chữ đậm",
"italic": "Chữ nghiêng",
"strikethrough": "Gạch ngang",
@@ -210,6 +211,13 @@
"blocks": {
"task": "Việc cần làm",
"quote": "Trích dẫn",
+ "callout": "Khối chú thích",
+ "callout-note": "Ghi chú",
+ "callout-tip": "Mẹo",
+ "callout-important": "Quan trọng",
+ "callout-warning": "Cảnh báo",
+ "callout-caution": "Thận trọng",
+ "collapsible-section": "Phần thu gọn được",
"table": "Bảng",
"divider": "Đường phân cách",
"no-results": "Không có kết quả",
@@ -219,7 +227,10 @@
"inline-code": "Mã",
"link-placeholder": "Dán hoặc nhập liên kết…",
"remove-link": "Xóa liên kết",
- "slash-hint": "Nhập \"/\" để xem lệnh",
+ "open-link": "Mở liên kết",
+ "copy-link": "Sao chép liên kết",
+ "edit-link": "Chỉnh sửa liên kết",
+ "emoji": "Biểu tượng cảm xúc",
"block-menu": "Mở menu khối",
"list-hint": "Danh sách",
"plain-text": "văn bản",
diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json
index 905f35e52..f20b7191a 100644
--- a/web/src/locales/zh-Hans.json
+++ b/web/src/locales/zh-Hans.json
@@ -186,6 +186,7 @@
"heading-1": "一级标题",
"heading-2": "二级标题",
"heading-3": "三级标题",
+ "heading-4": "四级标题",
"bold": "粗体",
"italic": "斜体",
"strikethrough": "删除线",
@@ -241,6 +242,13 @@
"blocks": {
"task": "任务",
"quote": "引用",
+ "callout": "标注",
+ "callout-note": "备注",
+ "callout-tip": "提示",
+ "callout-important": "重要",
+ "callout-warning": "警告",
+ "callout-caution": "注意",
+ "collapsible-section": "折叠区块",
"table": "表格",
"divider": "分割线",
"no-results": "无结果",
@@ -250,7 +258,10 @@
"inline-code": "代码",
"link-placeholder": "粘贴或输入链接…",
"remove-link": "移除链接",
- "slash-hint": "输入“/”调出命令",
+ "open-link": "打开链接",
+ "copy-link": "复制链接",
+ "edit-link": "编辑链接",
+ "emoji": "表情符号",
"block-menu": "打开块菜单",
"list-hint": "列表",
"plain-text": "文本",
diff --git a/web/src/locales/zh-Hant.json b/web/src/locales/zh-Hant.json
index 049b459f3..7c4a998ee 100644
--- a/web/src/locales/zh-Hant.json
+++ b/web/src/locales/zh-Hant.json
@@ -234,6 +234,7 @@
"heading-1": "標題 1",
"heading-2": "標題 2",
"heading-3": "標題 3",
+ "heading-4": "標題 4",
"bold": "粗體",
"italic": "斜體",
"strikethrough": "刪除線",
@@ -289,6 +290,13 @@
"blocks": {
"task": "任務",
"quote": "引用",
+ "callout": "標註",
+ "callout-note": "備註",
+ "callout-tip": "提示",
+ "callout-important": "重要",
+ "callout-warning": "警告",
+ "callout-caution": "注意",
+ "collapsible-section": "摺疊區塊",
"table": "表格",
"divider": "分隔線",
"no-results": "沒有結果",
@@ -298,7 +306,10 @@
"inline-code": "程式碼",
"link-placeholder": "貼上或輸入連結…",
"remove-link": "移除連結",
- "slash-hint": "輸入「/」叫出指令",
+ "open-link": "開啟連結",
+ "copy-link": "複製連結",
+ "edit-link": "編輯連結",
+ "emoji": "表情符號",
"block-menu": "開啟區塊選單",
"list-hint": "清單",
"plain-text": "文字",
diff --git a/web/tests/calendar-day-model.test.ts b/web/tests/calendar-day-model.test.ts
index bea2ef5e5..712ba00fd 100644
--- a/web/tests/calendar-day-model.test.ts
+++ b/web/tests/calendar-day-model.test.ts
@@ -51,6 +51,12 @@ describe("calendar day snapshots", () => {
expect(day([memoAt(9, { content: "- [x] Ship release\n- [ ] Write notes" })]).excerpt?.text).toBe("Ship release\nWrite notes");
});
+ it("reads a callout without its type marker, as the memo shows it", () => {
+ expect(day([memoAt(9, { content: "> [!WARNING]\n> Back up first." })]).excerpt?.text).toBe("Back up first.");
+ expect(day([memoAt(9, { content: "> [!NOTE] inline\n> text" })]).excerpt?.text).toBe("[!NOTE] inline\ntext");
+ expect(day([memoAt(9, { content: "> `[!NOTE]`\n> text" })]).excerpt?.text).toBe("[!NOTE]\ntext");
+ });
+
it("skips empty and image-only memos when choosing text and keeps photos from distinct memos", () => {
const summary = day([
memoAt(8),
diff --git a/web/tests/memo-content.test.tsx b/web/tests/memo-content.test.tsx
index ae5f24ce6..5956e0c33 100644
--- a/web/tests/memo-content.test.tsx
+++ b/web/tests/memo-content.test.tsx
@@ -164,6 +164,26 @@ describe("raw HTML", () => {
});
});
+describe("callouts and collapsible sections", () => {
+ it("shows a GitHub alert as a callout under its type title", () => {
+ const { container } = renderMemo("> [!WARNING]\n> Back up first.");
+ const callout = container.querySelector('blockquote[data-callout="warning"]');
+ expect(callout).toHaveTextContent("Back up first.");
+ expect(callout).not.toHaveTextContent("[!WARNING]");
+ expect(callout?.querySelector(".mbe-callout-title")).toHaveTextContent("Warning");
+ });
+
+ it("renders footnotes, quotes and code inside a collapsible section", () => {
+ const { container } = renderMemo(
+ "<details><summary>Test</summary>\n\n> **Tip** Test[^1]\n\n```\nSome code here\n```\n\n</details>\n\n[^1]: very important",
+ );
+ expect(container.querySelector(".mbe-details")).toHaveTextContent("Test");
+ expect(container.querySelector("blockquote .mbe-footnote-ref")).toHaveTextContent("1");
+ expect(container.querySelector(".mbe-code code")).toHaveTextContent("Some code here");
+ expect(container).not.toHaveTextContent("<details>");
+ });
+});
+
describe("math", () => {
it("renders formulas with KaTeX once it loads", async () => {
const { container } = renderMemo("$L$ and\n\n$$\nx + y\n$$");