Describe the bug:
The table-toolbar and link-toolbar elements are being duplicated in the DOM during editor usage. Additionally, styles for these elements are injected at the root level and impact global styles unintentionally.
Expected behavior:
- Only one instance of each toolbar element should exist in the DOM at any time.
- Styles for toolbar elements should be properly scoped to avoid interfering with root/global styles.
Steps to reproduce:
- Open the Markdown Editor and trigger actions involving the table-toolbar and link-toolbar.
- Inspect the DOM and observe duplication of these elements.
- Review root DOM for style leakage related to toolbar styling.
Suggested fix:
- Ensure toolbar elements are not re-rendered or duplicated.
- Refactor styling logic to scope CSS for toolbars to avoid global application.
Additional context:
This affects editing experience and can cause layout/style conflicts when used in larger projects.
Describe the bug:
The
table-toolbarandlink-toolbarelements are being duplicated in the DOM during editor usage. Additionally, styles for these elements are injected at the root level and impact global styles unintentionally.Expected behavior:
Steps to reproduce:
Suggested fix:
Additional context:
This affects editing experience and can cause layout/style conflicts when used in larger projects.