Live data from Hacker News

Pell – A simple and small rich-text editor for the web

github.com

61–70 of 106 posts

Re: Pell – A simple and small rich-text editor for the web

#61
post #40

Nonsense, I've written a much smaller one: `function tinyEditor(element) { element.contentEditable = true }` That, plus a few crude buttons, is all this does. As several other comments point out, there's good reasons why real WYSIWYG packages are bigger—the user experience of working with a plain contentEditable element is still terrible, the output HTML still a complete mess. If you don't care much about that, you d…

Came here to post about ProseMirror, glad you commented :)

Re: Pell – A simple and small rich-text editor for the web

#62

It's great that it's small, but it suffers from the same horrible interactions that most other web editors also suffer from. Try quoting the last paragraph in the editor. It's now impossible to ever escape from the quote. All new text at the bottom stays "quoted". From a cursory test of the editor, it suffers from basically all the issues that contenteditable suffers from. The reason other editors are so big is becau…

> The reason other editors are so big is because the take editing behaviour into account.

It doesn't take it into account as much as it hoists an implicit imperative programming language onto it.

Of course learning markdown for a non-technical user isn't easy, and having a separate "Preview" pane to show the final product certainly isn't a great UX. But it is a delight compared to "for a simple URL, I type the URL, click , then either click the 'X' on the big preview graphic that inescapably appears or click then enter again to get rid of whatever monstrosity Yahoo just added to my message."

Re: Pell – A simple and small rich-text editor for the web

#63

Hi everyone, author of pell.js here, thanks for all the positive AND critical feedback. Hey, this is Hacker News, how boring would it be if everyone's comment was just "Cool" or "Good job"? I love hearing the gripes and individualized complaints of smart people that have worked on similar (and much larger) projects. I'd like to mention a few things about pell.js and it's goals: - It was not made to be the most full-f…

I wonder if you had branded this project along the lines of "You Might Not Need jQuery"[0] you might not have gotten so many comments dismissing it as not a "proper solution" since it "only uses contentEditable"...

I think it's good to showcase new ways of solving old problems using the latest in browser tech.

[0] http://youmightnotneedjquery.com

Re: Pell – A simple and small rich-text editor for the web

#65
What I really wish for is not a way to make textarea WYSIWYG, but a much lighter way to add bold/italic/underline to text inputs, in such a way that I can load lots of these in a single page. It sounds like I have a very niche need, since I haven't found anything like this

Re: Pell – A simple and small rich-text editor for the web

#66
This is still relevant: https://www.joelonsoftware.com/2003/08/01/rick-chapman-is-in...

> When Pepsi-pusher John Sculley was developing the Apple Newton, he didn’t know something that every computer science major in the country knows: handwriting recognition is not possible. This was at the same time that Bill Gates was hauling programmers into meetings begging them to create a single rich text edit control that could be reused in all their products. Put Jim Manzi (the suit who let the MBAs take over Lotus) in that meeting and he would be staring blankly. “What’s a rich text edit control?” It never would have occurred to him to take technological leadership because he didn’t grok the technology; in fact, the very use of the word grok in that sentence would probably throw him off.

My point: Microsoft has identified and satisfied this need 20 years ago. Although I'm a big supporter of the Open Web and open systems in general, sometimes I do long for a bit of dictatorship to get things done. But then I come to my senses :p

Re: Pell – A simple and small rich-text editor for the web

#67
post #40

Nonsense, I've written a much smaller one: `function tinyEditor(element) { element.contentEditable = true }` That, plus a few crude buttons, is all this does. As several other comments point out, there's good reasons why real WYSIWYG packages are bigger—the user experience of working with a plain contentEditable element is still terrible, the output HTML still a complete mess. If you don't care much about that, you d…

@marijn On prosemirror.net home page, typing "#" in the sample editor seems to break it.

Re: Pell – A simple and small rich-text editor for the web

#68

Hi everyone, author of pell.js here, thanks for all the positive AND critical feedback. Hey, this is Hacker News, how boring would it be if everyone's comment was just "Cool" or "Good job"? I love hearing the gripes and individualized complaints of smart people that have worked on similar (and much larger) projects. I'd like to mention a few things about pell.js and it's goals: - It was not made to be the most full-f…

Don't expect the browser vendors to fix contentEditable or inconsistencies for you, this has been the struggle of WYSIWYG editors for as long as they have existed and it really hasn't gotten a whole lot better. You will quickly find out that by the time your getting close to fix those inconsistencies, 4-6 years have passed and your right up there with the rest of the editors in terms of size and complexity.

PS: Also working on one of those bloaty editors.

Re: Pell – A simple and small rich-text editor for the web

#69

Hi everyone, author of pell.js here, thanks for all the positive AND critical feedback. Hey, this is Hacker News, how boring would it be if everyone's comment was just "Cool" or "Good job"? I love hearing the gripes and individualized complaints of smart people that have worked on similar (and much larger) projects. I'd like to mention a few things about pell.js and it's goals: - It was not made to be the most full-f…

Don't expect the browser vendors to fix contentEditable or inconsistencies for you, this has been the struggle of WYSIWYG editors for as long as they have existed and it really hasn't gotten a whole lot better. You will quickly find out that by the time your getting close to fix those inconsistencies, 4-6 years have passed and your right up there with the rest of the editors in terms of size and complexity. PS: Also…

I will most definitely expect browser vendors to perform these fixes. I think you've fallen behind on what's taking place in the browser world right now, a huge percentage of users are on evergreen webkit browsers (and increasing rapidly). The next 4-6 years of web will NOT look like the last 4-6 years of web. And this doesn't even account for bundled browser implementations (electron, etc.)

Re: Pell – A simple and small rich-text editor for the web

#70
I have always wanted a rich text editor where you could see the markdown as well as the formatting it produces at the same time (and in the same edit pane... ie not realtime rendering in a pane above).

That is if you typed:

    **blah**
It would show blah and still show the asterisk but in bold (apologies for using code format but HN will strip the asterisks).

There are of course some editor plugins, and IDEs that do this but I haven't seen one on the web.

EDIT Oh apparently there is stackedit (I hadn't googled in awhile).

Post reply on HN