Support Forums for LiveMesh Themes & Plugins › Forums › Beaver Builder Addons Support › Input Slider Disappears in Tab Module
- This topic has 2 replies, 2 voices, and was last updated 6 years, 2 months ago by Quint Rahaman.
-
AuthorPosts
-
January 12, 2018 at 5:49 pm #28896Quint RahamanParticipant
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=0Here’s what it looks like in the Visual editor:
https://www.dropbox.com/s/yk78hzaxkym6r56/Screenshot%202018-01-12%2009.38.52.png?dl=0And here’s the final output on the page:
https://www.dropbox.com/s/nyqemrnr3sxs6fb/Screenshot%202018-01-12%2009.39.15.png?dl=0It’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
January 16, 2018 at 1:59 pm #28915RaghavendraModeratorSorry 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.
January 16, 2018 at 4:42 pm #28917Quint RahamanParticipantHello 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]
-
AuthorPosts
- The forum ‘Beaver Builder Addons Support’ is closed to new topics and replies.