react-markdown-editor-lite
Version:
a light-weight Markdown editor based on React
33 lines (30 loc) • 585 B
text/typescript
import { EditorConfig } from 'src/share/var';
const defaultConfig: EditorConfig = {
theme: 'default',
view: {
menu: true,
md: true,
html: true,
},
canView: {
menu: true,
md: true,
html: true,
fullScreen: true,
hideMenu: true,
},
htmlClass: '',
markdownClass: '',
syncScrollMode: ['rightFollowLeft', 'leftFollowRight'],
imageUrl: '',
imageAccept: '',
linkUrl: '',
table: {
maxRow: 4,
maxCol: 6,
},
allowPasteImage: true,
onImageUpload: undefined,
onCustomImageUpload: undefined,
};
export default defaultConfig;