isSelectionWithinEditor
functionReturns true if the given DOM anchor and focus nodes are inside the editor's root element and not captured by a decorator input.
Returns true if the given DOM anchor and focus nodes are inside the editor's root element and not captured by a decorator input.