News for hackers. Stuff that matters.
Re:Quill – A cross browser rich text editor with an API by nlte on Sunday October 25, 2015 @11:50AM (#10447176)
A clean, modern RTE has been needed for a long time - would this be the one? Unless of course RTEs are really not needed anymore, which may well be the case.
Re:Quill – A cross browser rich text editor with an API by amelius on Sunday October 25, 2015 @11:55AM (#10447192)
Perhaps this one: http://prosemirror.net/

Anyway, it would be nice to have at least an overview of the architecture of this editor. I'm a bit hesitant to use an editor as a "black box" plugin, because it means that a minor customization may take days of work (or even tossing away the whole editor) in case the architecture is bad.

Re:Quill – A cross browser rich text editor with an API by winter_blue on Sunday October 25, 2015 @01:17PM (#10447491)
Wow, ProseMirror is really great. Thanks for pointing it out! It's wonderful that it uses CommonMark as its document model, and especially that (to quote):"ProseMirror adjusts to your site, not the other way around". :)
Re:Quill – A cross browser rich text editor with an API by ZenoArrow on Sunday October 25, 2015 @12:28PM (#10447301)
Out of curiosity, what are the main use cases for RTE's? I've been using Windows for over 20 years and in that time I can think of only a handful of times I've ever used WordPad.
Re:Quill – A cross browser rich text editor with an API by DCoder on Sunday October 25, 2015 @01:03PM (#10447437)
Websites. RTEs are a necessary evil there. If you want to post some text on your website (an announcement, press release, anything), your options are plain text, RTE, or non-WYSIWYG solutions such as Markdown/HTML, which are far outside a non-technical user's comfort zone. Lots of clients (well, their secretaries) copy-paste articles from Word (sent to them by marketing, sales, legal, press teams) into the website, and that requires an RTE with:

* basic HTML markup (headlines, paragraphs, lists...)

* HTML tables

* images (data:// URIs are good for handling pasted images) and an image/file browser, complete with some image processing that rejects or shrinks down giant images without ruining the image quality, because people will upload giant JPEGs straight from their phone if you let them (naturally, file uploads come with their own cans of worms like server security, disk space, file permissions, growing backups, etc.)

* black magic to cope with Word's markup

Don't forget to make sure that the end result looks consistent with the rest of the site without the users having to manually set the font family/size on all their text... and that the editors can't turn off the RTE and post raw HTML with malicious intent... and a million other things.

Re:Quill – A cross browser rich text editor with an API by ZenoArrow on Sunday October 25, 2015 @02:35PM (#10447818)
Ah, yes that use case makes sense. Thanks.