Fix bug #37179
Fix bug #37179

Work on the situation when the user delete/remove text and reaches the ContentControl edge.

ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs