WordPress.org

Support

Support » Plugins and Hacks » mqTranslate removing empty paragraphs on post update

mqTranslate removing empty paragraphs on post update

  • ritmanis
    Participant

    @ritmanis

    I’m using mqTranslate with WordPress 3.9.1, which has TinyMCE 4 by default. Everything was working fine, however, when I installed mqTranslate, every time I update a post, all the empty paragraphs / line breaks are removed, therefore messing up my formatting.
    I have found several fixes on google that preserve formatting, however, none are working with the new TinyMCE.

    https://wordpress.org/plugins/mqtranslate/

Viewing 15 replies - 1 through 15 (of 19 total)
  • ritmanis
    Participant

    @ritmanis

    Can anyone else confirm this problem, or am I the only one?

    I even set up a fresh installation of WordPress and installed the latest mqTranslate, and it still removes all line breaks / empty paragraphs on post update.

    extremecarver
    Participant

    @extremecarver

    I have the same problem! (even if I disable the editor via setting:
    define(‘QT_MIN_SUPPORTED_WP_MINOR_VERSION’, ‘3.8’);
    define(‘QT_MAX_SUPPORTED_WP_MAJOR_VERSION’, ‘3.8’);

    in mqtranslate.php…

    Only if I use a very old not supported editor it works again (Deans FCKEditor for WordPress)..

    I really hate all that editor munging qtranslate or mqtranslate do. I use shorctodes and don’t ever want to see a separate window per language. That makes editing impossible and painful if you have more than 2 or 3 languages activated.

    I would just love if mqtranslate doesn’t mess with the editor. But well, Qtranslate did so too and with Qtranslate I also lost all empty lines (except if used together with Deans FCKEditor).

    extremecarver
    Participant

    @extremecarver

    Now the even bigger problem with standard editor is. If you disable mqtranslate Editor, via setting unsupported Version – you also loose visual editor. Only html editor available – so that’s not usable at all without switching to another editor…

    (of which only Deans FCKEditor doesn’t crash my lines breaks – but therefore now has problems with another plugin).

    ritmanis
    Participant

    @ritmanis

    Never knew about the FCKEditor workaround, thank you for the idea, I’ll have to try it out.

    However, I like the system of separate tabs for every language, so for me it’s essential to keep that functionality. Any way to pair this with FCKEditor?

    extremecarver
    Participant

    @extremecarver

    Nope – all editors that show separate tabs seem to rely on TinyMCE autoformat madness…

    E.g. FolioPress shows stuff a bit different (already tries to consider the width of the page and so on), has different more extensive editing tools – but still messes up with Autoformat.

    The only working solution for me is Deans FCKEditor plugin – but that hasn’t seen an update since years – so I wonder for how long it keeps working (just noted some bugs on a badly programmed payment plugin – though that’s the first time I ran into a bug with it).

    Yeah – and the other solution is to disable visual editor and use html editor. But no thanks – that not my cup of tea for general use.

    Edit – well: http://ithemes.com/2012/03/30/security-alert-deans-fckeditor-with-pwwangs-code-plugin-for-wordpress/

    means actually don’t use Dean’s – security hole. Now that’s getting messy for me…

    ritmanis
    Participant

    @ritmanis

    Well, hopefully chsxf will look in to this problem.

    mic0000
    Member

    @mic0000

    yes,
    if you have a solution with the native editor tinyMCE it will be better!
    Thank you again, this plugin is great, but the deletion of empty paragraphs is really annoying …

    Plugin Author chsxf
    Member

    @chsxf

    I have resolved this bug tonight and the fix will be available in the next release of mqTranslate (2.6.6). I hope to release it by the end of the week.

    Astha44
    Member

    @astha44

    Hi guys,

    i’m curious to know if it has been fixed or not ?

    I downloaded mqtranslate 2.6.6.3 today, and i seem to have the same problem. It destroys the layout of my pages. On some pages it’s not that hard to correct but on the homepage it’s a pain in the neck.

    Thanks

    Hey. I also got the same problem. When I change the editor from English to French, I loose all the HTML layout on the editor.
    Did you find where this is coming from?
    Thanks

    janbuckuliak
    Member

    @janbuckuliak

    a had the same problem. I installed TinyMCE Advanced https://wordpress.org/plugins/tinymce-advanced/ and checked “Stop removing the <p> and
    tags when saving and show them in the Text editor” in Advanced Settings and it works for me.

    Astha44
    Member

    @astha44

    Thanks janbuckliak,

    it seems to be a bit better but the </br> are still beeing removed. I haven’t found a solution so far, even though i tried a couple of ideas such as commenting out the line 120 in the mqtranslate_wphacks.php file, doesn’t work.

    Does anyone have other ideas ?

    papagoejoe
    Member

    @papagoejoe

    Any update on this issue. Still having it with WP 3.9.2 and mqTranslate 2.6.6.3.

    It doesn’t seem to happen every time, but most.

    Thanks for the great work!

    Petluck
    Member

    @petluck

    This is still occurring. WP 3.9.2 and mqTranslate 2.6.6.3. Worse than ever since the fix. Time consuming to keep going back and fix formatting all the time.

    thanks! otherwise works well.

    Plugin Author chsxf
    Member

    @chsxf

    I just released version 2.6.7 which should fix this bug completely.
    All our tests succeeded without exception.
    Let me know if everything is OK for you know.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘mqTranslate removing empty paragraphs on post update’ is closed to new replies.