mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

redactor support? #23

Closed Sivli-Embir closed 8 years ago

Sivli-Embir commented 9 years ago

I am running meteor 0.9.0 right now and I can not test it but will this support other editors? Namely will it support http://imperavi.com/redactor/? It not what would it take to add that support?

mizzao commented 9 years ago

We're tracking support for CodeMirror in #14, and I've been thinking about how to generalize this to support other editors. See that issue for details.

The package works if checked out to packages/ for a 0.9 app, but hasn't been published yet due to issues with the packaging system.

Sivli-Embir commented 9 years ago

I have been poking around in redactor's source code and its a bit of a mess. I am not sure how easy Share JS support will end up being with this editor.

First off redactor is not open source so general support is not likely.

Additionally it stores all the content in memory and sanitizes it on the fly. Just wiring up blaze is causing issues, such as images becoming un-editable. I am going to keep looking at ti and watching how you solve CodeMirror but I am not holding my breath.

If anything Medium JS support would be a better goal. It has a few less but similar features. I feel if we can get that working it would be a huge benefit to the community.

Anyway thats my two cent, keep up the good work!

mizzao commented 9 years ago

We have both Ace and CodeMirror now; if you can write a thin wrapper like ShareJS has, it would be pretty easy to wire up other editors.