1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

dropzone: Addressed existing todos, cleaned attachment ux

Updated dom layout of attahcments to prevent nested dropzones (No issue
but potential to be one) and updated edit form dropzone handling so the
dropzone item card was not as distracting.
This commit is contained in:
Dan Brown
2023-04-26 23:31:38 +01:00
parent e36cdaad0d
commit 9a17656f88
6 changed files with 10 additions and 15 deletions

View File

@ -13,10 +13,6 @@ 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() {