Live data from Hacker News

ProseMirror 1.0

marijnhaverbeke.nl

21–30 of 69 posts

Re: ProseMirror 1.0

#21
The color of the links on that blog is not very colorblind friendly. I couldn't tell what was a link and what wasn't without zooming in to make the text larger.

Re: ProseMirror 1.0

#22

Cool to see persistent data structures under the covers here. I tried to make a contentEditable editor some time ago and gave up when I realized how many edge cases there would be, but from what I learned when working on that, this general sort of approach seems like the right way. What do you feel like you learned when working on this project? Will any of it make it back to Codemirror?

I finally figured out how to apply a functional / unidirectional data flow architecture to the (demanding) case of an editor. And yes, there are plans to integrate this into CodeMirror at some point.

Re: ProseMirror 1.0

#23
post #21

The color of the links on that blog is not very colorblind friendly. I couldn't tell what was a link and what wasn't without zooming in to make the text larger.

I've made them a little brighter, hope that helps.

Re: ProseMirror 1.0

#24
post #8

Earlier quoted context omitted.

Yes, I have a small patreon at https://www.patreon.com/marijn . Right now I'm also running a crowd-funding for the new edition of my book at https://eloquentjavascript.net/3rd_edition/

Don't forget to download a bitcoin wallet and add a bitcoin address for donations to the page.

I've added a bitcoin address (but didn't integrate it into the automated checkout flow, so you'd have to email me to claim perks).

Re: ProseMirror 1.0

#25
I love CodeMirror and like very much the content of the Marijn's blog posts I've read, but I must say ProseMirror is a nightmare to work with. I guess the problem is that there is too much customization options, no sane defaults, no understandable tutorials, many different overlapping API and documentation versions.

I've tried a lot to get it working for https://github.com/fiatjaf/coisas and only managed to make it work by copying running code from one of the demos, ignoring all customization and working myself around the editor to provide the custom functions I needed.

I may be totally wrong here, but I'm trying to be sincere about my experience.

Re: ProseMirror 1.0

#26
post #25

I love CodeMirror and like very much the content of the Marijn's blog posts I've read, but I must say ProseMirror is a nightmare to work with. I guess the problem is that there is too much customization options, no sane defaults, no understandable tutorials, many different overlapping API and documentation versions. I've tried a lot to get it working for https://github.com/fiatjaf/coisas and only managed to make it w…

Thanks for sharing your experience. It sounds like the author is aware that ProseMirror is hard to work with, and to some degree this is "by design". From the announcement:

> If you're looking for a simple drop-in rich text editor component, ProseMirror is probably not what you need. (We do hope that such components will be built on top of it.) The library is optimized for demanding, highly-integrated use cases, at the cost of simplicity.

Re: ProseMirror 1.0

#27
What I've never seen in any rich-text web editor is an ability to have more complex numbered lists. So often I want to put in a block of content (e.g., a small code example) as part of a numbered list item, and then resume the list after the block . But they all restart me at "1."...

Re: ProseMirror 1.0

#28
CKEditor 5 is also worth a look. They just released their first alpha version. The editor now uses a model separate from the DOM which can be used to implement support for collaborative editing. In addition to providing an extensive API, there are ready-made builds which can serve the same purpose as TinyMCE and CKEditor 4. This being CKEditor, we can probably expect support for pasting content from Word and Excel in the future. GPL/LGPL/MPL. We've just started using it in our SaaS product and have been impressed so far. https://github.com/ckeditor/ckeditor5-design/issues/181

Re: ProseMirror 1.0

#30
Marijn, congratulations on the 1.0! This project is a great example of an entirely new crowd-funded open-source project. I am glad I made a small personal 25€ contribution, and I hope that future work projects will allow me to send more money your way.
Post reply on HN