Closed xprojects-de closed 2 years ago
Ref: INT-2744
@xprojects-de I believe you just need to install tinymce
to get the correct types
Thanks. It´s woking...
I have same problem but I cannot fix it :( imported:
"tinymce": "5.10.3",
"@tinymce/tinymce-angular": "^5.0.1",
v5 of tinymce was the trick for me. Seems RawEditorSettings
has been removed from v6
@alastair-todd the latest version of the wrapper does not use RawEditorSettings
as it needs to work with different versions of the Editor. Having any version installed should do the trick with @tinymce/tinymce-angular
v^6.0.1
@Trapulo have you tried the latest version?
@jscasca yes correct thanks. The readme probably needs an update.
Any reason for not bundling tinymce up with the angular package? I does seem an easy mistake to make....
The latest version comes with the Tinymce v6 dependency so it bundles together but allows you to keep you Tinymce v5 dependency if you have that already installed.
Try with the latest version that works for me npm install @tinymce/tinymce-angular@7.0.0
Error: node_modules/@tinymce/tinymce-angular/editor/Events.d.ts:2:41 - error TS2307: Cannot find module 'tinymce' or its corresponding type declarations. Error: node_modules/@tinymce/tinymce-angular/editor/editor.component.d.ts:4:60 - error TS2307: Cannot find module 'tinymce' or its corresponding type declarations.
Angular 13.1.2 with common dependencies
Other packages:
Version @tinymce/tinymce-angular ^4.0.0 still works under 13.1 but without Ivy...
Thanks