diff --git a/admin/src/components/ReactMdEditor/index.js b/admin/src/components/ReactMdEditor/index.js index 15a8fcb..ccf7317 100644 --- a/admin/src/components/ReactMdEditor/index.js +++ b/admin/src/components/ReactMdEditor/index.js @@ -7,7 +7,20 @@ import "@uiw/react-markdown-preview/dist/markdown.css"; import "@uiw/react-md-editor/dist/markdown-editor.css"; const Wrapper = styled.div` + > div:nth-child(2) { + display: none; + } + .w-md-editor-bar { + display: none; + } .w-md-editor { + border: 1px solid #dcdce4; + border-radius: 4px; + box-shadow: none; + &:focus-within { + border: 1px solid #4945ff; + box-shadow: #4945ff 0px 0px 0px 2px; + } min-height: 400px; display: flex; flex-direction: column; diff --git a/package.json b/package.json index fa4a701..4e189c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strapi-plugin-wysiwsg-react-md-editor", - "version": "4.1.2", + "version": "4.1.3", "description": "This is a strapi rich text editor plugin using react md editor.", "strapi": { "name": "wysiwsg-react-md-editor",