organizacion librerias

This commit is contained in:
humano 2018-06-20 11:15:54 -05:00
parent 385ea26964
commit 5858e5481a

View File

@ -374,9 +374,19 @@ if ($variable !=''){
<script type='text/javascript'>
//// wysiwyg
var edit = function() {
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:
[
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript', 'fontname']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph', 'style']],
['height', ['height']],
['insert', ['picture', 'link', 'video', 'table', 'hr']],
['misc', ['fullscreen', 'codeview', 'undo', 'redo']]
]
});
};
var save = function() {
var makrup = $('.wysiwyg').summernote('code');
$('.wysiwyg').summernote('destroy');
@ -664,7 +674,18 @@ if('serviceWorker' in navigator) {
<script type='text/javascript'>
//// wysiwyg
var edit = function() {
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:
[
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript', 'fontname']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph', 'style']],
['height', ['height']],
['insert', ['picture', 'link', 'video', 'table', 'hr']],
['misc', ['fullscreen', 'codeview', 'undo', 'redo']]
]
});
};
var save = function() {