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:
Dan Brown
2023-04-26 16:41:34 +01:00
parent 722c38d576
commit e36cdaad0d
13 changed files with 131 additions and 84 deletions

View File

@ -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() {