Live data from Hacker News

Wordgard: In-browser rich-text editor from the creator of ProseMirror

wordgard.net

81–90 of 111 posts

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#81
I absolutely hate WYSIWYG editors, they're more "what you get is what I deem possible, through much frustration on your end in trying to tidy things up". Slack on mobile is particularly bad.

Didn't get very far with this one either. Tapped a correction on iOS keyboard and the replacement showed up for a split second before the whole word disappeared.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#82
post #67

Earlier quoted context omitted.

While these use contenteditable, it's not accurate to say they're just contenteditable plus some UI and interop. None of these modern editors (Wordgard, ProseMirror, Lexical, Slate) use contenteditable for the document model. Rather, they have their own internal document model and use contenteditable as a kind of input layer where the editor monitors what the browser does, then translates that into actual edits. Earl…

I’m not a historian but I think FCKEditor and TinyMCE predated contenteditable. These were solutions wrapping textarea back in the day if my memory serves me.

contenteditable I believe was in IE 5.5 in ~2000, I remember playing with it back then. It landed about the same time as "Outlook Web Access" which is arguably the first SPA, originator of AJAX, and first use of XMLHttpRequest. I think TinyMCE and FCKEditor were a little later.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#83
post #57

Earlier quoted context omitted.

Because Meta is a harmful company, for one.

Find a comparable editor then.. I'll save you the trouble, you will not find one.

They should rewrite it in GraphQL, that's turing complete, right?

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#84

The editor aside, really impressed by the artist who did he design - really tasteful, def stood out for me https://kamilastankiewicz.com/

Same thought here - beautiful! I'm curious what the price tag is for getting some illustrations like this done for an existing website.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#85

Why this over Lexical by Meta?

Because Meta is not the default to everything. I've personally been hoping for something like this for a while now. Especially a toolset that is not just targeting yet another SaaS or LLM or social media clone interface. I don't know if you ever used Draft.js that FB put out some time ago, but it was a horribly buggy monstrosity that was a heavy lift to move away from. One could not write several paragraphs and edit…

It's something to avoid for everything. They've gone further with nastiness than the other FAANGs IMO. Though alternatives may be hard to see, they exist, including for PyTorch. In many places it's zero sacrifice like with React.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#86
post #52
post #7

The code appears to be unavailable. This includes not just wordgard but all the ProseMirror code as well. If the motivation for moving off GitHub was "GH is down too much", it might be worth tracking how many 9's of uptime is lost in the self-hosted case.

I've had another report like this (they claimed it had been down for days). But I haven't noticed anything wrong with it (and I'm using it a lot). What did 'down' look like? Also, though GitHub's lack of reliability was part of the motivation to self-host, it was only a minor factor. The way they are trying to make Copilot a thing, at the cost of everything else, the way they handle US sanctions by blocking everybody…

I was on my phone, so all I saw was a generic Safari error message. I think it was site not found, but I don't recall. I'm able to see it now, but am coming in through a different network provider in case that matters.

Also, not to be an apologist, but I trust you realize that "the way they handle US sanctions by blocking everybody from entire countries" is how US companies are required by law to act. Not all do act that way, of course, but almost any that have enough overseas customers to matter do, because they have enough overseas customers to need to be aware of those laws.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#87
post #86
post #52

Earlier quoted context omitted.

I've had another report like this (they claimed it had been down for days). But I haven't noticed anything wrong with it (and I'm using it a lot). What did 'down' look like? Also, though GitHub's lack of reliability was part of the motivation to self-host, it was only a minor factor. The way they are trying to make Copilot a thing, at the cost of everything else, the way they handle US sanctions by blocking everybody…

I was on my phone, so all I saw was a generic Safari error message. I think it was site not found, but I don't recall. I'm able to see it now, but am coming in through a different network provider in case that matters. Also, not to be an apologist, but I trust you realize that "the way they handle US sanctions by blocking everybody from entire countries" is how US companies are required by law to act. Not all do act…

I know that's how sanctions work. What I mean is that the possibility of being locked out of a central facet of my digital life by US legal processes is another strong motivation for self-hosting.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#88

I don't like WYSIWYG on the web. You do a long and tedious formatting of a forum post, then close the tab and it's all gone. I prefer to use a local text editor then Ctrl+V into web form. Which I can with markdown

Check out Linear, I'm not affiliated, just yesterday I happened to close the dialog by misclicking and when I pressed create issue again there was the wall of text I wrote. My point is it's not a technical problem but a product one.

There was a discussion about Linear 26 days ago, which is a pretty cool read:

https://news.ycombinator.com/item?id=48437609

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#89
post #4

Earlier quoted context omitted.

That's due to the React constraints, though

Can you please elaborate? What constraints exactly?

React expects to own the DOM and that state is managed by pure functions. There are good reasons for this, but the consequences are that it's restricting how the web platform works and when something does not agree with it weird things can happen. Is it bad? Sometimes. Is it the rest of the Web fault? I don't believe so. If you are using React you are largely constraining yourself to work in the React model, not in the Web model. That might be fine, but it might also not be.

Re: Wordgard: In-browser rich-text editor from the creator of ProseMirror

#90
post #39

I think most people would love to the know the 'why'. This page discusses differences with prosemirror and is the closest I got to that question: ( https://wordgard.net/docs/prosemirror/ ). One thing to note is that there is not an upgrade path. Many concepts are shared with prosemirror, but it seems that switching means doing quite some work (correct me if I am wrong). Obsidian is based on Code Mirror so I guess the…

> why wordgard is worth the switching cost? It may not be. If you're happy with ProseMirror, continue to use ProseMirror. I have your back. But as the blog posts describes, I had a whole pile of new design insights that avoid some of the issues I've ran into with ProseMirror, so I had the itch to build a new iteration. I'll add a link to the blog post to the docs section of the website. (It's marijn, not merijn.)

Marijn: just came here to say that I think ProseMirror is a brilliantly designed project - that you're intent on improving on it is amazing dedication to your craft.
Post reply on HN