tinymce – в чем проблемы?

Установил папку tinymce в которой еще были папки docs, examples, jscripts в wp-includes/js/tinymce/plugins/ – (папку docs не заливал), потом залил advanced-wysiwyg.php и активировал его, и пропали изображения в редакторе (одни теги отображаются).
Потом залил все плагины из папки plugins сюда wp-includes/js/tinymce/plugins/
прописал в advanced-wysiwyg.php такое:

<?php
/*
Plugin Name: Advanced WYSIWYG Editor
Plugin URI: http://www.labnotes.org/
Description: Adds more styling options to the WYSIWYG post editor.
Version: 0.2
Author: Assaf Arkin
Author URI: http://labnotes.org/
License: Creative Commons Attribution-ShareAlike
Tags: wordpress tinymce
*/

if (isset($wp_version)) {
    add_filter("mce_plugins", "extended_editor_mce_plugins", 0);
    add_filter("mce_buttons", "extended_editor_mce_buttons", 0);
    add_filter("mce_buttons_2", "extended_editor_mce_buttons_2", 0);
    add_filter("mce_buttons_3", "extended_editor_mce_buttons_3", 0);
}


function extended_editor_mce_plugins($plugins) {
    array_push($plugins, "table", "fullscreen", "_template", "advhr", "advimage", "advlink", "autosave", "cleanup",
"contextmenu", "directionality", "emotions", "flash", "fullpage", "fullscreen", "iespell", "inlinepopups", "insertdatetime",
"layer", "noneditable", "paste", "preview", "print", "save", "searchreplace", "style", "table", "zoom");
    return $plugins;
}


function extended_editor_mce_buttons($buttons) {
return array(
        "formatselect", "bold", "italic", "underline", "strikethrough", "separator",
        "bullist", "numlist", "indent", "outdent", "separator",
        "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
        "link", "unlink", "anchor", "image", "hr", "separator",
        "cut", "copy", "paste", "undo", "redo", "separator",
        "table", "sub", "sup", "forecolor", "backcolor", "charmap", "separator",
        "code", "fullscreen", "wordpress", "wphelp");
}

function extended_editor_mce_buttons_2($buttons) {
    // Add buttons on the second toolbar line
   // return $buttons;
return array(
    "formatselect", "fontselect", "fontsizeselect","separator", "bold", "italic", "underline", "strikethrough", 
    "separator","justifyleft", "justifycenter", "justifyright", "justifyfull", "separator", "bullist", "numlist", 
    "indent", "outdent", "separator", "table" , "separator", "insertdate");
}

function extended_editor_mce_buttons_3($buttons) {
    // Add buttons on the third toolbar line
return $buttons;
//return array(
//    "pasteword", "pastetext", "selectall", "flash");
}
?>

опять активировал advanced-wysiwyg.php но все по старому, в редакторе отображается только одна строка с тегами а эти что прописал

"table", "fullscreen", "_template", "advhr", "advimage", "advlink", "autosave", "cleanup",
"contextmenu", "directionality", "emotions", "flash", "fullpage", "fullscreen", "iespell", "inlinepopups", "insertdatetime",
"layer", "noneditable", "paste", "preview", "print", "save", "searchreplace", "style", "table", "zoom"

не отображаются. Помогите пжл разрулить эту траблу.

А ты кэш браузера обновил? 🙂 Есть такой фокус в Опера и Файерфоксе… Там кэш надо вручную обновлять и перезапускать браузер… 🙂

Да, все обновлял, также в ie запускал, не помагает.

Anonymous
Отправить
Ответ на: