julianpoemp / ngx-jodit

Angular wrapper for jodit and jodit-pro WYSIWYG editor supporting Angular >=12 and ESM.

Home Page:https://github.julianpoemp.com/ngx-jodit/3.x/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx-jodit: css is not defined

MussaratAziz opened this issue · comments

commented

added to a demo project when i try to load page get error like css is not defined. Any idea please.

Thanks

  • What version of Angular do you use?
  • What version of ngx-jodit do you use?
  • Did you follow the installation instructions?
commented

angular 16
1.0.4
Yes i did

i think i forgot to add the style sheet.

so you tried ngx-jodit v3.x and you followed the instructions for v3.x? What is the exact error message?

commented

image

commented

its seems like something to do with jodit module

I don't know a file names "has-same-style.js". I just tested my demo application from this repository and it works fine. See v3.x branch: ngx-jodit demo. Perhaps you can compare my demo app with yours to find a solution. Also make sure that you have installed the correct dependencies of ngx-jodit v3: jodit v4 latest beta and ngx-jodit latest v3 beta.

I don't think that it's an error related to ngx-jodit. It's either an error with Jodit itself or any other library you are using for your demo app. You can expand the error message in the console to list more frames and then try to find the origin of the error.

commented

image
got it working but with few options is there any way to see all the options?

I just tried it out and had some issues with the beta version of Jodit v4. Normally you can easily define your buttons using the buttons option or leave it empty for all buttons. Somehow it's not working with Jodit v4. At the moment I'm too busy to have a look into it. As far as I can see it's working with jodit ^3 and ngx-jodit ^1 . I recommend to use that stable version if possible.

Closing this issue because the original problem was solved.