Add editor history (#1284)

* add slate editor history

* reset mark on editor reset
This commit is contained in:
Ajay Bura
2023-06-16 11:11:03 +10:00
committed by GitHub
parent bc5e7445d9
commit 41f67cabc0
6 changed files with 30 additions and 6 deletions

12
package-lock.json generated
View File

@@ -48,6 +48,7 @@
"react-modal": "3.16.1",
"sanitize-html": "2.8.0",
"slate": "0.90.0",
"slate-history": "0.93.0",
"slate-react": "0.90.0",
"tippy.js": "6.3.7",
"twemoji": "14.0.2",
@@ -5210,6 +5211,17 @@
"tiny-warning": "^1.0.3"
}
},
"node_modules/slate-history": {
"version": "0.93.0",
"resolved": "https://registry.npmjs.org/slate-history/-/slate-history-0.93.0.tgz",
"integrity": "sha512-Gr1GMGPipRuxIz41jD2/rbvzPj8eyar56TVMyJBvBeIpQSSjNISssvGNDYfJlSWM8eaRqf6DAcxMKzsLCYeX6g==",
"dependencies": {
"is-plain-object": "^5.0.0"
},
"peerDependencies": {
"slate": ">=0.65.3"
}
},
"node_modules/slate-react": {
"version": "0.90.0",
"resolved": "https://registry.npmjs.org/slate-react/-/slate-react-0.90.0.tgz",