mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-23 15:32:59 +02:00
fix selection settings in links example
This commit is contained in:
@@ -86,6 +86,7 @@ class Links extends React.Component {
|
|||||||
state = state
|
state = state
|
||||||
.transform()
|
.transform()
|
||||||
.wrapInline('link', new Map({ href }))
|
.wrapInline('link', new Map({ href }))
|
||||||
|
.collapseToEnd()
|
||||||
.apply()
|
.apply()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user