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…
Pell – A simple and small rich-text editor for the web
61–70 of 106 posts
Re: Pell – A simple and small rich-text editor for the web
#62It'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…
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
#63Hi 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 think it's good to showcase new ways of solving old problems using the latest in browser tech.
Re: Pell – A simple and small rich-text editor for the web
#64Re: Pell – A simple and small rich-text editor for the web
#65Re: Pell – A simple and small rich-text editor for the web
#66> 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
#67Nonsense, 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…
Re: Pell – A simple and small rich-text editor for the web
#68Hi 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…
PS: Also working on one of those bloaty editors.
Re: Pell – A simple and small rich-text editor for the web
#69Hi 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…
Re: Pell – A simple and small rich-text editor for the web
#70That 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).