mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-09 20:43:32 +08:00
Updated attachments to work with new dropzone
- Fixes existing broken attachment edit tabs. - Redesigns area to move away from old tabbed interface. - Integrates new dropzone system, for both addition and edit.
This commit is contained in:
@ -13,6 +13,10 @@ export class EditorToolbox extends Component {
|
||||
|
||||
// Set the first tab as active on load
|
||||
this.setActiveTab(this.contentElements[0].dataset.tabContent);
|
||||
|
||||
setTimeout(() => {
|
||||
this.setActiveTab('files', true);
|
||||
}, 500);
|
||||
}
|
||||
|
||||
setupListeners() {
|
||||
|
Reference in New Issue
Block a user