4 ms·
How does this compare to Prosemirror? (http://prosemirror.net/ http://prosemirror.net/)
by ipsum2 11y ago
How does this compare to Prosemirror? (http://prosemirror.net/ http://prosemirror.net/)
- Maro 11y agoHow about you try it out and tell us about it?
- msoad 11y agoThis doesn't support images as far as I can tell
- sstephenson 11y agoTrix fully supports file attachments and image attachments, as documented in the readme. It includes an inline caption editor for images. Trix also supports "content attachments" (currently undocumented) which allow embedding arbitrary HTML as attachments in the document. Basecamp 3 uses this feature to embed @mentions with avatars, and various oEmbed types, in messages and comments.
- sealocal 11y agoI want to see those "content attachments" as a live demo! I'm currently using CKEDITOR in a Rails app and inserting HTML "templates." CKEDITOR renders the HTML and allows the end-user (or content creator) to modify the HTML while it is rendered inside the contenteditable text area.
- manigandham 11y agoIt does, you can use the toolbar to enter urls for the image. Toolbar is hard to use though.
- javan 11y agoYou can also drop files on the editor. Try it on the demo site.
- stephenr 11y agoThanks for linking to that, I like that it's based around markdown.
- gritzko 11y agoFrom the document model standpoint, Prosemirror has a tree of nodes, while Trix has an array of blocks with a stack of block-level formatting. Mathematically equivalent, practically not so much.