Skip to content

Commit a0ec7b1

Browse files
fix(docs): when trying to change the font of the md editor, style conflicts occurs and messes up the cursor position (#601)
1 parent 8b25868 commit a0ec7b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ export default function App() {
511511
[![#425](https://img.shields.io/github/issues/detail/state/uiwjs/react-md-editor/425)](https://github.com/uiwjs/react-md-editor/issues/425#issuecomment-1209514536)
512512

513513
```css
514-
.w-md-editor-text-pre > code,
515-
.w-md-editor-text-input {
514+
body .w-md-editor-text-pre > code,
515+
body .w-md-editor-text-input {
516516
font-size: 23px !important;
517517
line-height: 24px !important;
518518
}

0 commit comments

Comments
 (0)