ld-x / last-draft-js-plugins

last draft draft-js plugins
MIT License
95 stars 33 forks source link

Move cursor after embed when inserting #13

Closed mxstbr closed 6 years ago

mxstbr commented 7 years ago

Right now, when you insert an embed the cursor is afterwards above the embed, rather than below it. With this fix the cursor is correctly moved after the embed, which makes for a much nicer writing experience.

Reference image-plugin PR with the same fix: https://github.com/draft-js-plugins/draft-js-plugins/pull/928

mxstbr commented 7 years ago

Ping @StevenIseki, would be great to get this shipped :blush:

elie222 commented 5 years ago

These changes have not been published to npm.