Files
eam-project/staticfiles/assets/js/pages/form-editor.js
T
2025-05-23 14:44:12 +08:00

42 lines
862 B
JavaScript

/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
/*!********************************************!*\
!*** ./src/assets/js/pages/form-editor.js ***!
\********************************************/
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"
});
/******/ })()
;