Input Slider Disappears in Tab Module

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28896
    Quint Rahaman
    Participant

    Hello,

    I want to use an input slider in one of my tabs. Here’s the HTML:
    <input type=”range” min=”0″ max=”11″ value=”11″ class=”slider” id=”myNewRange”>

    Here’s where I entered the code:
    https://www.dropbox.com/s/wahmlly7p5vvbsv/Screenshot%202018-01-12%2009.38.41.png?dl=0

    Here’s what it looks like in the Visual editor:
    https://www.dropbox.com/s/yk78hzaxkym6r56/Screenshot%202018-01-12%2009.38.52.png?dl=0

    And here’s the final output on the page:
    https://www.dropbox.com/s/nyqemrnr3sxs6fb/Screenshot%202018-01-12%2009.39.15.png?dl=0

    It’s missing.

    Using the developer console, I tried to find the input element with id of “myNewRange” but it appears as though it does not exist.

    Your username and password: livemesh
    url: https://telesis.wefoster-platform.co/

    url with your tab module: https://telesis.wefoster-platform.co/dashboard/

    The tab module with the input slider is in the tab titled, “TEST”.

    Thank you,

    Quint

    #28915
    Raghavendra
    Moderator

    Sorry about the delayed reply. Can you pls make a small code change in the file includes/modules/labb-tabs/includes/frontend.php file at line number 72 to –

    $tab_content = '<div id="' . $tab_id . '" class="labb-tab-pane">' . do_shortcode($tab->tab_content) . '</div>';

    and see if that resolves the issue? Basically we need to remove call to function wp_kses_post() which strips out
    certain tags.

    Have made this change in the dev branch and the next update will have this change incorporated. It did resolve the issue in my dev site. Thanks for bringing this to our attention.

    #28917
    Quint Rahaman
    Participant

    Hello Raghavendra,

    Your edited code worked. Thank you for resolving! By the way, I did not receive a notification email that you had responded.

    Cheers,

    Quint

    [quote quote=28915]Sorry about the delayed reply. Can you pls make a small code change in the file includes/modules/labb-tabs/includes/frontend.php file at line number 72 to –

    $tab_content = '

    ' . do_shortcode($tab->tab_content) . '

    ';

    and see if that resolves the issue? Basically we need to remove call to function wp_kses_post() which strips out
    certain tags.

    Have made this change in the dev branch and the next update will have this change incorporated. It did resolve the issue in my dev site. Thanks for bringing this to our attention.

    [/quote]

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Beaver Builder Addons Support’ is closed to new topics and replies.