Skip to content

Commit

Permalink
chore: fix auto-align to always prefer right align
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Oct 19, 2023
1 parent 09a47ee commit 0d94ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/example-plugin-contextmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ <h2>View Source:</h2>
alert(args.item.title);
break;
case "export-csv":
case "export-pdf":
case "export-txt":
case "export-xls":
alert("Exporting as " + args.item.title);
break;
Expand Down Expand Up @@ -366,7 +366,7 @@ <h2>View Source:</h2>
// we can also have multiple sub-items
command: 'export', title: 'Export',
commandItems: [
{ command: "export-pdf", title: "PDF" },
{ command: "export-txt", title: "Text" },
{
command: 'sub-menu', title: 'Excel', cssClass: "green", subMenuTitle: "available formats", subMenuTitleCssClass: "italic orange",
commandItems: [
Expand Down Expand Up @@ -449,7 +449,7 @@ <h2>View Source:</h2>
// we can also have multiple sub-items
command: 'export', title: 'Export',
commandItems: [
{ command: "export-pdf", title: "PDF" },
{ command: "export-txt", title: "Text" },
{
command: 'sub-menu', title: 'Excel', cssClass: "green", subMenuTitle: "available formats", subMenuTitleCssClass: "italic orange",
commandItems: [
Expand Down

0 comments on commit 0d94ac1

Please sign in to comment.