Live data from Hacker News

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

wordgard.net

91–100 of 111 posts

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

#91

This looks staggeringly brilliant. I was searching for something like this recently but ended up rolling my own using a block-based OT to local server and diff sync to remote ones. I’m reading the system guide and nodding along. It’s super validating to see the similarities and contrasts.

ProseMirror (and presumably Wordgard) just gets so much right.

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

#92
post #10

Getting that WYSIWYG editor up and running was a major stumbling block that I overcame to get my school newspaper a PHP-Nuke site ~25 years ago. It is insane that there isn't a web standard implementation for this passed 15 years ago.

There is contenteditable, which is what all these (Wordgard, ProseMirror) are fundamentally built on. The rest is just the UI, and interop with systems that don't desire arbitrary HTML as input.

"just the UI"

That's a hell of a "just", as anyone working on such projects will tell you. It's super super hard to get this right.

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

#93

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

There are good backends available for ProseMirror and other editors. It's not hard to set them up.

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

#96
One area every editor has failed for me is a very basic one: can I type a full sentence in the editor using my iPhone?

Wordgard failed that test. Inputs coming from autocorrect or the keyboard suggestions are swallowed and delete the partially typed/misspelled word.

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

#97
post #96

One area every editor has failed for me is a very basic one: can I type a full sentence in the editor using my iPhone? Wordgard failed that test. Inputs coming from autocorrect or the keyboard suggestions are swallowed and delete the partially typed/misspelled word.

Yeah I did a review of web based rich text editors a couple years ago. They all seemed fine on desktop, but on mobile every one I tried was junk. I couldn’t select. Autocorrect was broken. Tapping text didn’t move the cursor. Typing would stop working. The keyboard wouldn’t disappear when the element lost focus. And so on.

There have been several efforts over the last couple decades to add a proper rich text element to the web. I don’t know why they have all failed - I guess it’s a large, complex and thankless task. It’s a pity. Proper native rich text support is one of the web’s big blind spots. It’s a problem native platforms have solved decades ago.

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

#98
post #97
post #96

One area every editor has failed for me is a very basic one: can I type a full sentence in the editor using my iPhone? Wordgard failed that test. Inputs coming from autocorrect or the keyboard suggestions are swallowed and delete the partially typed/misspelled word.

Yeah I did a review of web based rich text editors a couple years ago. They all seemed fine on desktop, but on mobile every one I tried was junk. I couldn’t select. Autocorrect was broken. Tapping text didn’t move the cursor. Typing would stop working. The keyboard wouldn’t disappear when the element lost focus. And so on. There have been several efforts over the last couple decades to add a proper rich text element…

Meta has a text editor framework called Lexical that works well on mobile, I've used it at work before with great success. Perhaps you missed this one?

https://lexical.dev/

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

#99
post #96

One area every editor has failed for me is a very basic one: can I type a full sentence in the editor using my iPhone? Wordgard failed that test. Inputs coming from autocorrect or the keyboard suggestions are swallowed and delete the partially typed/misspelled word.

ProseMirror (and as the sibling comment mention, Lexical) should handle this fine.

Both mobile Safari and Chrome Android do a ton of weird things that their desktop siblings don't, and play loose and fast with standards, so getting things to work correctly there tends to involve a long tail of hacks. Wordgard will get there but the focus before this first release has been on architecture.

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

#100
post #97
post #96

One area every editor has failed for me is a very basic one: can I type a full sentence in the editor using my iPhone? Wordgard failed that test. Inputs coming from autocorrect or the keyboard suggestions are swallowed and delete the partially typed/misspelled word.

Yeah I did a review of web based rich text editors a couple years ago. They all seemed fine on desktop, but on mobile every one I tried was junk. I couldn’t select. Autocorrect was broken. Tapping text didn’t move the cursor. Typing would stop working. The keyboard wouldn’t disappear when the element lost focus. And so on. There have been several efforts over the last couple decades to add a proper rich text element…

Fix your phone.
Post reply on HN