FieldType-Quill-1.6.2 not working
FieldType-Quill-1.6.2 not working
Hi Allan,
I downloaded datatables and editor this morning using the download builder https://datatables.net/download/index
I use quill as well. The statement below works with with FieldType-Quill-1.5.6 and Quill 0.20.1. It does not work with FieldType-Quill-1.6.2 and Quill 0.20.1. The new version of FieldType-Quill breaks the toolbar and Quill does not recognize HTML any longer. How can I fix this? How can I fix it and also use the newer versions of Quill (1.x +)? I tried with them as well and it looked even worse.
Please see the attached screen shots as well.
Roland
var contractCredMessageEditor = new $.fn.dataTable.Editor( {
ajax: {
url: 'actions.php?action=tblContractCred'
},
table: "#tblContractCred",
fields: [ {
name: "contract.communication",
type: "quill",
opts: {
placeholder: 'Please enter your message',
theme: 'snow'
}
}
]
} );
This question has an accepted answers - jump to answer
Answers
got it working now with a modified plugin and the latest version of quill
This is the updated version of FieldType-Quill-1.6.2 (please note it does NOT work with older quill versions prior to 1.0. Hence it does not work with the quill version of the download builder!):
And these are the links required to use the latest quill version with the modified plugin:
if you would like to use your own toolbar you need to pass "toolbarHtml" (in previous versions of the plugin it was just "toolbar").
Sorry I didn't manage to get back to you about this yesterday. Darn! I forgot to update the Quill version in the download builder.
I have do so now - its using 1.2.4.
Allan