@uiw/react-md-editor 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/mdeditor.js +722 -246
- package/dist/mdeditor.min.js +1 -1
- package/esm/Context.d.ts +1 -1
- package/esm/commands/issue.js +0 -1
- package/esm/commands/table.js +0 -1
- package/lib/Context.d.ts +1 -1
- package/lib/commands/issue.js +0 -1
- package/lib/commands/table.js +0 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
<a href="https://www.npmjs.com/package/@uiw/react-md-editor" target="__blank">
|
|
13
13
|
<img alt="Downloads" src="https://img.shields.io/npm/dm/@uiw/react-md-editor.svg?style=flat">
|
|
14
14
|
</a>
|
|
15
|
-
<a href="https://www.jsdelivr.com/package/npm/@uiw/react-md-editor" target="__blank">
|
|
16
|
-
<img alt="jsDelivr CDN" src="https://data.jsdelivr.com/v1/package/npm/@uiw/react-md-editor/badge?style=rounded" />
|
|
17
|
-
</a>
|
|
18
15
|
<a href="https://bundlephobia.com/package/@uiw/react-md-editor" target="__blank">
|
|
19
16
|
<img alt="npm bundle size" src="https://img.shields.io/bundlephobia/minzip/@uiw/react-md-editor">
|
|
20
17
|
</a>
|
|
@@ -511,8 +508,8 @@ export default function App() {
|
|
|
511
508
|
[](https://github.com/uiwjs/react-md-editor/issues/425#issuecomment-1209514536)
|
|
512
509
|
|
|
513
510
|
```css
|
|
514
|
-
.w-md-editor-text-pre > code,
|
|
515
|
-
.w-md-editor-text-input {
|
|
511
|
+
body .w-md-editor-text-pre > code,
|
|
512
|
+
body .w-md-editor-text-input {
|
|
516
513
|
font-size: 23px !important;
|
|
517
514
|
line-height: 24px !important;
|
|
518
515
|
}
|
|
@@ -853,7 +850,7 @@ Inherit custom color variables by adding [`.wmde-markdown-var`](https://github.c
|
|
|
853
850
|
- `commandsFilter?: (command: ICommand, isExtra: boolean) => false | ICommand`: Filter or modify your commands.
|
|
854
851
|
- `extraCommands?: ICommand[]`: Displayed on the right side of the toolbar.
|
|
855
852
|
- `autoFocus?: true`: Can be used to make `Markdown Editor` focus itself on initialization.
|
|
856
|
-
- `previewOptions?: ReactMarkdown.ReactMarkdownProps`: This is reset [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview/tree/
|
|
853
|
+
- `previewOptions?: ReactMarkdown.ReactMarkdownProps`: This is reset [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview/tree/0036dd51a25c00d5be6dc83aa978905c64750038?tab=readme-ov-file#options-props) settings.
|
|
857
854
|
- `textareaProps?: TextareaHTMLAttributes`: Set the `textarea` related props.
|
|
858
855
|
- ~~`renderTextarea?: (props, opts) => JSX.Element;`~~: `@deprecated` Please use ~~`renderTextarea`~~ -> `components`. Use div to replace TextArea or re-render TextArea. [#193](https://github.com/uiwjs/react-md-editor/issues/193)
|
|
859
856
|
- `components`: re-render textarea/toolbar element. [#419](https://github.com/uiwjs/react-md-editor/issues/419)
|
|
@@ -964,6 +961,9 @@ As always, thanks to our amazing contributors!
|
|
|
964
961
|
<a href="https://github.com/phillipb" title="Phillip Burch">
|
|
965
962
|
<img src="https://avatars.githubusercontent.com/u/1482089?v=4" width="42;" alt="Phillip Burch"/>
|
|
966
963
|
</a>
|
|
964
|
+
<a href="https://github.com/psycho-baller" title="Rami Maalouf">
|
|
965
|
+
<img src="https://avatars.githubusercontent.com/u/81759594?v=4" width="42;" alt="Rami Maalouf"/>
|
|
966
|
+
</a>
|
|
967
967
|
<a href="https://github.com/toresbe" title="Tore Sinding Bekkedal">
|
|
968
968
|
<img src="https://avatars.githubusercontent.com/u/1761606?v=4" width="42;" alt="Tore Sinding Bekkedal"/>
|
|
969
969
|
</a>
|
|
@@ -983,7 +983,7 @@ As always, thanks to our amazing contributors!
|
|
|
983
983
|
<img src="https://avatars.githubusercontent.com/u/8792016?v=4" width="42;" alt="wangjie"/>
|
|
984
984
|
</a><!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->
|
|
985
985
|
|
|
986
|
-
Made with [
|
|
986
|
+
Made with [contributors](https://github.com/jaywcjlove/github-action-contributors).
|
|
987
987
|
|
|
988
988
|
### License
|
|
989
989
|
|