#19 ひとまづ表示のみ

このコミットが含まれているのは:
2025-06-08 05:51:03 +09:00
コミット 39dce3a39f
11個のファイルの変更1294行の追加145行の削除
+19
ファイルの表示
@@ -0,0 +1,19 @@
import MdEditor from 'react-markdown-editor-lite'
import 'react-markdown-editor-lite/lib/index.css'
import { marked } from 'marked'
type Props = { value: string
onChange: (text: string) => void
onSave: () => void }
const WikiEditor = ({ value, onChange, onSave }) => (
<div className="wiki-editor">
<MdEditor value={value}
style={{ height: '500px' }}
renderHTML={text => marked (text)} />
<button onClick={onSave}></button>
</div>)
export default WikiEditor