react-headless-mde 2.0.0 → 2.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 +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Introduction
|
|
2
2
|
|
|
3
3
|
A simple yet powerful and extensible **React Markdown Editor** that aims to have feature parity with the Github Markdown editor.
|
|
4
|
-
React-mde-headless has no 3rd party dependencies
|
|
4
|
+
React-mde-headless has **no 3rd party dependencies**.
|
|
5
5
|
|
|
6
6
|
## [Demo](https://codesandbox.io/s/competent-jepsen-qyz51q?file=/src/index.tsx)
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ React-mde-headless has no 3rd party dependencies.
|
|
|
12
12
|
## Using
|
|
13
13
|
|
|
14
14
|
```jsx
|
|
15
|
-
import { boldCommand, italicCommand, linkCommand, useTextAreaMarkdownEditor } from 'react-mde
|
|
15
|
+
import { boldCommand, italicCommand, linkCommand, useTextAreaMarkdownEditor } from 'react-headless-mde';
|
|
16
16
|
|
|
17
17
|
export const MarkdownEditor = () => {
|
|
18
18
|
const { ref, commandController } = useTextAreaMarkdownEditor({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-headless-mde",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "React Headless Markdown Editor",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@typescript-eslint/eslint-plugin": "5.54.1",
|
|
49
49
|
"@vitejs/plugin-react": "^1.3.0",
|
|
50
50
|
"add": "^2.0.6",
|
|
51
|
+
"chakra-ui-markdown-renderer": "^4.1.0",
|
|
51
52
|
"cross-env": "^6.0.3",
|
|
52
53
|
"eslint": "8.35.0",
|
|
53
54
|
"eslint-config-prettier": "8.7.0",
|