Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Editor TinyMCE Rich Text not working
Avatar
Julian Paul Francis Kitagawa
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2015 - 8:18 pm

Since a couple of months ago the Editor TinyMCE Rich Text isn't working (the plain text editor works fine).

I've attached a picture so you can see what's happening, but basically the editor doesn't load. I've updated everything, and I've tried it with the default wordpress theme, and with all other plugins (wordpress and simple press) deactivated... no change.

Any idea what I can do to fix this?

editor.PNGImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 1:17 am

a couple of months ago?  as in when you did a WP update?  a couple of wp versions ago, they drastically changed how tinymce worked in WP...  many themes and plugins still have not updated to be compatible...  but if you have tried it with default wp theme and all other wp plugins disabled, may not be it...

I assume you are using wp 4.1, sp 5.5.3 and the latest sp plugins including our tinymce plugin?  can you confirm the versions?

no caching plugins that cache the wp page the forum is on, right?

also a link to your site would help look for other potential issues...

Avatar
Julian Paul Francis Kitagawa
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 2:40 am

Yes, all latest. I'm not sure when the problem started exactly. Just one day a member emailed me to say it wasn't working - that's the first time I noticed.

As for caching, I use WPengine as my host, which has built in caching. However they have a "staging area" for testing and the like (it's an exact duplicate of my site) that has no caching (and yes, the problem is the same).

Here's a link to my staging site with TinyMCE editor activated:

http://doingenglish.staging.wp.....ngine.com/

u: tempadm

p: #**tempadm**#

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 25, 2015 - 5:18 am

Not wanting to sound like I am doubting you but we know from experience then when people say they deactivated all their WP plugins they sometimes left a few active thinking they were not relevant. So I really do just want to double check here.

I count at least 4 plugins that add buttons and functionality  to the TinyMCE editor. 'Filebase', 'Shortcodes', 'Post List', 'Geo Target'. There may be others... I just want to be 100% sure that these have been deactivated completely for testing the editr in the forum.

Oh - and at least one of those plugins has an update available.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Julian Paul Francis Kitagawa
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:28 pm

No problem.

Here's a link to the forum on my staging site, all plugins apart from Simple Press and Tiny MCE editor are disabled, default wordpress theme is activated:

http://doingenglish.staging.wp.....on-screen/

There are two plugins that aren't the latest version. That's because they're actually customised plugins, and upgrading would lose the added functionality (they're both deactivated now, and I've had the problem since before using them).

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:34 pm

I dont see any sp plugins active... so is our tinymce plugin active?  might just be because we dont have post permissions...

can you create us a temp account there so we can have a look around?  if so, please pm the details to yellow swordfish, mr papa and ike...  link back to this topic so we know what its about...

Avatar
Julian Paul Francis Kitagawa
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:47 pm

Only Tiny MCE is active. I disabled everything else. 

There are temp admin details above, but here they are again:

u: tempadm

p: #**tempadm**#

You should be able to access simple press as an admin with that account, too (this only works on my staging site, so I don't mind putting it here).

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:49 pm

ah, sorry missed em...  will look around, first thing that jumps out is:

Failed to load: http://doingenglish.staging.wpengine.com/wp-includes/js/tinymce/plugins/wltags/plugin.min.js

that plugin happens to have a known conflict with simple press... they incorrectly add stuff to the wp tinymce editor which breaks its usage on the front end... we have shared a simple fix with them, but no joy...

so is that plugin really disabled...

looking around now...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:56 pm

and something is still trying to load the wishlist tags plugin... causing problems  (hint:  look for wltags)...

        <script type="text/javascript">
        tinyMCEPreInit = {
            baseURL: "http://doingenglish.staging.wpengine.com/wp-includes/js/tinymce",
            suffix: ".min",
                        mceInit: {'postitem':{theme:"modern",skin:"SPlightgray",language:"en",formats:{
                        alignleft: [
                            {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'left'}},
                            {selector: 'img,table,dl.wp-caption', classes: 'alignleft'}
                        ],
                        aligncenter: [
                            {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'center'}},
                            {selector: 'img,table,dl.wp-caption', classes: 'aligncenter'}
                        ],
                        alignright: [
                            {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'right'}},
                            {selector: 'img,table,dl.wp-caption', classes: 'alignright'}
                        ],
                        strikethrough: {inline: 'del'}
                    },block_formats:"Paragraph=p;Pre=pre;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6",relative_urls:false,remove_script_host:false,convert_urls:false,browser_spellcheck:true,fix_list_elements:true,entities:"38,amp,60,lt,62,gt",entity_encoding:"raw",keep_styles:false,cache_suffix:"wp-mce-4107-20141130",preview_styles:"font-family font-size font-weight font-style text-decoration text-transform",wpeditimage_disable_captions:false,wpeditimage_html5_captions:true,plugins:"sphelp link textcolor charmap code image,wltags",external_plugins:{"spoiler":"http:\/\/doingenglish.staging.wpengine.com\/wp-content\/sp-resources\/forum-plugins\/tinymce-richtext\/resources\/plugins\/spoiler\/spoiler_plugin.js","sphelp":"http:\/\/doingenglish.staging.wpengine.com\/wp-content\/sp-resources\/forum-plugins\/tinymce-richtext\/resources\/plugins\/sphelp\/sphelp_plugin.js","code":"http:\/\/doingenglish.staging.wpengine.com\/wp-content\/sp-resources\/forum-plugins\/tinymce-richtext\/resources\/plugins\/code\/plugin.min.js","link":"http:\/\/doingenglish.staging.wpengine.com\/wp-content\/sp-resources\/forum-plugins\/tinymce-richtext\/resources\/plugins\/link\/plugin.min.js"},content_css:"http://doingenglish.staging.wpengine.com/wp-content/sp-resources/forum-plugins/tinymce-richtext/resources/skins/SPlightgray/sp-content.css",selector:"#postitem",resize:"vertical",menubar:false,wpautop:false,indent:true,toolbar1:"bold italic underline strikethrough forecolor | bullist numlist | blockquote outdent indent | link unlink | undo redo | image media | pastetext | spoiler | code | sphelp",toolbar2:"formatselect fontsizeselect | alignleft aligncenter alignright alignjustify | charmap removeformat",toolbar3:"",toolbar4:"",tabfocus_elements:":prev,:next",body_class:"postitem post-type-page post-status-publish locale-en-us",mode:"none",elements:"postitem",skin_url:"http://doingenglish.staging.wpengine.com/wp-content/sp-resources/forum-plugins/tinymce-richtext/resources/skins/SPlightgray",height:"",extended_valid_elements:"img[accesskey|class|contextmenu|dir|draggable|dropzone|hidden|id|inert|itemid|itemprop|itemref|itemscope|itemtype|lang|spellcheck|style|tabindex|title|translate|item|role|subject|alt|src|srcset|crossorigin|usemap|ismap|width|height]",auto_focus:"postitem",paste_block_drop:true}},
            qtInit: {},
            ref: {plugins:"charmap,colorpicker,hr,lists,media,paste,tabfocus,textcolor,fullscreen,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wpview,image",theme:"modern",language:"en"},
            load_ext: function(url,lang){var sl=tinymce.ScriptLoader;sl.markDone(url+'/langs/'+lang+'.js');sl.markDone(url+'/langs/'+lang+'_dlg.js');}
        };
        </script>
Avatar
Julian Paul Francis Kitagawa
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2015 - 7:58 pm

Is that a recent error?

I *did* have Wishlist Tags installed... but I never managed to get it to work properly, and eventually deleted it.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625