1

Topic: Problem with Firefox 12

Hello,

I cannot get the editor to show in FF12, even with the simplest page:

<head>
<script language='text/javascript' type='text/javascript' src='./tiny_mce/tiny_mce_src.js'></script>
</head>
<body>
<textarea columns=10 rows=10 id=editor>

</textarea>

<script type="text/javascript">

  
    tinyMCE.init({
        // General options
        mode: "exact",
        theme: "advanced",
        editor_selector: "mceEditor",
        elements: 'editor',
        editor_deselector: "mceNoEditor",
        relative_urls : false,
           remove_script_host : false,
        document_base_url: "http://localhost:12051/BSIR/",
        plugins: "safari,spellchecker,pagebreak,style,layer,table,advimage,advlink,save,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager,"

        
    });
</script>

</body>

This is using a vanilla set of the tnyMCE 3.5.2 files with no extra plugins etc. Also using the latest version of FF12.

The page shows fine in IE, but in FF the textarea has visibility=hidden added to the attributes and the error console says this.getDoc() is undefined.

Any clues?

2

Re: Problem with Firefox 12

Hello,

OK, so I tried using:

tinyMCE.execCommand("mceAddControl", true, editor)

and now the editor is showing in all the major browsers. But how do add options to that are normally in the init call?

3

Re: Problem with Firefox 12

It will load whatever is in the last init call.