TinyMCE bug fix on CSS #923

This commit is contained in:
Diego Najar 2019-01-26 10:34:48 +01:00
parent 1dc3f067dc
commit f9f556e639
4 changed files with 17 additions and 8 deletions

View File

@ -1,7 +1,7 @@
.mce-tinymce, .mce-tinymce,
.mce-stack-layout, .mce-stack-layout,
.mce-edit-area{ .mce-edit-area{
display: flex!important; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; flex: 1;
align-items: stretch; align-items: stretch;

View File

@ -44,10 +44,7 @@ class pluginTinymce extends Plugin {
if (!in_array($GLOBALS['ADMIN_CONTROLLER'], $this->loadOnController)) { if (!in_array($GLOBALS['ADMIN_CONTROLLER'], $this->loadOnController)) {
return false; return false;
} }
return '<script src="'.$this->htmlPath().'tinymce/tinymce.min.js"></script>';
$html = '<link rel="stylesheet" href="'.$this->htmlPath().'css/bludit.css">'.PHP_EOL;
$html .= '<script src="'.$this->htmlPath().'tinymce/tinymce.min.js"></script>';
return $html;
} }
public function adminBodyEnd() public function adminBodyEnd()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long