initial commit
This commit is contained in:
32
assets/js/pages/form-editor.js
Normal file
32
assets/js/pages/form-editor.js
Normal file
@@ -0,0 +1,32 @@
|
||||
var snow = new Quill('#snow', {
|
||||
theme: 'snow'
|
||||
});
|
||||
var bubble = new Quill('#bubble', {
|
||||
theme: 'bubble'
|
||||
});
|
||||
new Quill("#full", {
|
||||
bounds: "#full-container .editor",
|
||||
modules: {
|
||||
toolbar: [
|
||||
[{ font: [] }, { size: [] }],
|
||||
["bold", "italic", "underline", "strike"],
|
||||
[
|
||||
{ color: [] },
|
||||
{ background: [] }
|
||||
],
|
||||
[
|
||||
{ script: "super" },
|
||||
{ script: "sub" }
|
||||
],
|
||||
[
|
||||
{ list: "ordered" },
|
||||
{ list: "bullet" },
|
||||
{ indent: "-1" },
|
||||
{ indent: "+1" }
|
||||
],
|
||||
["direction", { align: [] }],
|
||||
["link", "image", "video"],
|
||||
["clean"]]
|
||||
},
|
||||
theme: "snow"
|
||||
})
|
||||
Reference in New Issue
Block a user