Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Slate interface in 0.40.0 change removes selection.startKey #87

Open
andrewdrane opened this issue Sep 10, 2018 · 5 comments
Open

Slate interface in 0.40.0 change removes selection.startKey #87

andrewdrane opened this issue Sep 10, 2018 · 5 comments

Comments

@andrewdrane
Copy link

The latest slate change removes the selection.startKey value and replaced with selection.start.key
The util function isSelectionInTable (and several others) will always return False. This was deprecated in 0.37.0 and removed in 0.40.0

https://github.com/ianstormtaylor/slate/blob/master/packages/slate/Changelog.md

@andrewdrane
Copy link
Author

There is a long list of deprecations that were removed, startKey is just the one that was most visible. I downgraded Slate to version 0.39.0 and the table plugin works as expected.

@zjfjiayou
Copy link

I also encountered the same problem, I hope the author can find time to solve

@cameracker
Copy link

There's a library called https://github.com/jasonphillips/slate-deep-table/pulls that was forked from this one a long time ago, but works with the main slate distribution as opposed to only working on gitbook's slate fork.

I hope I'm not putting anybody out by recommending this as an alternative.

@Soreine
Copy link
Contributor

Soreine commented Dec 11, 2018

Indeed we're currently focusing our efforts elsewhere. We are taking a break with upgrading Slate versions until we resolve our more urgent matters, sorry about that. Thank you @CameronAckermanSEL for suggesting this alternative

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants