We would like to be able to grab the currently selected text from the editor. This would work together nicely with the insertText method already available and the idea request to have an event when the textSelected changes.
In the prizmdocEditor demo, the ability to insert "common phrases" (i.e. "Expense Clause" and "Conflict of Interest Clause") is shown. This is a good feature. We would like the ability to grab the selected text so that our users can more easily create "common phrases" on-the-fly. In order to create a common phrase the user needs to select/copy/paste. It would be a better user experience to allow the user to select a well written phrase and click a button (that we provide). Our button would call the new getSelectedText to get the text (copy) and then paste the text inside of the "common phrases" collection.