julianpoemp / ngx-jodit

Angular wrapper for jodit and jodit-pro WYSIWYG editor supporting Angular >=12 and ESM.
https://github.julianpoemp.com/ngx-jodit/3.x/
MIT License
18 stars 4 forks source link

Cannot install ngx-jodit with jodit v.4.0.0-beta.50 #4

Closed kzimny closed 1 year ago

kzimny commented 1 year ago

image

Can you please help?

julianpoemp commented 1 year ago

@kzimny It appears that the peer dependency validation can't parse "4.0.0-beta.50" as a version bigger than v3.7.2. If the jodit version doesn't matter for you, you can install jodit v3.24.9. That is recommended because jodit v4 is still in beta phase.

Version 4 of jodit breaks some imports in ngx-jodit, so even if you install jodit v4 itÄ's not supported by ngx-jodit.

If you really want to use Jodit v4, let me know, I'll release ngx-jodit v2 with v4 support.

kzimny commented 1 year ago

I changed jodit to version 3.24.9 and ngx-jodit works for now. I would like to switch to version 4, beta-50 is near to final release. Would you prepare ngx-jodit v2 which is compatible with v4 of jodit?

julianpoemp commented 1 year ago

I just released ngx-jodit 2 beta. Please have a look for the new installation instructions here: https://www.npmjs.com/package/ngx-jodit/v/2.0.0-beta.1

kzimny commented 1 year ago

This is great. Thank you very much!