restore composer.json, add mysqli extension
This commit is contained in:
90
public/vendor/dashboard/app-assets/js/scripts/editors/editor-quill.js
vendored
Executable file
90
public/vendor/dashboard/app-assets/js/scripts/editors/editor-quill.js
vendored
Executable file
@@ -0,0 +1,90 @@
|
||||
/*=========================================================================================
|
||||
File Name: editor-quill.js
|
||||
Description: Quill is a modern rich text editor built for compatibility and extensibility.
|
||||
----------------------------------------------------------------------------------------
|
||||
Item Name: Vuesax HTML Admin Template
|
||||
Version: 1.1
|
||||
Author: GeeksLabs
|
||||
Author URL: http://www.themeforest.net/user/geekslabs
|
||||
==========================================================================================*/
|
||||
(function (window, document, $) {
|
||||
'use strict';
|
||||
|
||||
var Font = Quill.import('formats/font');
|
||||
Font.whitelist = ['sofia', 'slabo', 'roboto', 'inconsolata', 'ubuntu'];
|
||||
Quill.register(Font, true);
|
||||
|
||||
// Bubble Editor
|
||||
|
||||
var bubbleEditor = new Quill('#bubble-container .editor', {
|
||||
bounds: '#bubble-container .editor',
|
||||
modules: {
|
||||
'formula': true,
|
||||
'syntax': true
|
||||
},
|
||||
theme: 'bubble'
|
||||
});
|
||||
|
||||
// Snow Editor
|
||||
|
||||
var snowEditor = new Quill('#snow-container .editor', {
|
||||
bounds: '#snow-container .editor',
|
||||
modules: {
|
||||
'formula': true,
|
||||
'syntax': true,
|
||||
'toolbar': '#snow-container .quill-toolbar'
|
||||
},
|
||||
theme: 'snow'
|
||||
});
|
||||
|
||||
// Full Editor
|
||||
|
||||
var fullEditor = new Quill('#full-container .editor', {
|
||||
bounds: '#full-container .editor',
|
||||
modules: {
|
||||
'formula': true,
|
||||
'syntax': true,
|
||||
'toolbar': [
|
||||
[{
|
||||
'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', {
|
||||
'align': []
|
||||
}],
|
||||
['link', 'image', 'video', 'formula'],
|
||||
['clean']
|
||||
],
|
||||
},
|
||||
theme: 'snow'
|
||||
});
|
||||
|
||||
var editors = [bubbleEditor, snowEditor, fullEditor];
|
||||
|
||||
})(window, document, jQuery);
|
||||
1
public/vendor/dashboard/app-assets/js/scripts/editors/editor-quill.min.js
vendored
Executable file
1
public/vendor/dashboard/app-assets/js/scripts/editors/editor-quill.min.js
vendored
Executable file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var o=Quill.import("formats/font");o.whitelist=["sofia","slabo","roboto","inconsolata","ubuntu"],Quill.register(o,!0);new Quill("#bubble-container .editor",{bounds:"#bubble-container .editor",modules:{formula:!0,syntax:!0},theme:"bubble"}),new Quill("#snow-container .editor",{bounds:"#snow-container .editor",modules:{formula:!0,syntax:!0,toolbar:"#snow-container .quill-toolbar"},theme:"snow"}),new Quill("#full-container .editor",{bounds:"#full-container .editor",modules:{formula:!0,syntax:!0,toolbar:[[{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",{align:[]}],["link","image","video","formula"],["clean"]]},theme:"snow"})}(window,document,jQuery);
|
||||
Reference in New Issue
Block a user