Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #249403

    I created some text blocks in the layout builder and inside the text blocks I used the “textarea” html tag. After saving it appears to break the editor. I’m guessing this is a bug.

    Is there a different way to do aside from within a text block?

    #249559

    Hey tbrim20!

    Thank you for using the theme!

    Regretfully, I’m not entirely sure of what it is you’re trying to do. If you don’t mind, please post the code on pastebin.com then we’ll check it and test it on our end. We’ll give you a response once we have taken a look at the issue.

    Cheers!
    Ismael

    #249573

    Hi Ismael,

    In the Layout Editor, create a column. Then insert a text block element inside the column. Then edit the text block and insert a “textarea” like shown in the pastbin link below:

    http://pastebin.com/0AFkLLh4

    When I do this it previews OK, but once I update/publish the page, strange things happen in the editor and it breaks.

    Let me know if you need any more detail.

    Cheers,

    -Tom

    #250607

    Hi!

    You will need to use a plugin like this one to include html snippets into a shortcode and then call them that way: https://wordpress.org/plugins/insert-html-snippet/

    We are working on a code block to properly escape the content inside of it and prevent the wpautop function from running but its not quite ready yet.

    Best regards,
    Devin

    #251430

    Thanks Devin. That does the trick!

    Will be even nicer when you guys integrate this into the theme so it’s one less plugin to rely on.

    Cheers,

    -Tom

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘html textarea tag breaks Avia Layout Builder’ is closed to new replies.