1
0
Fork 0

organizacion librerias

This commit is contained in:
humano 2018-06-20 11:15:54 -05:00
parent 385ea26964
commit 5858e5481a
1 changed files with 26 additions and 5 deletions

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,8 +674,19 @@ 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() {
var makrup = $('.wysiwyg').summernote('code');