Live data from Hacker News

Quill – An Open Source Rich Text Editor with an API

quilljs.com

51–60 of 66 posts

Re: Quill – An Open Source Rich Text Editor with an API

#51
looks really nice! Though the most important thing for me would be an easy way to add image upload functionality. Most opensource editors seem to only support insert image from URL, but some standard plugin for PHP upload, or any other language, would make it a winner for me.

Re: Quill – An Open Source Rich Text Editor with an API

#52
This project looks nice, but I have used a few of WYSIWYG editors (mainly HTMLarea/Xinha and FSCK/CKeditor) and must say I was NOT impressed with the calls I got from customers: "If I am using IE6 and when edit text I get lots of newlines... But if I edit the same text in FF, it is all garbled. Why is that?"

Granted, it's been a few years so this might be solved by now, but to me the final solution was WYMeditor [0]. It makes sense too - user should enter content and mark it as title / text / subtitle, add images and similar... but the design of the final page should be left to designer, not to user. What if you want to change the design sometime later?

[0] http://www.wymeditor.org/

Re: Quill – An Open Source Rich Text Editor with an API

#54

Quill looks promising,but pasting from word doesn't seem to work.Most editors built today focus a lot on semantic tags generated for bold( ) and not much on paste from word.Would love to see an editor that implements proper paste from ms word

Support for copy and pasting from ms word is the biggest issue I currently have at my day job. We are creating online learning environments where the majority of the content has been created in other formats and is copy and pasted into our systems. We currently use TinyMCE but it is a pig to work with and I'm desperate for a better solution.

Re: Quill – An Open Source Rich Text Editor with an API

#55
post #6

As someone who had tried to implement a modern rich text editor with custom plugins, this seems like a terrific solution to a real problem. I had used a fairly nice wrapper around contenteditable[0], but this seems like a much more featureful, easily extensible option. The other options (CKEditor seemed most popular) are heavyweight, complex, poorly documented solutions that don't seem amenable to easily creating lig…

[deleted]

Re: Quill – An Open Source Rich Text Editor with an API

#56
The biggest issue I've had with this sort of editor is pasting from word or other programs which attempt to insert formatting, how are you planning handling that? Do you currently strip out spurious tags received like comment tags? It'd be great to see everything stripped except b and i tags for example.

Re: Quill – An Open Source Rich Text Editor with an API

#57

The biggest issue I've had with this sort of editor is pasting from word or other programs which attempt to insert formatting, how are you planning handling that? Do you currently strip out spurious tags received like comment tags? It'd be great to see everything stripped except b and i tags for example.

Scribe comes with a “sanitizer” plugin. See http://www.theguardian.com/info/developer-blog/2014/mar/20/i...

Re: Quill – An Open Source Rich Text Editor with an API

#58

Quill looks promising,but pasting from word doesn't seem to work.Most editors built today focus a lot on semantic tags generated for bold( ) and not much on paste from word.Would love to see an editor that implements proper paste from ms word

Word is a quite a PITA indeed, have yet to find a client-side editor that reliably strips out the boatloads of extraneous markup that a simple copy-paste from Word generates.

Scribe comes with a “sanitizer” plugin. See http://www.theguardian.com/info/developer-blog/2014/mar/20/i...

Re: Quill – An Open Source Rich Text Editor with an API

#59

Just to clear up any confusion: this is not the same as the Guardian’s “Scribe” project ( https://github.com/guardian/scribe ). I believe Quill did used to be called Scribe, but they are not the same. (Similar in purpose - take your pick.)

This had me confused until I read your comment, thanks for clearing it up.

I love scribe, it's the most consistent of all the editors I have tried (and I have pretty much tried them all). Would love to see image support though. I know there is a pull request pending for some time on this issue but hope it can make it to the core. Even nicer would be to have hover controls on inserted image (using shadow DOM I presume) that allow modifying its attributes (right/left align, alt text etc).

Re: Quill – An Open Source Rich Text Editor with an API

#60

The biggest issue I've had with this sort of editor is pasting from word or other programs which attempt to insert formatting, how are you planning handling that? Do you currently strip out spurious tags received like comment tags? It'd be great to see everything stripped except b and i tags for example.

I tried to paste text from Word 2013 on chrome and it's possible to only as plain text. The normal Paste did not do anything..
Post reply on HN