Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui fixes #7

Merged
merged 1 commit into from
May 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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