• Resolved kcwa

    (@kcwa)


    When translating a page with the plug-in, most of the Gutenberg blocks styles are lost.

    Example – Before the translation

    <!– wp:columns –>
    <div class=”wp-block-columns”><!– wp:column –>
    <div class=”wp-block-column”><!– wp:ghwp/icon-box {“hasPrimaryText”:true,”mediaAltText”:”Customer reference logo”,”mediaID”:11109,”mediaURL”:”https://XYX.de/wp-content/uploads/2020/09/Reference_logo.svg&#8221;,”primaryTextContent”:”Testtext Spalte 1″} –>
    <div class=”wp-block-ghwp-icon-box ghwp-iconbox ghwp-iconbox–medium ghwp-iconbox–top ghwp-iconbox–custom”><div class=”ghwp-iconbox__icon”><div class=”ghwp-iconbox__icon__wrap”>Customer reference logo</div></div><div class=”ghwp-iconbox__text”><p class=”ghwp-iconbox__text__primary”>Testtext Spalte 1</p></div></div>
    <!– /wp:ghwp/icon-box –></div>
    <!– /wp:column –>

    <!– wp:column –>
    <div class=”wp-block-column”><!– wp:paragraph –>
    <p>Testtext Spalte 1</p>
    <!– /wp:paragraph –></div>
    <!– /wp:column –>

    <!– wp:column –>
    <div class=”wp-block-column”><!– wp:paragraph –>
    <p>Testtext Spalte 1</p>

    Example after the translation:

    <!– wp:paragraph –>
    <p>Test text column 1</p>
    <!– /wp:paragraph –>

    <!– wp:paragraph –>
    <p>Test text column 1</p>
    <!– /wp:paragraph –>

    <!– wp:paragraph –>
    <p>Test text for translation</p>
    <!– /wp:paragraph –>

    What am I missing?

    • This topic was modified 4 years, 3 months ago by kcwa.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation looses Gutenberg Block Styles’ is closed to new replies.