mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 03:32:36 +02:00
Version Packages (#4594)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
87ab2efa41
commit
3678590ccf
@@ -1,5 +1,25 @@
|
||||
# slate-hyperscript
|
||||
|
||||
## 0.67.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#4555](https://github.com/ianstormtaylor/slate/pull/4555) [`c29eea02`](https://github.com/ianstormtaylor/slate/commit/c29eea022ec943f0c63278e9058fe1267f7dff01) Thanks [@bryanph](https://github.com/bryanph)! - createEditor is now exported from slate-hyperscript, making it easier to set up custom editor tests
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
const jsx = createHyperscript({
|
||||
creators: {
|
||||
editor: createEditor(aFunctionThatReturnsAnEditorObject)
|
||||
},
|
||||
elements: {
|
||||
block: { type: 'block' },
|
||||
inline: { type: 'inline' }
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
## 0.66.0
|
||||
|
||||
### Patch Changes
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "slate-hyperscript",
|
||||
"description": "A hyperscript helper for creating Slate documents.",
|
||||
"version": "0.66.0",
|
||||
"version": "0.67.0",
|
||||
"license": "MIT",
|
||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||
"main": "dist/index.js",
|
||||
|
Reference in New Issue
Block a user