angular-froala-wysiwyg icon indicating copy to clipboard operation
angular-froala-wysiwyg copied to clipboard

Hiding and showing with *ngIf not working

Open uwe-pichl opened this issue 5 years ago • 11 comments

If the froala is hidden with *ngIf and reshown, the binding (froalaModel) is broken. grafik

Example https://stackblitz.com/edit/angular-froala-13aagf-gvpnuv

uwe-pichl avatar Jul 02 '19 12:07 uwe-pichl

#318 Related

uwe-pichl avatar Jul 02 '19 12:07 uwe-pichl

Confirming on our end as well. This is currently the main blocker that prevents us from upgrading to v3 (which we would really like to do asap because it's great).

aaweb avatar Aug 11 '19 18:08 aaweb

Any updates? PS. Tried version 3.0.5 - still have this problem.

slavik990 avatar Aug 19 '19 18:08 slavik990

@slavik990: You can work around this Problem by creating new Froala-Options, every time the froala is rendered. See issue #318 .

uwe-pichl avatar Aug 21 '19 09:08 uwe-pichl

accidentally closed...

uwe-pichl avatar Aug 21 '19 09:08 uwe-pichl

any update? facing same issue on v3.

vdsheryarshirazi avatar Feb 17 '20 20:02 vdsheryarshirazi

Found a work around assign new object to froala config after re-initialization.

see https://stackblitz.com/edit/angular-froala-13aagf-zj6ita

vdsheryarshirazi avatar Feb 18 '20 10:02 vdsheryarshirazi

Any updates? The workarounds don't seem to do it in our case (at least not without bad implications on the UI).

aaweb avatar Feb 26 '20 09:02 aaweb

@uwe-pichl This should be resolved in 3.2.1-1

dejanmartinovic avatar Aug 30 '20 22:08 dejanmartinovic

Can confirm it works on 3.2.2 and Angular 9.

jtmckay2017 avatar Sep 15 '20 18:09 jtmckay2017

@uwe-pichl This should be resolved in 3.2.1-1

Was facing similar issues for V 3.2.0.

Issues resolved after upgrading to V 3.2.2. Thanks.

Khushbu-2112 avatar Jul 12 '21 06:07 Khushbu-2112