mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-10 16:32:17 +02:00
* 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
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!