API reference: @salmonui/editors/markdown-editor
MarkdownEditorLocaleTextinterface
import type { MarkdownEditorLocaleText } from '@salmonui/editors/markdown-editor';interface MarkdownEditorLocaleText {
readonly toolbar: string;
readonly editor: string;
readonly previewRegion: string;
readonly more: string;
readonly bold: string;
readonly italic: string;
readonly strikethrough: string;
readonly superscript: string;
readonly subscript: string;
readonly uppercase: string;
readonly lowercase: string;
readonly heading: string;
readonly headingLevel: string;
readonly paragraph: string;
readonly blockquote: string;
readonly code: string;
readonly codeBlock: string;
readonly orderedList: string;
readonly unorderedList: string;
readonly link: string;
readonly image: string;
readonly table: string;
readonly undo: string;
readonly redo: string;
readonly preview: string;
readonly fullscreen: string;
readonly linkText: string;
readonly linkUrl: string;
readonly imageUrl: string;
readonly imageAlt: string;
readonly imageFile: string;
readonly uploading: string;
readonly uploadFailed: string;
readonly tableRows: string;
readonly tableColumns: string;
readonly tableHeader: string;
readonly insert: string;
readonly cancel: string;
readonly countNearLimit: string;
readonly countAtLimit: string;
}
Text of the toolbar, dialogs and count. {0} is the heading level or column number.
| Name | Signature | Description |
|---|---|---|
toolbar | readonly toolbar: string; | |
editor | readonly editor: string; | |
previewRegion | readonly previewRegion: string; | |
more | readonly more: string; | |
bold | readonly bold: string; | |
italic | readonly italic: string; | |
strikethrough | readonly strikethrough: string; | |
superscript | readonly superscript: string; | |
subscript | readonly subscript: string; | |
uppercase | readonly uppercase: string; | |
lowercase | readonly lowercase: string; | |
heading | readonly heading: string; | |
headingLevel | readonly headingLevel: string; | |
paragraph | readonly paragraph: string; | |
blockquote | readonly blockquote: string; | |
code | readonly code: string; | |
codeBlock | readonly codeBlock: string; | |
orderedList | readonly orderedList: string; | |
unorderedList | readonly unorderedList: string; | |
link | readonly link: string; | |
image | readonly image: string; | |
table | readonly table: string; | |
undo | readonly undo: string; | |
redo | readonly redo: string; | |
preview | readonly preview: string; | |
fullscreen | readonly fullscreen: string; | |
linkText | readonly linkText: string; | |
linkUrl | readonly linkUrl: string; | |
imageUrl | readonly imageUrl: string; | |
imageAlt | readonly imageAlt: string; | |
imageFile | readonly imageFile: string; | |
uploading | readonly uploading: string; | |
uploadFailed | readonly uploadFailed: string; | |
tableRows | readonly tableRows: string; | |
tableColumns | readonly tableColumns: string; | |
tableHeader | readonly tableHeader: string; | |
insert | readonly insert: string; | |
cancel | readonly cancel: string; | |
countNearLimit | readonly countNearLimit: string; | |
countAtLimit | readonly countAtLimit: string; |