Mejoras en las funciones del editor summernot, mas opciones para el editor html
This commit is contained in:
parent
430367f6e4
commit
4e09bf4ef2
15
index.php
15
index.php
@ -1432,7 +1432,7 @@ echo $css_adicional;
|
||||
$ultimos
|
||||
</aside>
|
||||
</div>
|
||||
<div class='col-md-push-1 col-md-9' id='texto_articulo'>"
|
||||
<div class='col-md-9' id='texto_articulo'>"
|
||||
;
|
||||
}else{ echo "<div class='col-sm-12 col-md-push-1 col-md-10' id='texto_articulo'>" ;} ?>
|
||||
<?php echo $eventos;
|
||||
@ -1536,7 +1536,18 @@ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
|
||||
|
||||
//// 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() {
|
||||
|
Loading…
Reference in New Issue
Block a user