forked from qwerty/tupali
organizacion librerias
This commit is contained in:
parent
75ce4e2163
commit
9168fbe54d
24
index.php
24
index.php
@ -631,6 +631,30 @@ if('serviceWorker' in navigator) {
|
||||
$id_empresa = $empresa[0];
|
||||
$embebido = "1";
|
||||
$onload = formulario_embebido($form,$opciones);
|
||||
$librerias_cabeza ="
|
||||
<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});
|
||||
};
|
||||
|
||||
var save = function() {
|
||||
var makrup = $('.wysiwyg').summernote('code');
|
||||
$('.wysiwyg').summernote('destroy');
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||
});
|
||||
|
||||
</script>
|
||||
";
|
||||
}
|
||||
elseif($v[0] =='h') {
|
||||
/// h=ADDON
|
||||
|
Loading…
Reference in New Issue
Block a user