2018-8-24 Quill editor common command(insert, format, etc)

(Article progress: 10%)

Here is a list of common command you would find useful when working with quill editor

Test it youself:

I highly suggest use quill playground to test these command
https://quilljs.com/playground/
so you don't have to create enviorment yourself.

insert at first

quill.insertText(0, 'Hello', 'bold', true);

insert at last

//methods 1
quill.insertText(999999, 'Hello2');

//methods 2
var length = quill.getLength();
quill.insertText(length, 'this get inserted at last position');

(I would come back and finish this article, it's not done yet.)