Due to the fact that the plugin searches for all panel-body classed elements to convert back into tab-pane classed elements when converting panels back to tabs, any tab pane content that contains other panels will find their panel-body content removed and made into a tab-pane.
This change adds an additional namespaced class of fw-previous-tab-pane when converting a tab pane to a panel, and then only converts panel-body classed elements which also have the fw-previous-tab-pane class. This leaves any nested panels alone.
Due to the fact that the plugin searches for all
panel-body
classed elements to convert back intotab-pane
classed elements when converting panels back to tabs, any tab pane content that contains other panels will find theirpanel-body
content removed and made into atab-pane
.This change adds an additional namespaced class of
fw-previous-tab-pane
when converting a tab pane to a panel, and then only convertspanel-body
classed elements which also have thefw-previous-tab-pane
class. This leaves any nested panels alone.