• Hi Elementor team,

    My name is Nikita and I’m a lead developer of the Ultimate Member plugin.
    Our customer has an issue when inserting the user profile shortcode via Elementor page editor.

    We are using data attribute for image uploader fields in shortcode and it looks like:

    <div data-allowed_types="gif,jpg,jpeg,png">{some uploader HTML here}</div>

    WP native editor works fine. But with Elementor I see this replaced HTML:

    <div data-allowed_types="gif,jpg,jpeg.png">{some uploader HTML here}</div>

    var_dump( $allowed_types ) returns the proper string “gif,jpg,jpeg,png” the same time

    So I guess there are some preg_replace or str_replace functionality.

    Please let me know the place where I may disable this or it’s some bug at your side.

    Let me know,
    Thanks!

  • The topic ‘HTML block data-{} attribute with file-types is replaced’ is closed to new replies.