Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Fix deprecation warning#37

Open
alexej-d wants to merge 1 commit intoKit:masterfrom
alexej-d:patch-1
Open

Fix deprecation warning#37
alexej-d wants to merge 1 commit intoKit:masterfrom
alexej-d:patch-1

Conversation

@alexej-d
Copy link
Copy Markdown

@alexej-d alexej-d commented Jun 4, 2019

As of slate@0.47, the getNodesAtRange method has been renamed to getDescendantsAtRange.

As of slate@0.47, the `getNodesAtRange` method has been renamed to `getDescendantsAtRange`.
@brendancarney
Copy link
Copy Markdown
Contributor

I haven't had time to check this out quite yet. Does the getNodesAtRange method still exist, just deprecated?

@alexej-d
Copy link
Copy Markdown
Author

alexej-d commented Jul 9, 2019

Yeah, it seems the method still exists. As of the newest version of slate-plugins I am not receiving the deprecation warning anymore

@brendancarney
Copy link
Copy Markdown
Contributor

brendancarney commented Jul 26, 2019

Ah, ok so is it no longer deprecated then? looks like it is actually.

@brendancarney
Copy link
Copy Markdown
Contributor

So I think I want to leave this open at least until the function is completely removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants