solved Question concerning recent updates

derrickhand300
@derrickhand300
8 years ago
1,353 posts
Hi Guys
Yesterday I updated my site with the latest updates and and while in the tinymce text editor I noticed quite a few new plugins/enhancements- I also saw a spellcheck ( I think?)
Well I tested the spellcheck and got an error message concerning something to do with not a "proper JSON"...
Anyways....I already had the spellcheck plug in installed and worked through this issue awhile back ( had something to do with google spellcheck no longer active)
So I reinstalled my previous version of spellcheck ( before I did the updates) and it works fine now...also had a custom google maps plug in I had to reinstall as a plugin
Here is where I am a little puzzled...
After I reinstalled my "maps plug in" and replaced the "spellcheck" plug in with my backups- all the other enhancements disappeared from the tinymce editor
I had briefly noticed a "strikethrough text" button and an "anchor text" button among others..
The only plugin I replaced was the "spellcheck"...the "maps" was just an addition...
Are the updates to the new tinymce editor changes being made in the spellcheck folder?
I am trying to understand how I lost them
Thanks
updated by @derrickhand300: 10/27/16 11:05:36PM
michael
@michael
8 years ago
7,715 posts
Spellcheck should be coming in now from your browser because the context bar (that right click menu) is no longer on by default. This lets the browsers native spellchecker work.

Turn the spellchecker plugin off and the browsers native spellchecker should work.

Run the COMPARE tool on the form_editor.tpl template you're interested in. There is one for Site Builder and one for the Core. That will tell you what is different between the default version and your version.

Also HOW you did the change is important. If you're doing it via a skin override in the templates then you may need to copy the contents from the module again to your skins file to make sure it matches what was there before adding your changes back in.

The point though, is whichever version is active, make sure it matches all the things you want to turn on from the modules version of the file.

You cant have the context editor and the browser spellcheck active together though, this is a TinyMCE issue that we've yet to understand a solution for.
derrickhand300
@derrickhand300
8 years ago
1,353 posts
Thanks Michael
I am ok with the add on spell checker i have now so i am going to stick with it
Something i notice that I am running into is the tinymce editor I have for normal widgets is "different" than the tinymce editor that opens in a module created with aparnia
The normal widgets have the the updated version but the editor in the module created with Aparnia does not
Also my plugins that I added myself to the tinymce show up in the Aparnia created module- BUT DO NOT show up in the normal widget module ( like on home page)
I have added these plug ins in CORE module and SITEBUILDER module and saved the changes to the skin
Each time there is an update to tinymce I save a backup of the plug in folders and reinstall them
I really only need the plugins installed in the aparnia module- but was just trying to wrap my head around why they are not appearing in normal widgets
I will post a couple screenshot examples here- Notice the new tools in the normal editor are not available in the older editor used in the module we created with Aparnia-just wondering why

updated by @derrickhand300: 07/26/16 07:23:03AM
brian
@brian
8 years ago
10,148 posts
The core provides a template - jrCore/templates/form_editor.tpl - that controls the editor, and what buttons and menu items are available. Aparna uses the same one, so I'm not sure why you would see a different editor when using an Aparna created module - that doesn't make sense.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
8 years ago
7,715 posts
There are 2 locations where the TinyMCE editor are defined, make sure they are both the same.
/modules/jrCore/templates/form_editor.tpl
/modules/jrSiteBuilder/templates/form_editor.tpl

Tags