mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 09:04:31 +02:00
fix lint
This commit is contained in:
@@ -157,7 +157,7 @@ function SchemaPlugin(schema) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function defaultNormalize(editor, error) {
|
function defaultNormalize(editor, error) {
|
||||||
const { code, node, child, next, previous, key, mark, index } = error
|
const { code, node, child, next, previous, key, mark } = error
|
||||||
|
|
||||||
switch (code) {
|
switch (code) {
|
||||||
case 'child_max_invalid':
|
case 'child_max_invalid':
|
||||||
|
Reference in New Issue
Block a user