View as Markdown

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.

MarkdownEditorLocaleText members (40)
NameSignatureDescription
toolbarreadonly toolbar: string;
editorreadonly editor: string;
previewRegionreadonly previewRegion: string;
morereadonly more: string;
boldreadonly bold: string;
italicreadonly italic: string;
strikethroughreadonly strikethrough: string;
superscriptreadonly superscript: string;
subscriptreadonly subscript: string;
uppercasereadonly uppercase: string;
lowercasereadonly lowercase: string;
headingreadonly heading: string;
headingLevelreadonly headingLevel: string;
paragraphreadonly paragraph: string;
blockquotereadonly blockquote: string;
codereadonly code: string;
codeBlockreadonly codeBlock: string;
orderedListreadonly orderedList: string;
unorderedListreadonly unorderedList: string;
linkreadonly link: string;
imagereadonly image: string;
tablereadonly table: string;
undoreadonly undo: string;
redoreadonly redo: string;
previewreadonly preview: string;
fullscreenreadonly fullscreen: string;
linkTextreadonly linkText: string;
linkUrlreadonly linkUrl: string;
imageUrlreadonly imageUrl: string;
imageAltreadonly imageAlt: string;
imageFilereadonly imageFile: string;
uploadingreadonly uploading: string;
uploadFailedreadonly uploadFailed: string;
tableRowsreadonly tableRows: string;
tableColumnsreadonly tableColumns: string;
tableHeaderreadonly tableHeader: string;
insertreadonly insert: string;
cancelreadonly cancel: string;
countNearLimitreadonly countNearLimit: string;
countAtLimitreadonly countAtLimit: string;