I am still VERY new to this component, so please bear with me if this is a simple question.
By looking at the quickstart samples, I was able to load a document into the editor, and I have marked certain words with a Squiggle (the words were identified via a regex).
Now that the words are marked, I would like for the user to be able to put the carat on the marked text and interact with it. For the sake of example, let's say that every instance of the word "Dog" has a squiggle. I want the user to either right click the squiggle, or put the carat on the word and press alt+enter, and be presented with a combo-list of breeds, such as Collie, Poodle, Terrier. They can then select a word and have it replaced, or perhaps open a new window with more details about that breed.
So... can anyone point me to an example of how to interact with a squiggle, or maybe give me a fairly vanilla code sample to get me in the right direction?
Thanks,
-Todd
By looking at the quickstart samples, I was able to load a document into the editor, and I have marked certain words with a Squiggle (the words were identified via a regex).
Now that the words are marked, I would like for the user to be able to put the carat on the marked text and interact with it. For the sake of example, let's say that every instance of the word "Dog" has a squiggle. I want the user to either right click the squiggle, or put the carat on the word and press alt+enter, and be presented with a combo-list of breeds, such as Collie, Poodle, Terrier. They can then select a word and have it replaced, or perhaps open a new window with more details about that breed.
So... can anyone point me to an example of how to interact with a squiggle, or maybe give me a fairly vanilla code sample to get me in the right direction?
Thanks,
-Todd