fix soft break side effects
This commit is contained in:
parent
842c2935e9
commit
c95f06138a
@ -373,7 +373,7 @@ const BackspaceCloseBlock = (options = {}) => ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const slatePlugins = [
|
const slatePlugins = [
|
||||||
SoftBreak({ ignoreIn: ['list-item', 'numbered-list', 'bulleted-list', 'table', 'table-row', 'table-cell'], closeAfter: 1 }),
|
SoftBreak({ ignoreIn: ['paragraph', 'list-item', 'numbered-list', 'bulleted-list', 'table', 'table-row', 'table-cell'], closeAfter: 1 }),
|
||||||
BackspaceCloseBlock({ ignoreIn: ['paragraph', 'list-item', 'bulleted-list', 'numbered-list', 'table', 'table-row', 'table-cell'] }),
|
BackspaceCloseBlock({ ignoreIn: ['paragraph', 'list-item', 'bulleted-list', 'numbered-list', 'table', 'table-row', 'table-cell'] }),
|
||||||
EditList({ types: ['bulleted-list', 'numbered-list'], typeItem: 'list-item' }),
|
EditList({ types: ['bulleted-list', 'numbered-list'], typeItem: 'list-item' }),
|
||||||
EditTable({ typeTable: 'table', typeRow: 'table-row', typeCell: 'table-cell' }),
|
EditTable({ typeTable: 'table', typeRow: 'table-row', typeCell: 'table-cell' }),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user