correccion editor html en Edicion
This commit is contained in:
parent
58805949ed
commit
769321a266
30
index.php
30
index.php
@ -353,6 +353,36 @@ if ($variable !=''){
|
||||
<script src='./librerias/summernote/summernote.js'></script>
|
||||
<link href='./librerias/summernote/summernote.css' rel='stylesheet'>
|
||||
";
|
||||
$librerias_pie ="
|
||||
|
||||
<script type='text/javascript'>
|
||||
//// wysiwyg
|
||||
var edit = function() {
|
||||
$('.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');
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||
});
|
||||
|
||||
</script>
|
||||
";
|
||||
$form = remplacetas('form_datos','control',$identificador,'form_id',"") ;
|
||||
$empresa = remplacetas('form_id','id',$form['0'],'id_empresa',"") ;
|
||||
$id_empresa = $empresa[0];
|
||||
|
Loading…
Reference in New Issue
Block a user