Forums

qTranslate
Formatting missing in editor (16 posts)

  1. duckonwater
    Member
    Posted 3 months ago #

    Paragraph formatting is not working in WordPress editor, I know that that there are a few hacks out there to address this but the plugin as-is not functioning properly.
    Hope that it's updated soon and I appreciate the effort put into maintaining such a plugin.
    Looking forward to the next release. Keep up the good work! :)

    http://wordpress.org/extend/plugins/qtranslate/

  2. swearingdad
    Member
    Posted 3 months ago #

    I am having the same issue, all paragraph formatting is being lost when I edit a page.

  3. majkrofajber
    Member
    Posted 3 months ago #

    Have it too. WordPress 3.3.1, and qTranslate v. 2.5.28.
    Formatting is lost after edit, get whole text in one line.

  4. JonasVorwerk
    Member
    Posted 3 months ago #

    Here also, having nothing but problems with this plugin. Formatting the text to one line and permalinks are not working properly.

  5. warrentang
    Member
    Posted 3 months ago #

    Hi, duckonwater

    What's the hacks?

  6. jpcc
    Member
    Posted 3 months ago #

    Same problem as everyone. The site looks a mess...
    Any way to circumvent the problem?
    Thanks!

  7. Passenier
    Member
    Posted 3 months ago #

    Same problem here... hopefully there will be a solution for this problem.
    If nit, are there any other good translation plugins?

  8. pavelsof
    Member
    Posted 3 months ago #

    Have the same problem with editing pages; however, editing posts seems to be OK.

  9. Passenier
    Member
    Posted 3 months ago #

    Hi, I have found some more information on the internet of finding a solution to this problem:

    Teslina.com/

    Unfortunately I don't know where to insert this code. I can go to the plug-in and than the edit part... but I really don't know where to insert the code (don't even know what part of the code I need to insert).

    Hopefully this will help someone else!

  10. pavelsof
    Member
    Posted 3 months ago #

    Adding these lines to functions.php file in the theme directory seems to be working for me (but I have not tested it thoroughly):

    function cbnet_tinymce_config( $init ) {
    	$init['remove_linebreaks'] = false;
    	$init['convert_newlines_to_brs'] = true;
    	$init['remove_redundant_brs'] = false;
    	return $init;
    }
    add_filter('tiny_mce_before_init', 'cbnet_tinymce_config');
  11. Passenier
    Member
    Posted 3 months ago #

    I just got a response from the creator of the code:

    Teslina.com

    It works perfectly for me now! :-)

  12. BStofko
    Member
    Posted 2 months ago #

    I find that the cbnet_tinymce_config fix breaks ordered lists by inserting extra space between the entries on each page save.

    Does anybody else have the same issue?

  13. raido357
    Member
    Posted 2 months ago #

    Id suggest another possible fix for WP 3.3.1.

    Open qtranslate/qtranslate_wphacks.php file, find line 77.

    And replace this:

    if('html' != wp_default_editor()) {
    remove_filter('the_editor_content', 'wp_richedit_pre');
    }

    WITH:

    $version = (float) get_bloginfo( 'version' );
    if ( $version < 3.3 ) {
    if('html' != wp_default_editor()) {
    remove_filter('the_editor_content', 'wp_richedit_pre');
    }
    }

    This simply disables filter removing for WP 3.3.1. After doing that, all my formatting in posts and pages was correct.

    Hope it works for others too.

  14. Passenier
    Member
    Posted 2 months ago #

    Tried the solution from raido... and now my site is completely crashed...
    :-(

  15. Passenier
    Member
    Posted 2 months ago #

    Just reversed the change and its working again...

  16. ChrisFo
    Member
    Posted 1 month ago #

    Using Teslina.com hotfix pages saving seems ok, but now the articles saving in 3 languages (DE, IT, EN) is buggy.
    Primary language DE is ok, but the structure of IT/EN in WYSIWYG is cutted from :

    <p>Introtext <!--more--></p>
    <p><strong>Absatzeröffner</strong></p>
    <p>Text</p>
    <p>[gallery link="file"]</p>

    to

    <p>Introtext <!--more--></p>

    It looks like having some pronlem with <!--more--> tag.
    As non-PHP-coder I dont't know how to continue with a ML-Blog, if qTranslate is so buggy.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags