vectorsize / substance-text

Substance Text
substance.github.com/text
MIT License
282 stars 26 forks source link

substance-text dead-ends #25

Closed hugows closed 11 years ago

hugows commented 11 years ago

Do you mind sharing if substance-text had any shortcomings/dead-ends? (I mean in the sense of "The approach was not powerful enough for supporting annotations" or something).

The README says its broken, but I was able to play with it successfully :)

I'd like follow the idea of using a JS "diff" to generate commands (ins/del..) compatible to the "Substance Model".

For now I'd be happy with something simpler and more limited than what Composer does.

vectorsize commented 11 years ago

At the moment I'm not working on this, it was one of the earlier attempts for the Substance Surface. The annotations worked but I think the approach was slightly fragile, and we hit some limitations when using the rangy.js library so we decided to simplify our codebase to only do what we needed…

The future plans for Text is to build a simple WYSIWYG on top of Surface. The diff was there as part of the general Substance workflow but shouldn't belong to Text.