Quill Options Fix to Match Documentation (#29545)

* Quill Options Fix to Match Documentation

https://quilljs.com/docs/api/#debug
Debug can take a string or boolean.

* Version Up

* CI Failed

* Adding test
This commit is contained in:
Krishna Glick
2018-10-11 13:57:10 -04:00
committed by Andy
parent e6526ac29b
commit 124fddf61c
2 changed files with 12 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ export interface ClipboardStatic {
}
export interface QuillOptionsStatic {
debug?: string;
debug?: string | boolean;
modules?: StringMap;
placeholder?: string;
readOnly?: boolean;

View File

@@ -12,6 +12,17 @@ function test_quill() {
});
}
function test_quill_opts() {
const quillEditor = new Quill('#editor', {
modules:
{
toolbar: { container: "#toolbar" }
},
theme: 'snow',
debug: true,
});
}
function test_scroll() {
const quillEditor = new Quill('#editor');
const blot: Blot = quillEditor.scroll;