stable
Clone or download
Read-only
We should not have to load every supported languages each time we open a page containing a prose-mirror-editor. Instead of using `initGettextSync`, we should use `initGettext`. No functional change. Part of story #38627: Choice of a new Rich Text Editor Change-Id: I096c0c07ca312e07adb304c3bb1a9ea1fc2caac1
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/bold.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/bold.ts | +8 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/bullet-list.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/bullet-list.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/code.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/code.ts | +8 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/image/image-button-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/image/image-button-template.ts | +2 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/image/image-popover-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/image/image-popover-template.ts | +7 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/image/image.ts | +7 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/italic.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/italic.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/link/link-button-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/link/link-button-template.ts | +2 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/link/link-popover-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/link/link-popover-template.ts | +4 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/link/link.ts | +8 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/ordered-list.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/ordered-list.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/quote.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/quote.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/subscript.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/subscript.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/superscript.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/superscript.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/heading-option-template.test.ts | +4 | −4 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/heading-option-template.ts | +8 | −6 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/plain-text-option-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/plain-text-option-template.ts | +2 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/preformatted-text-option-template.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/preformatted-text-option-template.ts | +2 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/styles-option-template.test.ts | +4 | −4 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/styles-option-template.ts | +2 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/text-style.ts | +7 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/unlink.test.ts | +3 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/unlink.ts | +5 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/toolbar-element.ts | +62 | −20 | Go to diff View file |
D | lib/frontend/prose-mirror-editor-toolbar/src/gettext-provider.ts | +0 | −27 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/helpers/helper-for-test.ts | +7 | −0 | Go to diff View file |