Advice on implementing spell checker #7087
Unanswered
soapwong703
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am developing a Spell Check Plugin and encountering some challenges. I am currently using
registerLexicalTextEntity
to monitor allTextNode
updates and transform them intoSpellCheckNode
to enable specialized functionalities. However, thegetMatch
function inregisterLexicalTextEntity
appears to only support synchronous operations, while I need to query an asynchronous API to retrieve spelling check results as the user types.At the moment, I have created a demo using a synchronous mock function. I would greatly appreciate any advice on how to implement this feature effectively.
MVP:
https://github.com/user-attachments/assets/a49a13bf-629a-4f13-98f7-2b041b831057
Beta Was this translation helpful? Give feedback.
All reactions