Skip to content

Commit

Permalink
EXAMPLE
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed May 16, 2024
1 parent c251efd commit b97ecc7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/features/popup-menu/ReplaceMenuProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,20 @@ ReplaceMenuProvider.prototype.getPopupMenuHeaderEntries = function(target) {
};
}

headerEntries = {
foo: {
label: 'Foo',
action: () => {},
group: 'foo'
},
...headerEntries,
bar: {
label: 'Bar',
action: () => {},
group: 'bar'
}
};

return headerEntries;
};

Expand Down

0 comments on commit b97ecc7

Please sign in to comment.