Textarea field

Support General Textarea field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33708
    closemarketingclosemarketing
    Participant

    Hello, I would like to save scripts in a textarea field, for example <script>console.log('example')</script> but it only saves console.log('example') and I would like it to save the <script> tags </script>.

    Any solution?

    #33733
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If you want to save all HTML tags in the textarea field, please follow this documentation to bypass sanitization https://docs.metabox.io/sanitization/

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