Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve tried that Enable jQUERY Migrate but nothing changes sadly.
    ok
    but choose the older version: 1.12.4-wp

    • This reply was modified 3 years, 11 months ago by Bob333.
    Thread Starter tlouwet

    (@tlouwet)

    @bob333
    Oh damn, didn’t notice that… THANKS!

    Plugin Author oferwald

    (@oferwald)

    Hi,

    A solution for this would be to fully enclose the textarea tag and not let it self enclose. which I really don’t understand.

    Do this:
    Open the file transposhedit.js and search for this:

    <textarea cols="80" row="3" name="original" id="'+u+'original" readonly="y"/><span id="'+u+'utlbar"><button id="'+u+'prev">'+v("previous translation")+'</button><button id="'+u+'zoom">'+v("find on page")+'</button><button id="'+u+'next">'+v("next translation")+'</button></span><label for="translation">'+v("Translate to")+'</label><textarea cols="80" row="3" name="translation" lang="'+t_jp.lang+'"id="'+u+'translation"/>

    And replace with this:

    <textarea cols="80" row="3" name="original" id="'+u+'original" readonly="y"/></textarea><span id="'+u+'utlbar"><button id="'+u+'prev">'+v("previous translation")+'</button><button id="'+u+'zoom">'+v("find on page")+'</button><button id="'+u+'next">'+v("next translation")+'</button></span><label for="translation">'+v("Translate to")+'</label><textarea cols="80" row="3" name="translation" lang="'+t_jp.lang+'"id="'+u+'translation"/></textarea>

    This will open the editor, but you should also change the option “Override jQueryUI version” in the Advanced settings of transposh – add 1.8.4 or something between 1.8 – 1.9 should work. Seems like the text areas are closing automatically at the wrong position with the new jquery parser(?).

    This is the solution as proposed by the creator Ofer Wald.

    • This reply was modified 3 years, 11 months ago by Dpsachou.
    Thread Starter tlouwet

    (@tlouwet)

    @dpsachou Close to getting it to how it was for sure!

    With your fix:

    View post on imgur.com

    How it is with “Enable JQUERY Migrate”:

    View post on imgur.com

    In any case, the ability to translate is there with your mentioned solution,
    thanks ??

    I confirm: with JQuery Migraste function:

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing edit field and buttons’ is closed to new replies.