Live data from Hacker News

Ask HN: What is your favorite FOSS WYSIWYG editor?

news.ycombinator.com

41–50 of 54 posts

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#42
post #26
post #22

There isn't one. This space has a lot of churn; a hot new project is started by a dev who claims they'll finally have "the solution" for the WYSIWYG space. Then it gets dropped after a few years. In fact many of the comments are listing archived projects no longer under development. This is an unfortunate drawback to truly free software. The only two WYSIWYG editors I can recommend are OSS but have premium plans and…

In my experience using CKeditor in Moodle, CKeditor generates invalid HTML (especially around lists) and sometimes bad HTML that does weird things like insert random spans and hardcode font sizes. I still prefer it over TinyMCE, another Moodle option, but I can't trust it to do the right thing.

Can you give examples of invalid HTML generated? I haven't had that experience with CKeditor 4 on Drupal.

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#43
post #31

Earlier quoted context omitted.

Literally the first piece of explanatory text on their homepage and already I'm confused: > Lexical is comprised of editor instances that each attach to a single content editable element. A set of editor states represent the current and pending states of the editor at any given time. What does that even mean? Seriously, if this is how they introduce their product I don't even want to think about how bloated the rest…

HN likes to make fun of MBAs but that description is what happens when programmers do marketing.

> that description is what happens when programmers do marketing

To me, this statement implies that developers of Lexical would be interested in maximizing their user base, as opposed to, say, attracting the right kind of users.

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#44
post #25

Please consider editing the original question's headline to specify "HTML" too :-). Otherwise a reader might think (as I did) that you're asking a question the answer to which could be LibreOffice Writer or other things like that.

This is exactly what I thought when I saw the headline

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#45
post #31

Earlier quoted context omitted.

Literally the first piece of explanatory text on their homepage and already I'm confused: > Lexical is comprised of editor instances that each attach to a single content editable element. A set of editor states represent the current and pending states of the editor at any given time. What does that even mean? Seriously, if this is how they introduce their product I don't even want to think about how bloated the rest…

HN likes to make fun of MBAs but that description is what happens when programmers do marketing.

What happens it that the product actually says what it does and how it works? Great, let's have more of that.

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#46

ProseMirror. It's by far the best codebase I've seen so far with regard to web editors. https://prosemirror.net Another comment mentioned TipTap2. If you're using React and like abstractions, TipTap2 is a good choice in my opinion. But I also enjoyed working with ProseMirror without another library on top. PS: AtlasKit has a lot of boilerplate code for working with PM that makes things easier: https://atlaskit.atlass…

ProseMirror and CodeMirror, been using them in a project for a while, the documentation is a little bit hard to approach though, but once you got used to with all the concepts, it's just great.

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#48
post #21

Earlier quoted context omitted.

There's no reply button for the first 2 minutes or something in a busy thread, but you can get one by clicking the comment's time stamp.

Where is the comments timestamp?

The link in a comment's header that says "0 minutes ago", "8 hours ago", or whatever. That's how you get a direct link to a comment.

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#49
post #42
post #26

Earlier quoted context omitted.

In my experience using CKeditor in Moodle, CKeditor generates invalid HTML (especially around lists) and sometimes bad HTML that does weird things like insert random spans and hardcode font sizes. I still prefer it over TinyMCE, another Moodle option, but I can't trust it to do the right thing.

Can you give examples of invalid HTML generated? I haven't had that experience with CKeditor 4 on Drupal.

The most common problem I hit is a bunch of extra close tags when working with nested lists, like this:

  
    A
    
      
        B1
        B2
      
    
  
  
  

Re: Ask HN: What is your favorite FOSS WYSIWYG editor?

#50
post #4

I really enjoyed working with Prosemirror/TipTap2. It‘s extremely flexible!

I've been using Prosemirror on LegendKeeper for 5 years now. It's a challenging library to use, but there's very little you can't do with it. Chasing down cross-platform bugs is a nasty business though.
Post reply on HN