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
734 stars 201 forks source link

Type 'ModuleWithProviders' is not generic. #429

Open lmsilvera opened 4 years ago

lmsilvera commented 4 years ago

Error message: ERROR in node_modules/angular-froala-wysiwyg/editor/editor.module.d.ts(3,23): error TS2315: Type 'ModuleWithProviders' is not generic. node_modules/angular-froala-wysiwyg/view/view.module.d.ts(3,23): error TS2315: Type 'ModuleWithProviders' is not generic.

Context: angular-froala-wysiwyg version was 3.2.0 then, when upgraded to 3.2.1 bang!! Error above. "@angular/core": "^5.2.11", "@angular/common": "^5.2.11" "angular-froala-wysiwyg": "^3.2.1"

qdelettre commented 4 years ago

There is a breaking change. Update angular in your project or use an older version of angular-froala-wysiwyg.

lmsilvera commented 4 years ago

Ok, will take into account.

damarisq-2576 commented 2 years ago

Which version of angular is compatible with froala v3 or v4?

I'm getting this error in angular 7 "error TS1086: An accessor cannot be declared in an ambient context." for example