WYSIWYG Editor Stripping HREF when utilizing shortcode

Support MB Builder WYSIWYG Editor Stripping HREF when utilizing shortcodeResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35791
    JustLooking2022JustLooking2022
    Participant

    Hello,

    I have created a custom Text field called mylink with value https://www.examplemylink.com/

    I then created a new WYSIWYG custom field

    Within the Text tab of the WYSIWYG editor I have added the following:

    This is the URL

    When i save and then render the page, the entire href tag is stripped so i see only:

    This is the URL

    I can added the following <p>[rwmb_meta id="mylink"]</p> and it display https://www.examplemylink.com/ in text

    I am not quite sure how to resolve this, but it appears that any use of a shortcode within the WYSIWYG editor inside of href="" will strip the entire href element.

    Is there perhaps a solution for this?

    Thank you!

    #35792
    JustLooking2022JustLooking2022
    Participant

    Hi, i just wanted to post that I have resolved this issue utilizing the Sanitization field in advanced settings set to none

    If anyone runs into this issue in the future, here is some documentation on this: https://docs.metabox.io/sanitization/

    Thanks Metabox team - I am good to go and do not require a response to this inquiry.

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