Added original Vuexy files and cloned focus2 views into vuexy views for its conversion

This commit is contained in:
imnavajas
2023-05-06 13:01:53 +02:00
parent f0772cf1a6
commit ab99ba508b
1240 changed files with 240576 additions and 12 deletions

View File

@ -0,0 +1,93 @@
/**
* 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'
});
})();