Igor
Igor

Reputation: 2919

TinyMCE wrong button names

Button naming problem

The same thing is for all the buttons. Advanced theme. I tired trying to figure out what is going on here.

Editor init:

   tinyMCE.init({
     // General options
    elements : "elm1",  mode : "textareas",
theme : "advanced",
force_br_newlines : true,
theme_advanced_buttons1 : "link,unlink,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "",
theme_advanced_resizing : true,
    });

UPD: TinyMCE works with simple theme. Problem caused by advanced theme only.

Upvotes: 1

Views: 147

Answers (4)

Igor
Igor

Reputation: 2919

The problem was in incompatibility of language file formats

Upvotes: 0

yb007
yb007

Reputation: 1377

I was able to recreate your problem by deliberately introducing some errors in en.js.

So my suggestion is to have a fresh copy of en.js

Hope it helps!!

Upvotes: 2

Manoj Agarwal
Manoj Agarwal

Reputation: 385

The issue is that themes/advanced/skins/cirkuit/ui.css is missing or is corrupt. Try to check skins directory and look for the css files inside this directory. If these css files are in place, you will not face this issue.

Upvotes: 1

Taha Jahangir
Taha Jahangir

Reputation: 4902

Translation JS file is missing. Probably you initiated tinyMCE in a wrong way.

Upvotes: 1

Related Questions