solved Important TinyMCE upgrade in Jamroom Core 6.4.0

brian
@brian
2 months ago
9,922 posts
The newest Jamroom Core 6.4.0 includes an upgrade to TinyMCE 5.0.14 (the "WYSIWYG" editor that Jamroom uses). This NEW release of TinyMCE changes how the editor plugins work, and could show an error in your browser until you full reset your browser caches - especially if you are using Chrome!

Chrome aggressively caches Javascript, which means you are likely to see an error in the editor after upgrading to Jamroom Core 6.4.0. To fix any errors you need to do the following:

1) Make sure any 3rd party Editor plugins (such as the Editor Code Mirror plugin from Ultrajam) are disabled for now until they are updated to support TinyMCE 5+

2) You need to FORCE a full refresh in your browser - unfortunately simply pressing "refresh" in your Chrome browser does NOT do this - you need to do the following:

- If you are using macOS Chrome press Command-Shift-R - this forces a new load that bypasses cache
- If you are on Windows Ctrl-F5 should force a refresh. If you still see an error in the editor, you may need to reset your browser cache completely since this may/may not actually work on some Windows installs.

The upgrade to TinyMCE 5 is an important update since it focuses on improving the mobile editing experience and is needed to address several issues in TinyMCE 4.9 that were not fixed until 5.

If you have any questions please feel free to respond here and we can follow up.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 01 Oct 2019 10:33:28AM
Strumelia
Strumelia
@strumelia
2 months ago
3,458 posts
I'm noticing something I'd like to fix up in the editor after applying all the latest updates (on my pennywhistle site only).
On my FOTMD site (which has not been updated yet), the tinymce editor window where one types OR edits posts has the default type size of either 12 or 14 (I forget which)... which matches what one sees in the final post.
But on the whistle site after all updates, the editor window when composing or editing a post now has the default text size as 22... which looks jarringly huge. Once you actually publish what you wrote, it appears in the correct site-wide size I chose for discussion posts.

I can't remember where I would go to change this tinymce default setting...? (i seem to recall it was in an admin core or module somewhere, maybe on the server) Or is this an unintended tinymce change that needs correcting for everyone?
Thanks


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
2 months ago
3,458 posts
ALSO:
I'd like to also note that on the new tinymce editor window, the icons are twice the size that they used to be as well, so the navigation strip they reside on is also twice as tall... AND on my site it now wraps to TWO lines instead of one. The end result is that the icons/buttons strip now takes up four times as much vertical space... which will be a big pain in the butt especially for folks with small screens.
see the following before and after screenshots (from my two different sites, only one of which I've applied all the new updates to):
after.png
after.png  •  188KB

before.png
before.png  •  122KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
2 months ago
9,922 posts
Sorry for overlooking your follow up here Strumelia! Unfortunately there is no way at this time to change the icon size in TinyMCE 5 - apparently this is something they are working on, so hopefully it is configurable soon.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
2 months ago
3,458 posts
Hi Brian and thanks for getting back to me on this. I've been otherwise busy focusing my attention on 'new computer migration' issues.

I hear you that we'll just have to wait for TinyMCE to fix the icon size issue in their next update. (and I can't believe they made their icons so big they're now like clown shoes)

My questions:
1) will the fix get applied automatically for me in my Jamroom site? (or will I have to figure out when it occurs and how to apply it to my site when it does)
and
2) Do you see in my "after" screenshot above- how the TEXT in the typing window is now at 22pt (compared to 14pt for published posts on my sites)... is there anyplace for me to make the editor's text size smaller by default while composing a post?- or is that the same story as with the icons...that I'll just have to wait and hope TinyMCE does something about it?

Once I know these two answers I can prepare to proceed with the gazillion latest updates waiting on my two sites. ;)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 24 Sep 2019 02:41:11PM
Strumelia
Strumelia
@strumelia
2 months ago
3,458 posts
If i could know the 2 answers to my last post, i could go ahead and start updating my sites.. thanks! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
2 months ago
3,872 posts
Hi - Sorry that we overlooked this.

1) Yes - When TinyMCE release an update we will integrate it with a new JR release so you shouldn't need to do anything special.

2) My editor is showing a default font size of 12px, which I think has always been the case. Is your default size 22px then?


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
2 months ago
3,458 posts
Ok, this is weird Paul- the editor WAS forcing the default text size as 22pt right after my applying updates (see my prior "after" screenshot above from three weeks ago). But now it seems to be at a default size of 12pt instead. I swear I didn't make any changes or updates since that 22pt was showing!

So looks like that default size is fine now.
Sorry to trouble you. TinyMCE will get 'fixed' eventually when people complain about their huge icon buttons.. and the fix will come through from jamroom at that time without my having to do anything special. All good!
Thanks, and 'solved'!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
if you use litespeed webserver and litespeed cache you may also need to ssh into your server and manualy delete everything in your ls cache folder, and whatever folder stores cached static files (posibly anything in ramdrive )
easiest way to do it quickly
rename cache folder in ls restart (after creating the folder in ssh ofcourse) then delete old cache folder since that can take a little while


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
ugh nevermind still not working after deleting ls cache

experimentring in diferent browsers but its not as simple as just deleting browser cache
which you cant expect all your users to know what to do
couldnt the cache on that be invalidated by changing the expoires time


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
ok i think its in the new beta version i n weeb console i get 'tinymce is not defined'
hard refreshes chlearing caches clearing ls cache none of it works
hard refresh (ctrl f5) used to, temporarily
i think the latest beta update changed that
now nothing works


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
aha!!!!!!! ok tyhe editor works fine in creating posts etc
its only in comments where it does not work


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
there is a bug in 1 of the newest beta cores
the tinymce does not work in comments
if i roll back 2 beta versions it works again
the bug is in 1 of the core versions but cant say which 1 itw as introcuced in
it also only affects commehts which includes forum replies
but does not include the forum post editor
only treplies and comments on all items like photos and profiles
let me know when its fixedso i can resume testing next core beta


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
RickStaRr
RickStaRr
@trickyricky
one week ago
31 posts
JR6.5b here, so far so good guys. Great job!!! I've been using Jamroom since v3. I started using my own system at v4 in 2013. This system has truly evolved into a very attractive interface
soaringeagle
@soaringeagle
one week ago
3,266 posts
yea the jamroom team are the best! mne and strumella came from ning, they would only solve bugfgs if they affected a large number of sites, and would take momnths..jr team solves every bug even if only 1 person mentions it, and typically within a day...2 or 3 if its a big issue
they respondto (almost) every forum post ande are extremeoly accesible for developers
they really are the best
i currently have 3 sites built on jr.. 1 is massive


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags