Created
February 1, 2018 06:50
-
-
Save buildmotion/988c1e2907149dc16debbb76d24cfb57 to your computer and use it in GitHub Desktop.
MarkdownEditorOptions.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as SimpleMDE from 'simplemde'; // MUST NPM INSTALL @types/[email protected] | |
export class MarkdownEditorOptions implements SimpleMDE.Options { | |
autoDownloadFontAwesome?: boolean; | |
autofocus?: boolean; | |
autosave?: SimpleMDE.AutoSaveOptions; | |
blockStyles?: SimpleMDE.BlockStyleOptions; | |
element?: HTMLElement; | |
forceSync?: boolean; | |
hideIcons?: string[]; | |
indentWithTabs?: boolean; | |
initialValue?: string; | |
insertTexts?: SimpleMDE.InsertTextOptions; | |
lineWrapping?: boolean; | |
parsingConfig?: SimpleMDE.ParsingOptions; | |
placeholder?: string; | |
previewRender?: (markdownPlaintext: string, previewElement?: HTMLElement) => string; | |
promptURLs?: boolean; | |
renderingConfig?: SimpleMDE.RenderingOptions; | |
shortcuts?: SimpleMDE.ShortcutsArray; | |
showIcons?: string[]; | |
spellChecker?: boolean; | |
status?: boolean | Array<string | SimpleMDE.StatusBarItem>; | |
styleSelectedText?: boolean; | |
tabSize?: number; | |
toolbar?: boolean | Array<string | SimpleMDE.ToolbarIcon>; | |
toolbarTips?: boolean; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment