Commit f00019c0 authored by campaign's avatar campaign

修正了 hyperlink的dialog

parent 9a0a93f3
...@@ -42,15 +42,14 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) { ...@@ -42,15 +42,14 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) {
label: me.getLang( 'hyperlink.hyperlink' ), label: me.getLang( 'hyperlink.hyperlink' ),
exec: function (url) { exec: function (url) {
$dialog.kmui().show(); $dialog.kmui().show();
this.execCommand( 'hyperlink', url )
}, },
cmdName: 'hyperlink' cmdName: 'hyperlink'
},{ },{
label: me.getLang( 'hyperlink.unhyperlink' ), label: me.getLang( 'hyperlink.unhyperlink' ),
exec: function (url) { exec: function () {
this.execCommand( 'unhyperlink' ) this.execCommand( 'unhyperlink' )
}, },
cmdName: 'hyperlink' cmdName: 'unhyperlink'
} }
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment