mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
fix: unexpected table selection behavior (#5821)
This commit is contained in:
@@ -53,7 +53,9 @@ const App = () => {
|
||||
Transforms.setNodes(
|
||||
editor,
|
||||
{ type: match ? null : 'code' },
|
||||
{ match: n => Element.isElement(n) && Editor.isBlock(editor, n) }
|
||||
{
|
||||
match: n => Element.isElement(n) && Editor.isBlock(editor, n),
|
||||
}
|
||||
)
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user