mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminando servicios manipulados y preimpresion
This commit is contained in:
@ -1,93 +0,0 @@
|
||||
/**
|
||||
* Form Editors
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
// Snow Theme
|
||||
// --------------------------------------------------------------------
|
||||
const snowEditor = new Quill('#snow-editor', {
|
||||
bounds: '#snow-editor',
|
||||
modules: {
|
||||
formula: true,
|
||||
toolbar: '#snow-toolbar'
|
||||
},
|
||||
theme: 'snow'
|
||||
});
|
||||
|
||||
// Bubble Theme
|
||||
// --------------------------------------------------------------------
|
||||
const bubbleEditor = new Quill('#bubble-editor', {
|
||||
modules: {
|
||||
toolbar: '#bubble-toolbar'
|
||||
},
|
||||
theme: 'bubble'
|
||||
});
|
||||
|
||||
// Full Toolbar
|
||||
// --------------------------------------------------------------------
|
||||
const fullToolbar = [
|
||||
[
|
||||
{
|
||||
font: []
|
||||
},
|
||||
{
|
||||
size: []
|
||||
}
|
||||
],
|
||||
['bold', 'italic', 'underline', 'strike'],
|
||||
[
|
||||
{
|
||||
color: []
|
||||
},
|
||||
{
|
||||
background: []
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
script: 'super'
|
||||
},
|
||||
{
|
||||
script: 'sub'
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
header: '1'
|
||||
},
|
||||
{
|
||||
header: '2'
|
||||
},
|
||||
'blockquote',
|
||||
'code-block'
|
||||
],
|
||||
[
|
||||
{
|
||||
list: 'ordered'
|
||||
},
|
||||
{
|
||||
list: 'bullet'
|
||||
},
|
||||
{
|
||||
indent: '-1'
|
||||
},
|
||||
{
|
||||
indent: '+1'
|
||||
}
|
||||
],
|
||||
[{ direction: 'rtl' }],
|
||||
['link', 'image', 'video', 'formula'],
|
||||
['clean']
|
||||
];
|
||||
const fullEditor = new Quill('#full-editor', {
|
||||
bounds: '#full-editor',
|
||||
placeholder: 'Type Something...',
|
||||
modules: {
|
||||
formula: true,
|
||||
toolbar: fullToolbar
|
||||
},
|
||||
theme: 'snow'
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user