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:
75
admin/tests/fixtures/lang.json
vendored
75
admin/tests/fixtures/lang.json
vendored
@@ -609,6 +609,81 @@
|
||||
"backend::lang.relation.unlink": {
|
||||
"other": "Odłącz"
|
||||
},
|
||||
"backend::lang.richeditor.bold": {
|
||||
"other": "Pogrubienie"
|
||||
},
|
||||
"backend::lang.richeditor.bullet_list": {
|
||||
"other": "Lista punktowana"
|
||||
},
|
||||
"backend::lang.richeditor.heading": {
|
||||
"other": "Nagłówek"
|
||||
},
|
||||
"backend::lang.richeditor.italic": {
|
||||
"other": "Kursywa"
|
||||
},
|
||||
"backend::lang.richeditor.link": {
|
||||
"other": "Link"
|
||||
},
|
||||
"backend::lang.richeditor.link_apply": {
|
||||
"other": "Zastosuj link"
|
||||
},
|
||||
"backend::lang.richeditor.link_invalid": {
|
||||
"other": "Link musi używać http, https, mailto, tel albo adresu względnego."
|
||||
},
|
||||
"backend::lang.richeditor.link_url": {
|
||||
"other": "Adres linku"
|
||||
},
|
||||
"backend::lang.richeditor.load_failed": {
|
||||
"other": "Nie udało się wczytać edytora. Możesz edytować HTML bezpośrednio."
|
||||
},
|
||||
"backend::lang.richeditor.lossy_note": {
|
||||
"other": "Części formatowania tego tekstu nie da się pokazać w edytorze. Użyj „Edytuj HTML”, aby zmienić tekst bez jej utraty."
|
||||
},
|
||||
"backend::lang.richeditor.markup_changed": {
|
||||
"other": "Filtr HTML zmienił część znaczników."
|
||||
},
|
||||
"backend::lang.richeditor.ordered_list": {
|
||||
"other": "Lista numerowana"
|
||||
},
|
||||
"backend::lang.richeditor.quote": {
|
||||
"other": "Cytat"
|
||||
},
|
||||
"backend::lang.richeditor.redo": {
|
||||
"other": "Ponów"
|
||||
},
|
||||
"backend::lang.richeditor.removed_attributes": {
|
||||
"one": "Usunięto :count atrybut: :names",
|
||||
"few": "Usunięto :count atrybuty: :names",
|
||||
"many": "Usunięto :count atrybutów: :names",
|
||||
"other": "Usunięto :count atrybutu: :names"
|
||||
},
|
||||
"backend::lang.richeditor.removed_comments": {
|
||||
"one": "Usunięto :count komentarz HTML",
|
||||
"few": "Usunięto :count komentarze HTML",
|
||||
"many": "Usunięto :count komentarzy HTML",
|
||||
"other": "Usunięto :count komentarza HTML"
|
||||
},
|
||||
"backend::lang.richeditor.removed_elements": {
|
||||
"one": "Usunięto :count element: :names",
|
||||
"few": "Usunięto :count elementy: :names",
|
||||
"many": "Usunięto :count elementów: :names",
|
||||
"other": "Usunięto :count elementu: :names"
|
||||
},
|
||||
"backend::lang.richeditor.source": {
|
||||
"other": "Edytuj HTML"
|
||||
},
|
||||
"backend::lang.richeditor.toolbar": {
|
||||
"other": "Formatowanie"
|
||||
},
|
||||
"backend::lang.richeditor.underline": {
|
||||
"other": "Podkreślenie"
|
||||
},
|
||||
"backend::lang.richeditor.undo": {
|
||||
"other": "Cofnij"
|
||||
},
|
||||
"backend::lang.richeditor.unlink": {
|
||||
"other": "Usuń link"
|
||||
},
|
||||
"backend::lang.settings.back": {
|
||||
"other": "Wróć do ustawień"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user