Skip to main content

Text review plugins can only return suggestions while entering text edit mode and on the PropertyChange event type.


But what if we add a text range selection event and return suggestions for that range? This would make plugins even more powerful.


For example:




  • If the user enters text edit mode and all text is selected (0, text.length) or nothing is selected (start === end), the plugin will return suggestions for the entire length of the text.




  • If the user is already in text edit mode and selects a range of text, return suggestions for that range only. That is, every time the user selects a range of text, the event fires specifically for that range.



Be the first to reply!

Reply