organizacion librerias
This commit is contained in:
parent
385ea26964
commit
5858e5481a
31
index.php
31
index.php
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user