diff --git a/client/web/src/components/MarkdownEditor/editor.tsx b/client/web/src/components/MarkdownEditor/editor.tsx index cc149afd..09e51b1c 100644 --- a/client/web/src/components/MarkdownEditor/editor.tsx +++ b/client/web/src/components/MarkdownEditor/editor.tsx @@ -2,6 +2,7 @@ import React from 'react'; import { Editor } from '@bytemd/react'; import { plugins } from './plugins'; import 'bytemd/dist/index.css'; +import './style.less'; interface MarkdownEditorProps { value: string; diff --git a/client/web/src/components/MarkdownEditor/style.less b/client/web/src/components/MarkdownEditor/style.less new file mode 100644 index 00000000..4dd37b42 --- /dev/null +++ b/client/web/src/components/MarkdownEditor/style.less @@ -0,0 +1,4 @@ +.bytemd .bytemd-toolbar-right [bytemd-tippy-path='5'] { + // Hidden github icon + display: none; +}