You are not logged in.
Pages: 1
Hello
1. I've tried to add my own button to menu and it doesn't work. Button doesn't appear in menu. My code is
xinha_config.registerButton({
id : "fl-embed", // the ID of your button
tooltip : "Embed object", // the tooltip
image : [_editor_url+"images/fl_embed.gif"], // image to be displayed in the toolbar
textMode : false, // disabled in text mode
action : function(editor) { // called when the button is clicked
editor.surroundHTML('', '');
},
});
Maybe it is a problem with putting it in a right toolbar?
2. My idea is to change (I have no idea how - maybe you know) CreateLink Module and add it as my own. It will show a popup window where there is one input box. User will paste there 'embed object code' from youtube so that it will add this code as html.
3. When I create this new module, how should I add it to action parameter in registerButton?
Please help
Tom
Offline
Pages: 1