1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-10 16:32:17 +02:00
Ian Storm Taylor 64b1e542b8 refactor the Selection model, deprecating old methods ()
* refactor Selection, deprecating old methods

* fix a few more things

* introduce an alternative for moveToOffsets

* add edge methods for move{start/end}OffsetTo

* fix selection return value

* fix deprecation warnings

* refactor transforms to make auto-generating easier

* refactor and deprecate selection transforms

* remove deprecation warnings from tests

* fix deprecation warnings in examples
2017-02-27 12:55:13 -08:00
..
2016-07-14 16:31:55 -07:00

Links Example

This example shows you how you can wrap text in "inline" nodes to associate metadata, like an href, with a piece of text. This is how you'd add links to Slate, but it's also how you might add hashtags, at-mentions, and many more inline features!

Check out the Examples readme to see how to run it!