Technical Details
Forum version : #phpBB3
Position : Administrator
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : http://egy-tech.forumegypt.net/
Description of problem
Welcome guysI use the following code to add a button to the Reply Box Editor
- Code:
// JavaScript Document
$(function() {
if (!$.sceditor) return;
$.sceditor.command.set('ButtonLink', {
exec : function() {
this.insertText('some text');
},
txtExec : function() {
this.insertText('some text');
},
tooltip : 'uplaod file'
});
toolbar = toolbar.replace(/link/, 'ButtonLink,link');
});
But this button adds some text in the reply box .... instead I want to open a pop-up window .... Like the button "Upload images" currently in the editor's bar
thank you in advance