Our angular-built single page app features a drag-and-drop interface for code snippets, each with its own unique styles separate from the main Bootstrap-themed admin panel.
However, due to the differences in styling, navigating to the drag-and-drop section causes the snippets to unintentionally inherit some of the Bootstrap styles, leading to various styling conflicts.
We are seeking a solution that does not involve iframes or overriding Bootstrap styles. Ideally, we would like to either unload Bootstrap and load only the new styles for the drag-and-drop section, or prevent the new content from inheriting any existing styles.
Is there a way to achieve this without reloading the entire app or using an iframe? Perhaps by switching stylesheets or injecting new styles while removing others?