Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #763349

    Hi,

    when entereing the following into an element “Code Block” it is deleted during saving.
    <svg height=”210″ width=”500″>
    <polygon points=”200,10 250,190 160,210″ style=”fill:lime;stroke:purple;stroke-width:1″ />
    </svg>

    Is Code Block the wrong place to insert such svg elements?

    Thank you,
    Regards,
    Michael

    #763365

    Hey zwachm,
    The code block is the right place, your quotes were the wrong format, try this:

    <svg height="210" width="500">
    <polygon points="200,10 250,190 160,210" style="fill:lime;stroke:purple;stroke-width:1" />
    </svg>

    Best regards,
    Mike

    #763552

    Hi,

    thank you for your answer.
    I tried it again with your quotes by copy/paste. Still the same.

    The Problem is, that the HTML Code is shown in the Code Block until I save the page. Afterwards the code block element is empty again.

    The HTML code is not stored within the database table _postmeta during saving/updating the wordpress page.
    The element _aviaLayoutBuilderCleanData is empty.

    Regards,
    Michael

    #763595

    Hi Michael,

    I’ve tested the code block with the codes used and it’s saving and showing properly. The code block doesn’t go empty, can you try to disable all plugins and see if this fixes the issue.

    Best regards,
    Nikko

    #763651

    Hi Nikko,

    thank you. This was a great hint.
    It turns out, that the plugin “WPML Multilingual CMS” is causing the problem. Sorry for bothering you!

    Regards,
    Michael

    #763658

    Hi,

    No problem :) Glad we could help.

    Cheers!
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.