-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Jodit Pro OEM #5
Comments
in general, ngx-jodit supports all configuration options from Jodit. According to this page there is an option called "license". I don't use Jodit Pro, but it could work like this: import {Config} from 'jodit/src/config'; // <- this is from Jodit v3
//....
options: Partial<Config> = {
license: "<LICENSE_KEY>"
};
value: string = "";
//... <ngx-jodit [(value)]="value" [options]="options"></ngx-jodit> Unfortunately I can't test it because I don't have any license key. But if it don't work you could tell me how to get it working using vanilla javascript. Then I could translate it to Angular. |
@julianpoemp Thank you for getting back to me so quick. So i added that in but it still shows the water mark and doesnt have any of the functionality of the pro. |
@cgraves09 I found out that there is an extra npm package for jodit-pro here. Because it's a different package from the normal Jodit package with it's own dependencies I'll release a new Angular library with Jodit Pro support. I'll contact you as soon as I have more information. |
@julianpoemp Amazing thank you so much |
@cgraves09 I just released ngx-jodit-pro. You can find more information here: If you provide a license key in the options it should work now. Please notice: I was able to test it only without a license key and can't say if it works for sure. Please let me know if it works. In case of errors please send me the console output. |
@julianpoemp Awesome thank you. So i am getting |
@cgraves09 did you follow the installation instructions? Especially adding |
@julianpoemp Yeah got it. I had the beta Jodit installed. Seems to be rendering now with the license and removing the watermark. Which is fantastic! Not sure if this is an issue but I am getting this type error. Not sure if its going to break anything. |
@cgraves09 can you send me more of the error message, please? (click on the ">" left to "Uncaught" to expand it") |
|
@cgraves09 I think it's an error caused by Jodit. I close this issue because the original problem was solved. If you like this package I would be happy if you give this repository a star 😄 |
@julianpoemp awesome thank you. Idk if you wanted me to open a new issue. I was just curious if we can add in form controls to the component to be injected |
@cgraves09 form controls? Do you think about buttons for the toolbar or plugins? You can access the jodit instance from ngx-jodit as described here and use the Jodit API to add buttons or plugins (more information here) This project is just a wrapper for Jodit and I want to keep it light, at least for now. |
Hi does this package support give the ability to pass in our license key for Jodit PRO?
The text was updated successfully, but these errors were encountered: