const el = this.editor.ngxWigEditable.nativeElement;
setTimeout(() => {
var range = document.createRange();
range.selectNodeContents(el);
range.collapse(false);
var sel = window.getSelection();
sel.removeAllRanges();
sel.addRange(range);
});