refactor(task-drawer): update tab behavior and enhance link handling in description editor
- Changed tab component property from 'destroyInactiveTabPane' to 'destroyOnHidden' for improved tab management. - Added CSS styles for links in the description editor to enhance visibility based on theme mode. - Implemented link click handling to open links in a new tab while preventing default editor behavior, improving user experience.
This commit is contained in:
@@ -222,7 +222,7 @@ const TaskDrawer = () => {
|
||||
<Tabs
|
||||
type="card"
|
||||
items={tabItems}
|
||||
destroyInactiveTabPane
|
||||
destroyOnHidden
|
||||
onChange={handleTabChange}
|
||||
activeKey={activeTab}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user