Before you ask please READ THIS

Flyout box

Im having problem with flyout box. I says i can edit with html but html doesnt work neither does font awesome icons.
best regards.

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    I have just tested it, and changing the icon and HTML worked fine for me.

    However, HTML that you can use here is limited to this list https://codex.wordpress.org/Function_Reference/wp_kses#Allowed_HTML_Tags_Array due to security. I will update documentation with this info.

    So you may not be able to do some rich formatting here, only simple info.

    With kind regards.
  • AirAir
    Posts: 10,970
    I think it may be too strict currently. Try such change in code, to be able to insert the same HTML as in post editor.

    Go to rife\advance\inc\customizer\sanitization.php lin ~105 and change this
    return wp_kses_data( balanceTags( $value, true ) );
    to
    return wp_kses_post( balanceTags( $value, true ) );

    I will think about adding the same change for next update.

    With kind regards.
  • its working now :D thank you for your help.. again :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!