You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/EditorToolbar.vue
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/FormatDropdown.vue
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/MobileTopBar.vue
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/PasteDropdown.vue
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/ToolbarButton.vue
Copy file name to clipboardExpand all lines: contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/composables/useToolbarActions.js
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,10 @@ export function useToolbarActions(emit) {
241
241
}
242
242
};
243
243
244
+
consthandleMinimize=()=>{
245
+
emit('minimize');
246
+
};
247
+
244
248
// Helper function to check if a mark is active
245
249
constisMarkActive=markName=>{
246
250
returneditor?.value?.isActive(markName)||false;
@@ -393,6 +397,13 @@ export function useToolbarActions(emit) {
393
397
},
394
398
]);
395
399
400
+
constminimizeAction={
401
+
name: 'minimize',
402
+
title: 'Minimize Toolbar',
403
+
icon: require('../../assets/icon-unfold.svg'),
404
+
handler: handleMinimize,
405
+
};
406
+
396
407
return{
397
408
// Individual handlers
398
409
handleUndo,
@@ -422,5 +433,6 @@ export function useToolbarActions(emit) {
0 commit comments