Fix onEnter Rules Language Mode When There is a Selection (#26410)
Fixes #26406 **Bug** If there is an active selection, the on Enter rules may use the wrong language mode which results in the incorrect `afterEnterText`. See #26406 for an example of this case **Fix** Use language mode from the selection and correctly compute offset when grabbing `afterEnterText`
Showing
想要评论请 注册 或 登录