MyBB Community Forums
Location of editor.js - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Location of editor.js (/thread-97090.html)



Location of editor.js - lucasbytegenius - 2011-06-20

Ok, to fix some issues with CloudFlare's RocketLoader (temporarily) I need to locate the line where editor.js is called using the <script> tags and modify that string to exclude that JS from RL.

I can't seem to find it anywhere in the templates other than in the variable {$codebuttons}, which obviously doesn't help.

Does anybody know where I can find that string and modify it?


RE: Location of editor.js - - G33K - - 2011-06-20

AdminCP >> Templates & Style >> Templates >> <YOUR THEME'S TEMPLATES> >> Ungrouped Templates >> codebuttons


RE: Location of editor.js - lucasbytegenius - 2011-06-20

(2011-06-20, 09:46 PM)- G33K - Wrote: AdminCP >> Templates & Style >> Templates >> <YOUR THEME'S TEMPLATES> >> Ungrouped Templates >> codebuttons

Thanks. Couldn't work around RocketLoader's issue with the editor though.


RE: Location of editor.js - damoncloudflare - 2011-06-21

(2011-06-20, 07:58 PM)lucasbytegenius Wrote: Ok, to fix some issues with CloudFlare's RocketLoader (temporarily) I need to locate the line where editor.js is called using the <script> tags and modify that string to exclude that JS from RL.

I can't seem to find it anywhere in the templates other than in the variable {$codebuttons}, which obviously doesn't help.

Does anybody know where I can find that string and modify it?

Definitely report the Rocket Loader bug so we can work on a fix (still very much in beta).

You can also put Rocket in Manual Mode so we can ignore the script with this tag:

<script data-cfasync="true" src="/javascript.js"></script>




RE: Location of editor.js - lucasbytegenius - 2011-06-21

(2011-06-21, 03:10 PM)damoncloudflare Wrote:
(2011-06-20, 07:58 PM)lucasbytegenius Wrote: Ok, to fix some issues with CloudFlare's RocketLoader (temporarily) I need to locate the line where editor.js is called using the <script> tags and modify that string to exclude that JS from RL.

I can't seem to find it anywhere in the templates other than in the variable {$codebuttons}, which obviously doesn't help.

Does anybody know where I can find that string and modify it?

Definitely report the Rocket Loader bug so we can work on a fix (still very much in beta).

You can also put Rocket in Manual Mode so we can ignore the script with this tag:

<script data-cfasync="true" src="/javascript.js"></script>
The bug has been reported, they're still working on it apparently.

I was trying to use that tag, however apparently I got the syntax mixed up and put "false" instead of "true". I'll put the right code in and see what happens Wink



RE: Location of editor.js - ajk2408 - 2012-03-09

Hi,

Someone told me to come to this thread, i have the same issue, with the font, textsize drop downs will not appear. Could you possibly help me?
This has been fixed, it was cloudflare causing the issue, it was minifying the js, css and html. I recommend disabling minify and rocket loader


RE: Location of editor.js - damoncloudflare - 2012-03-09

"Someone told me to come to this thread, i have the same issue, with the font, textsize drop downs will not appear. Could you possibly help me?"

Are you having issues in the admin section of your site?