Commit ed8860bf authored by campaign's avatar campaign

by zhanyi

parent 6a811fe9
KityMinder.registerModule( "TextEditModule", function () {
var EditTextCommand = kity.createClass( 'EditTextCommand', {
base: Command,
execute: function ( km, node ) {
node.setData( 'text', prompt( 'input the text:' ) );
km.execCommand( 'rendernode', node );
}
} );
return {
"commands": {
'edittext': EditTextCommand
},
"events": {
}
};
} );
\ No newline at end of file
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