polyphony-ot / polyphony-js

A real-time text editing library for JavaScript built around libot.
Apache License 2.0
16 stars 3 forks source link

Rich text support #2

Open larrytin opened 10 years ago

larrytin commented 10 years ago

Which ot type does it use, plain string or json?

See also Rich text support.

BTW, there is an another ot project which also provides native Android/iOS/JavaScript clients.

gcurtis commented 10 years ago

Thanks for the info! I'll take a look at those other projects.

The operations are encoded as JSON, but there isn't any support for transforming/composing JSON objects like Google Drive's realtime API does. I'm planning on implementing rich text the same way that ShareJS does. Attribute strings seem to be how a lot of editors choose to implement text formatting.

luisherranz commented 9 years ago

I am just wondering if you took a look at this Rich Text OT type: https://github.com/ottypes/rich-text It is what QuillJS is using since v0.18.0.

c-h- commented 7 years ago

@gcurtis is this project still active? Was rich text support ever added? Project has a lot of potential!