MyBB Community Forums

Full Version: Clipboard image data - sceditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2021-06-09, 09:42 PM)david94 Wrote: [ -> ]Thanks for the reply
Could you provide a video of the replace the code button. 

I have uploaded that file to the correct section, however it is step 2 I'm unable to locate 

I do apologise for my noobness but I've been trying to find a solution for a week now 

thanks heaps 

Dave

ACP » Home » Template Sets » [your template name] Templates » Ungrouped Templates » codebuttons

[Image: SEp55xP.png]
(2021-06-09, 02:13 PM)effone Wrote: [ -> ]This patch is not for CKEditor.
This is for SCEditor which is bundled with MyBB by default. The mod is using an addon of SCEditor only which is no way gonna work with CKE.
Can you help me locate step 2 which file to replace this code with?

Do you have a path for the file?
Thanks heaps
Assuming you're going with the default theme - or at least taken CKEditor out of the picture.  If not - previous posts explain all and I'll not repeat.

Per @martec's post - edit the codebuttons template, replacing the content per @effone's post.  Done via the ACP - not a file at all.  Templates are located in the database.

cheers...
Any changes for 1827?
(2021-06-23, 03:57 PM)nixer55 Wrote: [ -> ]Any changes for 1827?

yes...
1.8.27 maybe hinders the functioning of the tutorial in this topic. https://github.com/mybb/mybb/pull/4380/files
so i recommend you undo 1.8.27 changes of link above if you use this https://community.mybb.com/thread-232121...pid1366038.
(2021-06-24, 02:32 AM)martec Wrote: [ -> ]
(2021-06-23, 03:57 PM)nixer55 Wrote: [ -> ]Any changes for 1827?

yes...
1.8.27 maybe hinders the functioning of the tutorial in this topic. https://github.com/mybb/mybb/pull/4380/files
so i recommend you undo 1.8.27 changes of link above if you use this https://community.mybb.com/thread-232121...pid1366038.

So reverting the codebutton template and (optionally) removing dragdrop.js gets us where?  Reason I started the above thread was base64 image data in our database.  Still don't want that.  Made hay with @effone's mod, but can live without it.  

Probably do quite a bit of testing anyway, but interested in expected behavior as a baseline.

cheers...
(2021-06-24, 09:55 AM)nixer55 Wrote: [ -> ]
(2021-06-24, 02:32 AM)martec Wrote: [ -> ]
(2021-06-23, 03:57 PM)nixer55 Wrote: [ -> ]Any changes for 1827?

yes...
1.8.27 maybe hinders the functioning of the tutorial in this topic. https://github.com/mybb/mybb/pull/4380/files
so i recommend you undo 1.8.27 changes of link above if you use this https://community.mybb.com/thread-232121...pid1366038.

So reverting the codebutton template and (optionally) removing dragdrop.js gets us where?  Reason I started the above thread was base64 image data in our database.  Still don't want that.  Made hay with @effone's mod, but can live without it.  

Probably do quite a bit of testing anyway, but interested in expected behavior as a baseline.

cheers...

the 1.8.27 solution for firefox is kind of weird.
there are times that it works as it should, but there are times that simply the solution of 1.8.27 does not work.

this community already using 1.8.27 so you can test in Testing folder https://community.mybb.com/forum-13.html

Ps. I haven't done tests with chrome based browser.
No image with Chrome / Testing forum.  So have a decision.  Stay with what I have, or revert codebuttons.  Test a bit more with my theme, then make the call.  Be the only changed template I haven't reverted if I go with the status quo.

cheers...
1827 doesn't include the mod introduced here.

Here is an exhaustive version of the tutorial which includes uploading to Imgur, ImgBB & local, which is not merged.
https://github.com/mybb/mybb/pull/4359/files

You can play with the changes and come up with any issues you encounter.
Pages: 1 2 3