feat(17-02): richeditor field on TipTap with the untouched rule
- RichEditorField: Reka toolbar, link popover with the http/https/mailto/tel and relative URL policy, Edit HTML view, lossy note, skeleton while the lazily imported TipTap chunk loads, HTML view fallback when it fails - untouched values are submitted byte-identical; after an edit the value is the editor HTML (empty paragraph -> ""); a value from outside (the save's sanitized answer) reloads the editor - read-only renders through a client display allowlist, never as stored - TipTap 3.31.4 (core, pm, starter-kit) pinned exact after the package check - richeditor.* phrase keys (en, pl), smoke specs, forms docs
This commit is contained in:
@@ -335,6 +335,24 @@ richeditor:
|
||||
one: ":count HTML comment was removed"
|
||||
other: ":count HTML comments were removed"
|
||||
markup_changed: The HTML filter changed some markup.
|
||||
toolbar: Formatting
|
||||
bold: Bold
|
||||
italic: Italic
|
||||
underline: Underline
|
||||
heading: Heading
|
||||
bullet_list: Bullet list
|
||||
ordered_list: Numbered list
|
||||
quote: Quote
|
||||
link: Link
|
||||
unlink: Remove link
|
||||
undo: Undo
|
||||
redo: Redo
|
||||
source: Edit HTML
|
||||
link_url: Link URL
|
||||
link_apply: Apply link
|
||||
link_invalid: Links must use http, https, mailto, tel or a relative URL.
|
||||
lossy_note: Some formatting in this text cannot be shown in the editor. Use “Edit HTML” to change it without losing it.
|
||||
load_failed: The editor could not be loaded. You can edit the HTML directly.
|
||||
repeater:
|
||||
max_items: Remove items until there are at most :max.
|
||||
min_items: Add items until there are at least :min.
|
||||
|
||||
@@ -363,6 +363,24 @@ richeditor:
|
||||
many: "Usunięto :count komentarzy HTML"
|
||||
other: "Usunięto :count komentarza HTML"
|
||||
markup_changed: Filtr HTML zmienił część znaczników.
|
||||
toolbar: Formatowanie
|
||||
bold: Pogrubienie
|
||||
italic: Kursywa
|
||||
underline: Podkreślenie
|
||||
heading: Nagłówek
|
||||
bullet_list: Lista punktowana
|
||||
ordered_list: Lista numerowana
|
||||
quote: Cytat
|
||||
link: Link
|
||||
unlink: Usuń link
|
||||
undo: Cofnij
|
||||
redo: Ponów
|
||||
source: Edytuj HTML
|
||||
link_url: Adres linku
|
||||
link_apply: Zastosuj link
|
||||
link_invalid: Link musi używać http, https, mailto, tel albo adresu względnego.
|
||||
lossy_note: Części formatowania tego tekstu nie da się pokazać w edytorze. Użyj „Edytuj HTML”, aby zmienić tekst bez jej utraty.
|
||||
load_failed: Nie udało się wczytać edytora. Możesz edytować HTML bezpośrednio.
|
||||
repeater:
|
||||
max_items: Usuń pozycje, aby zostało ich najwyżej :max.
|
||||
min_items: Dodaj pozycje, aby było ich co najmniej :min.
|
||||
|
||||
Reference in New Issue
Block a user