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
736 stars 202 forks source link

Angular11: Can't bind to 'froalaEditor' since it isn't a known property #455

Closed Benny739 closed 1 year ago

Benny739 commented 3 years ago

With froala 3.2.5 I'm getting erros in VSCode. Can't bind to 'froalaEditor' since it isn't a known property of div.

With froala 3.1.0 everything is working fine.

Also when compiling I'm getting

Warning: ./node_modules/froala-editor/css/froala_editor.pkgd.min.css (./node_modules/@angular-devkit/build-angular/node_modules/css-loader/dist/cjs.js??ref--12-1!./node_modules/postcss-loader/dist/cjs.js??ref--12-2!./node_modules/froala-editor/css/froala_editor.pkgd.min.css)
Module Warning (from ./node_modules/postcss-loader/dist/cjs.js):
Warning

(7:54338) autoprefixer: Replace fill-available to stretch, because spec had been changed

Again with 3.1.0 no errors

dev-ivd commented 3 years ago

We have the same problem, along with

Warning: ./node_modules/froala-editor/js/plugins.pkgd.min.js
Module not found: Error: Can't resolve 'crypto' in '\node_modules\froala-editor\js'
dejanmartinovic commented 3 years ago

Can you recreate the issue in Sandbox? https://codesandbox.io/s/wispy-cookies-3p271?file=/src/app/app.component.ts

ilyaskarim commented 1 year ago

Not able to reproduce the issue on the latest V4.019