i'm using the directive from this answer https://stackoverflow.com/a/44802855/14254792 to make contenteditable work with angular.
The directive works in all browsers. On firefox works too, but when i click on the div with contenteditable the caret appears and disappears afterwards (on the first change) (the input still works). How do i make it so that it doesn't disappear?
here is a stackblitz with the code https://stackblitz.com/edit/angular-ivy-33ytrc?file=src%2Fapp%2Fapp.component.html
Thank you