Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 45e129a

Browse files
committed
fix: improve styles for editor/viewer
1 parent 5805194 commit 45e129a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/components/MarkdownEditor/index.jsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ const MarkdownEditor = (props) => {
3333
ref={editorElement}
3434
onChange={onChange}
3535
initialValue={props.value}
36+
toolbarItems={[
37+
'heading',
38+
'bold',
39+
'italic',
40+
'strike',
41+
'code',
42+
'divider',
43+
'quote',
44+
'codeblock',
45+
'hr',
46+
'divider',
47+
'ul',
48+
'ol',
49+
'divider',
50+
'image',
51+
'link',
52+
]}
53+
plugins={[]}
3654
/>
3755
</div>
3856
);

0 commit comments

Comments
 (0)