Skip to content

Commit e328b44

Browse files
authored
Merge pull request #23 from Webbrother/2.0.3
2.0.3
2 parents 7000234 + 438545f commit e328b44

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,23 @@ export const MarkdownEditor = () => {
5959
- image
6060
- link
6161

62+
## New API discussion [here](https://github.com/Webbrother/react-headless-mde/issues/22)
63+
6264
## Todo
6365

64-
- heading undo
65-
- undo/redo
66+
- Undo/Redo commands
6667
- Check execution on SSR (For example, Next.js) and, if necessary, regenerate eslint config, taking into account execution on node.js
6768
- peerDependencies React?
68-
- undo for
69+
- Undo for
6970
- 1st priority
70-
- all headings
71-
- quote
72-
- strikethrough
71+
- all headers
72+
- `quote`
73+
- `strikethrough`
7374
- 2nd priority
74-
- orderedList
75-
- unorderedList
76-
- checkedList
77-
- codeBlock
75+
- `orderedList`
76+
- `unorderedList`
77+
- `checkedList`
78+
- `codeBlock`
7879

7980
PR's are welcome!
8081

@@ -93,7 +94,10 @@ this has been taken from [their documentation](<https://github.com/showdownjs/sh
9394
> you should filter any suspicious content coming from user input. Showdown does not include an
9495
> XSS filter, so you must provide your own. But be careful in how you do it…
9596
96-
You might want to take a look at [showdown-xss-filter](https://github.com/VisionistInc/showdown-xss-filter).
97+
You might want to take a look at
98+
99+
- [rehype-sanitize](https://github.com/rehypejs/rehype-sanitize).
100+
- [showdown-xss-filter](https://github.com/VisionistInc/showdown-xss-filter).
97101

98102
## Licence
99103

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-headless-mde",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "React Headless Markdown Editor",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)