How do I add a button in the Reply Editor to open a popup window
2 posters
Page 1 of 1
How do I add a button in the Reply Editor to open a popup window
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
Re: How do I add a button in the Reply Editor to open a popup window
Thank you for your Reply
No .... I want to open the window "Download Center as a popup window ...
For example: button "host an image">>>>> as in the following picture:
No .... I want to open the window "Download Center as a popup window ...
For example: button "host an image">>>>> as in the following picture:
Last edited by ahmed1198 on October 14th 2018, 4:32 pm; edited 1 time in total
Re: How do I add a button in the Reply Editor to open a popup window
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.
Thank you.
see this thread is the Youtube button https://help.forumotion.com/t144564-new-button-on-sceditor?highlight=add+button+to+editor
with the url pop up
i dont know any codes for the host image button
Thank you.
see this thread is the Youtube button https://help.forumotion.com/t144564-new-button-on-sceditor?highlight=add+button+to+editor
with the url pop up
i dont know any codes for the host image button
Re: How do I add a button in the Reply Editor to open a popup window
Is this solved @ahmed1198?
If so, please don't forget to click the "Mark solved" button at the beginning of this very topic!
Best regards.
If so, please don't forget to click the "Mark solved" button at the beginning of this very topic!
Best regards.
Guest- Guest
Similar topics
» open images in a certain area in a popup window
» Add a [Preview - Send - Save] button to the quick reply editor: AwesomeBB
» Open music player in pop up window
» How to make the Home button not open in a new tab?
» Problem with Chrome and the Reply window
» Add a [Preview - Send - Save] button to the quick reply editor: AwesomeBB
» Open music player in pop up window
» How to make the Home button not open in a new tab?
» Problem with Chrome and the Reply window
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum