md-editor-rt
Version:
Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
40 lines (39 loc) • 712 B
JavaScript
import { createContext as e } from "react";
import { s as t } from "./config.mjs";
const a = {
editorId: "",
tabWidth: 2,
theme: "light",
language: "zh-CN",
highlight: {
css: "",
js: ""
},
showCodeRowNumber: !1,
usedLanguageText: t["zh-CN"],
previewTheme: "default",
customIcon: {},
rootRef: null,
disabled: void 0,
showToolbarName: !1,
setting: {
preview: !1,
htmlPreview: !1,
previewOnly: !1,
pageFullscreen: !1,
fullscreen: !1
},
updateSetting: () => {
},
tableShape: [6, 4],
catalogVisible: !1,
noUploadImg: !1,
noPrettier: !1,
codeTheme: "default",
defToolbars: [],
floatingToolbars: []
}, s = e(a);
export {
s as E,
a as d
};