froala / angular-froala-wysiwyg

Angular 4, 5, 6, 7, 8 and 9 plugin for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
731 stars 200 forks source link

Hide editor on blur #503

Closed Hiaslafson closed 2 years ago

Hiaslafson commented 2 years ago

I have a questions in regards of hiding Froala on blur.

I am using initOnClick: true, but is there a counterpart for it? sth like "deinit OnBlur" to hide the editor again?

Thanks for the help

Hiaslafson commented 2 years ago

Can anybody help with this? its blocking me big.. maybe I am missing something

Hiaslafson commented 2 years ago

Solution: events: { blur: function() { this.toolbar.hide() }, focus: function() { this.toolbar.show() }

Can be closed