mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
Remove renderPlaceholder
(#2370)
* add placeholder plugin in slate-react * remove renderPlaceholder logic * extract placeholder into a plugin * remove other old placeholder-based logic * update changelogs
This commit is contained in:
@@ -8,6 +8,7 @@ import slateHyperscript from '../../packages/slate-hyperscript/package.json'
|
||||
import slatePlainSerializer from '../../packages/slate-plain-serializer/package.json'
|
||||
import slatePropTypes from '../../packages/slate-prop-types/package.json'
|
||||
import slateReact from '../../packages/slate-react/package.json'
|
||||
import slateReactPlaceholder from '../../packages/slate-react-placeholder/package.json'
|
||||
|
||||
const configurations = [
|
||||
...factory(slate),
|
||||
@@ -19,6 +20,7 @@ const configurations = [
|
||||
...factory(slatePlainSerializer),
|
||||
...factory(slatePropTypes),
|
||||
...factory(slateReact),
|
||||
...factory(slateReactPlaceholder),
|
||||
]
|
||||
|
||||
export default configurations
|
||||
|
Reference in New Issue
Block a user