nikodemus
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Text wrap glitch with IE7fix works not with ie6
Forum: Everything else WordPress
In reply to: Text wrap glitch with IE7hiho!
i managed to sort of “fix” it – it works now, but now, the javascript is applied twice (!?!) in ie. so the manipulated image is inserted twice in the text. it is annoying too, but you can use it now.
fix:
in tiny_mce.js our “bad” code starts at line 5235tinyMCE.add(TinyMCE_Engine, { createTagHTML : function(tn, a, h) {all you have to do is to change
if (typeof(a[n]) != 'function' && a[n] != null){
to
if (typeof(a[n]) != 'function' && a[n] != ''){
sry, but i dont know the right line-numbers because of inserting my own code-fragments.tested only in ie7/vista
i’ve checked how this feature was implemented in the previous version of wordpress. the code is the ame – the only difference is how the code is defined (wp 2.2.1 rc2
TinyMCE_Engine.prototype.createTagHTML = function(tn, a, h) {
– actual version see above) – so the i think, ie has a problem with this “dynamical” function-definition – but i’m not an expert and never worked with this kind of js-code before.hth
nikodemusForum: Everything else WordPress
In reply to: Text wrap glitch with IE7same here, i get this nasty bug on vista/ie7 and xp/ie6 – works perfectly with ff.
help plz!