Skip to content

Commit

Permalink
Order shortcodes by title
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio-Emmolo committed Jul 2, 2024
1 parent e4886f7 commit f59fa1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shortcodeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ tinymce.PluginManager.add('shortcodeList', function (editor, url) {
description: 'Move the products block in BestOf article - Tom\'s Hardware* Spaziogames*'
}
]
shortcodes.sort((a, b) => a.title.localeCompare(b.title))

const content = `
<div>
Expand Down

0 comments on commit f59fa1a

Please sign in to comment.