Jan 31, 2018 3:58 pm
Chevereto photo hosting system has a js uploader script that can integrate with a variety of commenting and forum systems. I have managed to get the uploader button to appear on the editor toolbar and it does open and upload and image to the gallery, the only thing it does not do is to auto post the desired link into the editor text box. I would appreciate it if somebody could point me the right direction to get it integrated with the WPforo editor.
If it helps any here is the bbPress code used in the script:
bbpress: {
settings: {
autoInsert: 'direct-links',
html: '<input %x type="button" class="ed_button button button-small" aria-label="%text" value="%text">',
sibling: '#qt_bbp_reply_content_img',
siblingPos: 'before'
},
check: 'bbpEngagementJS',
1 Reply
Feb 02, 2018 10:21 pm
Sort of solved. The auto insert function will not work with Tinymce in WYSIWYG mode, the solution is to turn off auto insert and to simply copy/paste the retrieved links into the editor.