Skip to content

Commit

Permalink
FIX Set better order for insert link menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Aug 12, 2019
1 parent eb06d6c commit d9cc265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/dist/js/TinyMCE_sslink-file.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/src/entwine/TinyMCE_sslink-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ TinyMCEActionRegistrar.addAction(
text: i18n._t('AssetAdmin.LINKLABEL_FILE', 'Link to a file'),
// eslint-disable-next-line no-console
onclick: (activeEditor) => activeEditor.execCommand(commandName),
priority: 80
},
editorIdentifier,
).addCommandWithUrlTest(commandName, /^\[file_link/);
Expand Down

0 comments on commit d9cc265

Please sign in to comment.