Jump to content

Tinymce Fullscreen Bug


wakabayashi

Recommended Posts

Hello

 

I found a bug, when you use fullscreen in tinymce. In the file admin-theme.css is a class:

.mce-fullscreen{border:0;padding:0;margin:0;overflow:hidden;height:100%;z-index:100}

This doesn't work... The z-Index has to be higher...

 

 

Btw: Why do you don't you implement fullscreen by standard? It's so horrible to edit a cms page like that...

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

For 1.6.0.11, change z-index to

.mce-fullscreen{...z-index:1099}

in /admin/themes/default/css/admin-theme.css and add fullscreen 3 times in /js/tinymce.inc.js

...
    default_config = {
        selector: ".rte" ,
        plugins : "colorpicker link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor anchor fullscreen",
        toolbar1 : "code,|,bold,italic,underline,strikethrough,|,alignleft,aligncenter,alignright,alignfull,formatselect,|,blockquote,colorpicker,pasteword,|,bullist,numlist,|,outdent,indent,|,link,unlink,|,anchor,|,media,image,|,fullscreen",
        toolbar2: "",
        external_filemanager_path: ad+"/filemanager/",
        filemanager_title: "File manager" ,
        external_plugins: { "filemanager" : ad+"/filemanager/plugin.min.js"},
        language: iso,
        skin: "prestashop",
        statusbar: false,
        relative_urls : false,
        convert_urls: false,
        entity_encoding: "raw",
        extended_valid_elements : "em[class|name|id]",
        menu: {
            edit: {title: 'Edit', items: 'undo redo | cut copy paste | selectall'},
            insert: {title: 'Insert', items: 'media image link | pagebreak'},
            view: {title: 'View', items: 'visualaid fullscreen'},
            format: {title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
            table: {title: 'Table', items: 'inserttable tableprops deletetable | cell row column'},
            tools: {title: 'Tools', items: 'code'}
        }
    };
...
Edited by tuk66 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...