Skip to content

Commit

Permalink
feat: support for Beautitab
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Feb 9, 2025
1 parent fa390df commit 87f7e61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ export default class NoteToolbarPlugin extends Plugin {
// position === 'props' ? position = 'top' : undefined;
break;
case 'empty':
case 'beautitab-react-view':
case 'home-tab-view':
// move to 'top' if the position is set to 'props'
position === 'props' ? position = 'top' : undefined;
Expand Down Expand Up @@ -1468,6 +1469,7 @@ export default class NoteToolbarPlugin extends Plugin {
// TODO: add canvas support in future (when granular mappings are in place)
break;
case 'empty':
case 'beautitab-react-view':
case 'home-tab-view':
if (this.settings.emptyViewToolbar) {
toolbar = this.settingsManager.getToolbarById(this.settings.emptyViewToolbar);
Expand Down

0 comments on commit 87f7e61

Please sign in to comment.