Fix bug with cursor positioning if inserted math is last in dom
Fix bug with cursor positioning if inserted math is last in dom

digabi/rich-text-editor,digabi/rich-text-editor,digabi/math-editor,digabi/rich-text-editor,digabi/math-editor