Permalink
Browse files

Replace the built-in context menu item.

  • Loading branch information...
1 parent f69af30 commit 149f268ba0257d51b52d07c8ae0529435a859215 @wuyuntao committed Aug 23, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 insertlink/plugin.js
View
@@ -21,6 +21,17 @@ CKEDITOR.plugins.add('insertlink', {
e.data.dialog = 'insertlink';
}
});
+
+ if (editor.addMenuItems) {
+ editor.addMenuItems({
+ link: {
+ label : editor.lang.link.menu,
+ command : 'insertlink',
+ group : 'link',
+ order : 1
+ }
+ });
+ }
}
});

0 comments on commit 149f268

Please sign in to comment.