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

How to integrate ckeditor in x-editable angular #751

Open
alternatribe opened this issue Aug 6, 2019 · 6 comments
Open

How to integrate ckeditor in x-editable angular #751

alternatribe opened this issue Aug 6, 2019 · 6 comments

Comments

@alternatribe
Copy link

I need to change the textarea to accept the ckeditor formatting, how?

@ckosloski
Copy link
Contributor

I think you would have to add the onshow attribute that does the CKEDITOR.replace( 'editor1' );

@alternatribe
Copy link
Author

ok, but can you tell me how to do that? have any examples?

@ckosloski
Copy link
Contributor

I think all you need to do is something like
onshow="KEDITOR.replace( 'editor1' );"
I'm not 100% sure thought. I have never used an html editor before with x-editable.

@alternatribe
Copy link
Author

The only way I got it was by changing the xeditable.js file. But whenever I compile my project it downloads the repository version. Can you tell me if you can create an external directive and use it in xeditable?

@alternatribe
Copy link
Author

How do I create a custom directive without modifying the sources?

@ckosloski
Copy link
Contributor

Can you post some code on what it is you are trying to do.
Or post an example of what's not working on jsfiddle or similar.
I'm not sure how to create a custom directive without modifying the sources.

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