#1 December 8, 2022 4:28pm

willignition
Member
Registered: December 8, 2022
Posts: 3

TinyMCE Not Showing

After updating Big Tree to the latest version, TinyMCE appears to not be working as it is not showing inside of HTML Area inputs on the admin side. Examining the JS shows that TinyMCE 4.5 is being loaded and not the 6.2 like the release notes specify. Any ideas on what could be causing this?

Last edited by willignition (December 8, 2022 4:29pm)

Offline

#2 December 8, 2022 4:29pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: TinyMCE Not Showing

TinyMCE's cache is notoriously sticky. If clearing browser's cache doesn't work then it's likely a custom override somewhere that's telling BigTree to use a different version of TinyMCE.

Offline

#3 December 9, 2022 10:58am

willignition
Member
Registered: December 8, 2022
Posts: 3

Re: TinyMCE Not Showing

Hey Tim,

Thanks for the quick response! I realized that I was confusing the TinyMCE version number with the BigTree Version number that gets appended to the TinyMCE JS request. Looks like TinyMCE 6.2 has been being loaded this whole time.

The HTML Area inputs however still do not show any TinyMCE buttons or GUI elements. The text inside is plain text HTML.

Thanks!

Offline

#4 December 9, 2022 11:02am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: TinyMCE Not Showing

If you're using a custom HTML loader in /custom/admin/layout/_html-field-loader.php then you'll likely need to update the TinyMCE init to use TinyMCE 6's selector structure.

You can compare the files in 4.4-devel and 4.5-devel to see what's changed in their init (and plugins):

https://github.com/bigtreecms/BigTree-C … loader.php
https://github.com/bigtreecms/BigTree-C … loader.php

Offline

#5 December 9, 2022 11:08am

willignition
Member
Registered: December 8, 2022
Posts: 3

Re: TinyMCE Not Showing

Will try this. Thanks again!

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.