Skip to content

Commit

Permalink
Merge pull request #7 from kwinyyyc/release/v4.1.3
Browse files Browse the repository at this point in the history
ui fixes
  • Loading branch information
kwinyyyc authored May 8, 2022
2 parents 65c4e36 + 4e7e52a commit 674335f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions admin/src/components/ReactMdEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 674335f

Please sign in to comment.