Explorar o código

#1100 Froala editor - zIndex problem

Alex Trofimov %!s(int64=8) %!d(string=hai) anos
pai
achega
1560c089fe

+ 2 - 0
modules/boonex/froala/classes/BxFroalaEditor.php

@@ -50,6 +50,7 @@ class BxFroalaEditor extends BxDolEditor
                 embedlyKey: '{bx_var_embedly_key}',
                 emoticonsUseImage: false,
                 charCounterCount: false,
+                toolbarSticky: false,
                 quickInsertTags: [],
                 pastePlain: true,
                 language: '{bx_var_lang}',
@@ -231,6 +232,7 @@ EOS;
             $aJs[] = $sJsPrefix . 'boonex/froala/plugins/froala/js/languages/' . $sJsSuffix . $sLang . '.js';
         
         $aCss = array(
+            BX_DIRECTORY_PATH_MODULES . 'boonex/froala/template/css/|editor.css',
             BX_DIRECTORY_PATH_MODULES . 'boonex/froala/plugins/froala/css/|froala_editor.pkgd.min.css', 
             BX_DIRECTORY_PATH_MODULES . 'boonex/froala/plugins/froala/css/|froala_style.min.css',
             BX_DIRECTORY_PATH_MODULES . 'boonex/froala/plugins/froala/css/themes/|' . $this->_aObject['skin'] . '.min.css',

+ 3 - 0
modules/boonex/froala/template/css/editor.css

@@ -0,0 +1,3 @@
+.fr-popup {
+    z-index:1100 !important;
+}