I have solved my problem by using SET-SELECTION method. In the first step i was using EDITOR WIDGET. However, editor-widget creates some problem. When you use some code in the "DELETE" or "BACKSPACE" trigger in an editor widget, you lose the main function of DELETE and BACKSPACE keys. Therefore...