1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-22 23:12:52 +02:00

fix selection settings in links example

This commit is contained in:
Ian Storm Taylor
2016-07-27 22:31:39 -07:00
parent 1c86b2fcf7
commit 1a6c3c153e

View File

@@ -86,6 +86,7 @@ class Links extends React.Component {
state = state
.transform()
.wrapInline('link', new Map({ href }))
.collapseToEnd()
.apply()
}