Viewing 14 replies - 16 through 29 (of 29 total)
  • And with this, you can use the filter mce_css, that was my point ??

    Thread Starter samroud

    (@samroud)

    Thank’s, this seems to work for me too!

    thank you soooo much, it really works!
    spent all weekend trying to figure this out.

    Anonymous User

    (@anonymized-7837873)

    This does fix it. But it has a major flaw. If you do this change, and switch language while editing an unsaved post, you will lose your changes. This was reported elsewhere.

    As you can see in the link above, I posted an alternative solution, which is copied below…

    Instead of removing the js completely, I tried changing the js that it calls, giving it a longer timeout period. I think the issue is that sometimes this chunk of qTranslate js is getting called too early.

    Here is qtranslate_javascript.php from line 217. You need to change the number at the end of this, from 250. When I changed it to 500, it seemed to fix the issue.

    $q_config['js']['qtrans_disable_old_editor'] = "
    		var waitForTinyMCE = window.setInterval(function() {
    				if(typeof(tinyMCE) !== 'undefined' && typeof(tinyMCE.get2) == 'function' && tinyMCE.get2('content')!=undefined) {
    					content=jQuery('#content').val();
    					tinyMCE.get2('content').remove();
    					jQuery('#content').val(content);
    					window.clearInterval(waitForTinyMCE);
    				}
    			}, 500); // HACK: used to be 250
    		";

    So far it is working for me. Please let us know if this fixes it for you.

    the 500 works for me so far ?? thumbs up ??

    (I have spend 5 days on this little setback)

    Creamille commet is the solution. Thanks!

    Anonymous User

    (@anonymized-7837873)

    @valtido Glad it worked for you too.

    @carolinarondon Just remember, if you do that, you will lose any changes when you switch language tabs on the editor without hitting save first. That’s something my clients would definitely do, and they would get very upset. My solution doesn’t have that problem.

    However, I’m not sure if you can use the filter mce_css with my solution or not. If anyone does any testing of that, please post your findings here.

    And I’m missing the language switcher in visual editor.
    Previously I could switch between visual, html mode as well as between english and some other language. Right now I can only switch between html /visual mode, and the content in html mode is placed for both languages in language separators.
    <!–:pl–>

    <!–:–><!–:en–>

    <!–:–>

    That happen out of nothing. I logged in after just a few days and noticed missing lang switcher in editor.
    I was just about to teach the client how to enter a multi language content.

    Anyone has an idea what could be wrong?

    @jamesbonham

    your solution appears to be working for me. I just shortened the interval to 300 (ms?), 500 was a bit slow for me.

    It is such a minor adjustment that should not create problems elsewhere. Pure genius, thanks!

    I have the same problem, the solution posted by jamesbonham sometimes works, but other times I still don’t see the text in the content editor. Anyone have another solution?Thanks.

    I wanted to say that it’s wonderful to know that somebody else also mentioned this as I had trouble finding the same information elsewhere. This was the first place that told me the answer. With thanks. My kind regards,

    https://www.backyardtoyco.com/

    Great information…This is certainly distinctive. An stare upon those content articles and we are baffled. We’re interested in this kind of activities. Experts appreciate your particular hints, and evaluate your precious time with this. Please keep modifying.

    https://suddenlife.com/home/

    I am having the same problem but I’m not using qtranslate? Can I use the same solution for my problem? I am also not switching between languages, just having a visual editor where I can’t see text, or even highlight it. I can’t even put text in the box anymore, for any of my pages..?

    figured it out – it was the Youtube plugin By Elke Hinze, Plumeria Web Design. All back to normal after deactivating it.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘[Plugin: qTranslate] Problems displaying in the editor’ is closed to new replies.