Soon (in May 2018, in fact) we'll be starting to work on integrations for the most popular JS frameworks. Most likely, we'll be working on them one by one and we'll start from React.
We don't know yet any more details, but I wanted to create this ticket so we can start gathering feedback... and so I can link to somewhere from the upcoming blog post ;).
TODO:
Two related tickets (most likely, to be closed when we'll roll out the integrations):
Here's a very simple Mithril / CKEditor integration.
Do you have some ideas on what you'd like to see as framework integration points?
Thanks for sharing!
In fact, @szymonkups created some time ago a quick integration with React too: https://jsfiddle.net/szymonkups/43hhtk0j/.
Here's a more comprehensive example.
The first version of React integration has just been published.
Now using npm install @ckeditor/ckeditor5-react will install the package in version 1.0.0-beta.1.
The feedback is welcome.
The first version of Angular integration has just been published too ๐
Similarly to the React one, run npm install @ckeditor/ckeditor5-angular to install the 1.0.0-beta.1 version.
Is there any vue typescript integration?
There's no vue integration at this moment.
If you know well this library you can create an implementation of the integration and share it in the https://github.com/ckeditor/ckeditor5/issues/599 thread. I've found a little bit outdated one there - https://github.com/ckeditor/ckeditor5/issues/599#issuecomment-345202341 - the changesDone event must be replaced with change:data and after that change, the code should work.
We're starting work on the Vue.js component very soon. You can track the progress in https://github.com/ckeditor/ckeditor5-vue/issues/1.
how about integrating Elm with CKEditor?
Interesting. What such integration would need to do? AFAIR Elm is a language which compiles to JS, so I'd guess you can use JS APIs from Elm's level?
yes it does compile to Javascript.
The way Elm "comunicates" with normal javscript is through the use of Ports.
It would be nice if CKEditor to already have some ports by default ready for use.
For example to get the return value editor.getData() or to create an editor based on an event managed by Elm.
The first version of Vue.js integration was released on npm: https://www.npmjs.com/package/@ckeditor/ckeditor5-vue ๐ ๐ ๐
You can find the documentation in https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html
Just FYI. We have this working in ember fine, but internally. Waiting on word paste before we can completely replace our current editor. Then will see about releasing publically.
it will be great if we get the access to the text area so that we can dynamically paste some emoji or any icon while copying it to clip board thing in angular. Or simple have some features like this.
@sauravraj95, please report a separate issue for this in https://github.com/ckeditor/ckeditor5-angular.
OK, we've introduced the main 3 integrations and people open separate tickets for othe libs/cmses so we can close this ticket now.
Just FYI. We have this working in ember fine, but internally. Waiting on word paste before we can completely replace our current editor. Then will see about releasing publically.
Hi! I'm struggling to integrate ckeditor5 with Ember, how did you make it? Any tip for this Ember newbie :pray:
Published a new version with more details (but still lacking). https://github.com/postedin/ember-ckeditor
Most helpful comment
Just FYI. We have this working in ember fine, but internally. Waiting on word paste before we can completely replace our current editor. Then will see about releasing publically.