Skip to content
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

Will ng2-ckeditor work with angular 2.0.0? #316

Closed
ShubhamTANDF opened this issue Aug 23, 2021 · 7 comments
Closed

Will ng2-ckeditor work with angular 2.0.0? #316

ShubhamTANDF opened this issue Aug 23, 2021 · 7 comments

Comments

@ShubhamTANDF
Copy link

We have angular app which runs on angular 2.0.0. will ng2-ckeditor work for it. If yes then any specific versions we need to install

@kzimny
Copy link
Collaborator

kzimny commented Aug 23, 2021

Angular version 2.0.0 is pretty old! I would recommend to update your angular to newer version. If you can not update you project you can use one of the previous ng2-ckeditor releases, maybe v.1.1.19.

@ShubhamTANDF
Copy link
Author

thank you so much will use v.1.1.19. Any reference links or something on how to use older versions of ng2-ckeditor in angular 2.0.0

@kzimny
Copy link
Collaborator

kzimny commented Aug 23, 2021

Install the package with npm install [email protected] --save. In your own component declare the ckeditor as any. The rest should work, if not update your angular framework to newer version.

@kzimny kzimny closed this as completed Aug 23, 2021
@ShubhamTANDF
Copy link
Author

ShubhamTANDF commented Aug 23, 2021

ERROR in main.bd776877e098544e9e6a.bundle.js from UglifyJs
SyntaxError: Unexpected token: name (CKButtonDirective) [main.bd776877e098544e9e6a.bundle.js:24786,6]

getting this error. can you tell me a work around to resolve this

@kzimny
Copy link
Collaborator

kzimny commented Aug 23, 2021

AFAIK version 1.1.19 is the last with angular 2.0.0 compatible release. It's possible that CKButtonDirective has been added after release 1.1.19. Try without the ckbuttons in your html code.

@ShubhamTANDF
Copy link
Author

there is no 1.1.19 version, using 1.1.14 to integrate with angular 2.0.0 still not successful..I m trying

@ShubhamTANDF
Copy link
Author

I am not using ckbuttons anywhere in my code..but still I am getting this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants