remove comment

This commit is contained in:
Diego Najar 2018-10-18 22:48:18 +02:00
parent 13605eb315
commit a07a0fe346
4 changed files with 6 additions and 8 deletions

View File

@ -46,7 +46,6 @@ class dbList extends dbJSON
// Returns all the items from the list
if ($numberOfItems==-1) {
// Invert keys to values, is necesary returns as key the key pages
return $list;
}

View File

@ -1,4 +1,4 @@
.editor-toolbar { background: #f1f1f1; border-radius: 0 !important; }
.editor-toolbar::before { margin-bottom: 2px !important }
.editor-toolbar::after { margin-top: 2px !important }
.CodeMirror, .CodeMirror-scroll { min-height: 450px !important; border-radius: 0 !important; }
.CodeMirror, .CodeMirror-scroll { flex:1; border-radius: 0 !important; }

View File

@ -76,14 +76,14 @@ class pluginsimpleMDE extends Plugin {
simplemde.codemirror.refresh();
}'.PHP_EOL;
// Function required for Autosave function
// Returns the content of the editor
// Function required for Bludit
$html .= 'function editorGetContent(content) {
return simplemde.value();
}'.PHP_EOL;
// Function required for Media Manager
// Insert an image on the editor in the cursor position
// Insert an image in the editor in the cursor position
// Function required for Bludit
$html .= 'function editorInsertMedia(filename) {
addContentSimpleMDE("!['.$L->get('Image description').']("+filename+")");
}'.PHP_EOL;

View File

@ -52,14 +52,13 @@ class pluginTinymce extends Plugin {
public function adminBodyEnd()
{
global $L;
// Load the plugin only in the controllers setted in $this->loadOnController
if (!in_array($GLOBALS['ADMIN_CONTROLLER'], $this->loadOnController)) {
return false;
}
// Load object $language
global $L;
$toolbar1 = $this->getValue('toolbar1');
$toolbar2 = $this->getValue('toolbar2');
$content_css = $this->htmlPath().'css/tinymce.css';