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

Commit 98354e5

Browse files
committed
feat: hide some features in tuiEditor
ref issue #126
1 parent 99b0add commit 98354e5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/components/MarkdownEditor/index.jsx

+18
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)