26

Re: firefox 11 and multiple tinymce instances

shimmoril - Here is how I have it set up.

Settings for TinyMCE.init():

oninit: myCustomInit

myCustomInit function declaration:

function myCustomInit() {
    if ($.browser.mozilla && $.browser.version.indexOf("11") == 0) {
        setTimeout(function() {$('.mceIframeContainer iframe').each(function(i) { $(this).height($(this).height()+1); });},3000);
    }
}

Note: I have reverted by changes from my ealier post to tiny_mce_src.js, so the piece of code above should be enough to get it working.

Last edited by pvincent (2012-03-30 17:04:20)

27

Re: firefox 11 and multiple tinymce instances

I have a serious problems with tinyMCE Version 3.5b3 (2012-03-29) & FF11. My script load a html trought ajax response... this page have a multiple textareas. They appear how tinyMCE editors but are NOT SELECTABLES AND IS NOT POSIBLE EDIT... sad
I probe a several solutions found in various post but, nothing works... any solution????
PD: sorry my english, i am argentine pampa's developer... smile
I'm not use JQuery and in this project not use JQuery... so....

Last edited by soguita (2012-04-16 16:12:48)

28

Re: firefox 11 and multiple tinymce instances

Can you setup a fiddle to reproduce it at fiddle.tinymce.com?

Best regards,
Spocke - Main developer of TinyMCE

29

Re: firefox 11 and multiple tinymce instances

In details, the first load SOME or ALL textareas not works, if reload this page ALL textareas works fine...
I don't understand "fiddle", please help me.
Best regards.
Excuse me... in fiddle.tinymce.com load my init script and work fine in FF11...
However... edit multiple textareas and work fine (!?) but, resize property set as false but textareas are resizing with put problem! :S.
the behaviour is distinct in my page over the same browser...
i am not problem with Crhom, IE (all versions), chromium and opera... i work with Ubuntu 11.10, netBeans over Gnome.

Last edited by soguita (2012-04-16 17:49:57)

30

Re: firefox 11 and multiple tinymce instances

Can't be reproduced here:
http://www.tinymce.com/tryit/skins.php

Need steps to reproduce it or a live example at fiddle.tinymce.com

Best regards,
Spocke - Main developer of TinyMCE

31

Re: firefox 11 and multiple tinymce instances

i am load my init script in fiddle and firebug inform me this error:
f is undefined
fiddle.tinymce.com/tinymce/3.5b3/tiny_mce_src.js
Line 13246
this error ocur when the textarea is focused...

Last edited by soguita (2012-04-16 18:04:38)

32

Re: firefox 11 and multiple tinymce instances

Well, after some time.. i found one solution, at least for me.
First, the script for init the mceEditor class i put ON DEMAND. Call ajax load for several pages and ONLY THEN call function for instantiate tinyMCE editors...
In this way futures reloads for the same page via ajax instantiate correctly the editors. This works finest in IE, Chrome, Opera & Chromium as Firefox... sad i don't know why... but works better in FF11 as my old scripts...

33

Re: firefox 11 and multiple tinymce instances

Hi! my problem, still... when load by ajax a html with several textareas:
first, is not posible get focus over editors
if reload then is posible focus over textareas but to execute:
var content = tinyMCE.getInstanceById(id);
FF launch this error:
j is null
/someurl/tinymce/jscripts/tiny_mce/tiny_mce.js
Line 1
Firebug sometimes show the textarea's ids CHANGED (!?) in the way mce_7 or other number, is not originals ids!!!!
what is wrong? I'm probe with tinyMCE.triggerSave() with same result...
last notice: in chrome or chromium work with out problems, in IE6, IE7, IE8 & IE9 TOO!!!
In FF11 BAD!!!!! PLASE!!! one solution please!!!!

Last edited by soguita (2012-04-18 22:17:05)