@uiw/react-md-editor 3.9.6 → 3.9.9
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 +3 -2
- package/dist/mdeditor.css +8 -8
- package/dist/mdeditor.js +63235 -60976
- package/dist/mdeditor.min.js +1 -1
- package/esm/components/Toolbar/index.js +2 -1
- package/esm/components/Toolbar/index.js.map +3 -2
- package/lib/components/Toolbar/index.js +2 -1
- package/lib/components/Toolbar/index.js.map +3 -2
- package/package.json +29 -28
- package/src/components/Toolbar/index.tsx +2 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://github.com/uiwjs/react-md-editor/actions" target="__blank">
|
|
9
|
-
<img alt="Build & Deploy" src="https://github.com/uiwjs/react-md-editor/workflows/
|
|
9
|
+
<img alt="Build & Deploy" src="https://github.com/uiwjs/react-md-editor/actions/workflows/ci.yml/badge.svg">
|
|
10
10
|
</a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/@uiw/react-md-editor" target="__blank">
|
|
12
12
|
<img alt="Downloads" src="https://img.shields.io/npm/dm/@uiw/react-md-editor.svg?style=flat">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<img src="https://img.shields.io/badge/Open%20in-unpkg-blue" alt="Open in unpkg">
|
|
16
16
|
</a>
|
|
17
17
|
<a href="https://gitee.com/uiw/react-md-editor" target="__blank">
|
|
18
|
-
<img alt="
|
|
18
|
+
<img alt="Gitee" src="https://jaywcjlove.github.io/sb/ico/gitee.svg">
|
|
19
19
|
</a>
|
|
20
20
|
<a href="https://www.npmjs.com/package/@uiw/react-md-editor" target="__blank">
|
|
21
21
|
<img alt="npm version" src="https://img.shields.io/npm/v/@uiw/react-md-editor.svg">
|
|
@@ -72,6 +72,7 @@ export default function App() {
|
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
### Security
|
|
75
|
+
|
|
75
76
|
Please note markdown needs to be sanitized if you do not **completely trust** your authors.
|
|
76
77
|
Otherwise, your app is vulnerable to XSS. This can be achieved by adding [rehype-sanitize](https://github.com/rehypejs/rehype-sanitize) as a plugin.
|
|
77
78
|
|
package/dist/mdeditor.css
CHANGED
|
@@ -388,9 +388,9 @@
|
|
|
388
388
|
margin: 0;
|
|
389
389
|
font-size: 14px;
|
|
390
390
|
line-height: 18px;
|
|
391
|
+
-webkit-font-feature-settings: "liga", "clig";
|
|
392
|
+
font-feature-settings: "liga", "clig";
|
|
391
393
|
-webkit-font-variant-ligatures: common-ligatures;
|
|
392
|
-
-webkit-font-feature-settings: "liga", "clig";
|
|
393
|
-
font-feature-settings: "liga", "clig";
|
|
394
394
|
font-variant-ligatures: common-ligatures;
|
|
395
395
|
}
|
|
396
396
|
.w-md-editor-text-pre,
|
|
@@ -404,9 +404,9 @@
|
|
|
404
404
|
font-family: inherit;
|
|
405
405
|
font-size: inherit;
|
|
406
406
|
font-style: inherit;
|
|
407
|
+
-webkit-font-feature-settings: inherit;
|
|
408
|
+
font-feature-settings: inherit;
|
|
407
409
|
-webkit-font-variant-ligatures: inherit;
|
|
408
|
-
-webkit-font-feature-settings: inherit;
|
|
409
|
-
font-feature-settings: inherit;
|
|
410
410
|
font-variant-ligatures: inherit;
|
|
411
411
|
font-weight: inherit;
|
|
412
412
|
letter-spacing: inherit;
|
|
@@ -545,8 +545,8 @@
|
|
|
545
545
|
align-items: center;
|
|
546
546
|
border-radius: 3px 3px 0 0;
|
|
547
547
|
-webkit-user-select: none;
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
-ms-user-select: none;
|
|
549
|
+
user-select: none;
|
|
550
550
|
}
|
|
551
551
|
.w-md-editor-toolbar ul,
|
|
552
552
|
.w-md-editor-toolbar li {
|
|
@@ -615,8 +615,8 @@
|
|
|
615
615
|
height: 10px;
|
|
616
616
|
border-radius: 0 0 3px 0;
|
|
617
617
|
-webkit-user-select: none;
|
|
618
|
-
|
|
619
|
-
|
|
618
|
+
-ms-user-select: none;
|
|
619
|
+
user-select: none;
|
|
620
620
|
}
|
|
621
621
|
.w-md-editor-bar svg {
|
|
622
622
|
display: block;
|