vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 404 forks source link

How to integrate ckeditor in x-editable angular #751

Open alternatribe opened 5 years ago

alternatribe commented 5 years ago

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

ckosloski commented 5 years ago

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

alternatribe commented 5 years ago

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

ckosloski commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

ckosloski commented 5 years ago

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.