Skip to content

Deprecate editor.currentTextContent#789

Merged
zurfyx merged 2 commits into
mainfrom
drop-currentextcontent
Nov 3, 2021
Merged

Deprecate editor.currentTextContent#789
zurfyx merged 2 commits into
mainfrom
drop-currentextcontent

Conversation

@zurfyx

@zurfyx zurfyx commented Nov 3, 2021

Copy link
Copy Markdown
Member

In #784 we moved the precomputed text content to live inside RootNode and we introduced a trigger to listen to text changes. We can now kill the editor.currentTextContent which is misleading.

This PR doesn't kill it entirely, I'll iterate on this to move the other methods that depend on this and WWW may need some time before we can actually get rid of it for good.

@zurfyx zurfyx requested review from acywatson and trueadm November 3, 2021 10:48
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 3, 2021
@zurfyx zurfyx force-pushed the drop-currentextcontent branch from a3542f1 to 83290dc Compare November 3, 2021 11:14
@zurfyx zurfyx force-pushed the drop-currentextcontent branch from 83290dc to 01a797b Compare November 3, 2021 11:19
@zurfyx zurfyx merged commit 8292682 into main Nov 3, 2021
@zurfyx zurfyx mentioned this pull request Nov 3, 2021
@zurfyx zurfyx deleted the drop-currentextcontent branch December 10, 2021 14:05
acywatson pushed a commit that referenced this pull request Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants