Skip to content

Commit cbe5144

Browse files
authored
Merge pull request #3868 from AlchemyCMS/dependabot/bun/tinymce-8.5.0
chore(deps): bump tinymce from 8.4.0 to 8.5.0
2 parents effa975 + 797f187 commit cbe5144

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

app/javascript/tinymce/plugins/alchemy_link/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,13 @@ tinymce.PluginManager.add("alchemy_link", function (editor) {
4848
// Replace the default link command with our own
4949
editor.addCommand("mceLink", openLinkDialog)
5050
editor.addShortcut("Meta+K", "", openLinkDialog)
51+
52+
// Override the default link menu item so the contextual menu
53+
// (right-click) opens the Alchemy link dialog instead of TinyMCE's.
54+
editor.ui.registry.addMenuItem("link", {
55+
icon: "link",
56+
text: "Link...",
57+
shortcut: "Meta+K",
58+
onAction: openLinkDialog
59+
})
5160
})

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/alchemy/tinymce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ module Tinymce
55
mattr_accessor :languages, :plugins
66

77
DEFAULT_PLUGINS = %w[
8-
alchemy_link
98
anchor
109
charmap
1110
code
1211
directionality
1312
fullscreen
1413
link
1514
lists
15+
alchemy_link
1616
]
1717

1818
@@plugins = DEFAULT_PLUGINS

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"keymaster": "^1.6.2",
3232
"select2": "github:select2/select2#3.5.4",
3333
"sortablejs": "^1.15.7",
34-
"tinymce": "^8.4.0"
34+
"tinymce": "^8.5.0"
3535
},
3636
"devDependencies": {
3737
"@herb-tools/linter": "^0.8.10",

vendor/javascript/tinymce.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)