WordPress.org

Ready to get started?Download WordPress

Forums

How To Troubleshoot Visual Editor Issues (33 posts)

  1. Okay.. I have seen a lot of people reporting various issues with the WordPress editor after updating to version 3.9.

    Remember... remain calm!! WordPress would not have released this update if there were problems with the core software. The update definitely works. BUT.. many themes and plugins have been affected by the update.

    Main Reason
    TinyMCE version 4. This is the software used to run the WordPress content editor. The framework has completely changed.. and most all plugins and themes which modified aspects of the tinymce editor will have to be updated. Plupload has also been updated.

    There have also been changes with how WP Galleries are handled, displayed, and processed.

    First
    Empty your browser cache manually, and make sure to clear any caching plugin you are using in your WP admin panel. The content editor is notorious for serving cached files. Manually emptying and refreshing your browser cache may be the answer.

    Troubleshoot
    So, what do you do if your editor is not loading properly??

    1. Deactivate all plugins.. yes, ALL plugins.
    2. Switch to the defualt 2014 theme... because we know it works.
    3. Manually empty and refresh your browser cache.

    These steps are VERY important.. and should be followed concisely!

    Now.. with NO plugins.. the default 2014 theme.. and a clean browser cache... go back and see if the editor loads properly.

    If Editor Loads Properly
    Now.. the editor should load properly. If it does not, skip to the next section.

    We have a working editor again; YAY! Now, we have to get our theme and plugins back.

    Testing Theme
    Start with your theme. Go back and switch to the theme you were using. Then, go back to the editor page. Test to see if the editor is still working properly.

    If it does not... you know the issue is with your theme.

    If it does... continue....

    Testing Plugins
    Now... let's begin re-activating our plugins ONE AT A TIME. Each time we activate a plugin.. we are going to go back and see if the editor loads properly.

    If a plugin was at fault.. you will eventually find a plugin that causes the editor to load improperly. That is your faulty plugin. You will need to contact the plugin author and see if they are aware of the issue.

    Digging Further
    If you are feeling super savvy... you can dig into this further by exploring the browser console.

    99 out of 100 times the editor does not load properly.. it is a javascript issue of some sort. By using our browser inspection tools; we can usually see the issue in real time.. exactly as it is occurring.. and extract useful information for troubleshooting.

    This Codex Page has more information for how to troubleshoot these errors.

    If Editor Still Loads Improperly
    If, after all of these troubleshooting steps, the editor is still loading improperly... and there are no error or warning messages in the browser console... then something MUCH deeper is going on.

    You may need to manually re-update your WP installation... or work out another solution. In this case, I would suggest starting a new forum topic, explain everything you tried above.. and explaining any other important facts you can determine.

    Closing
    I work in the editor extensively. I can assure everyone it works properly in WP 3.9. I see these issues all the time.. and 99% of the time, it is an incompatible plugin or theme.

    Hope this helps :)

  2. ruralvic
    Member
    Posted 3 months ago #

    Thanks! I finally figured out the problem: ZipList's plugin doesn't want to play nice with the new upgrade. I've already contacted the author about the problem! :-)

  3. tazgraz91
    Member
    Posted 3 months ago #

    If we switch from a premium theme to the standard 2014 theme then switch back, will everything be saved from our previous set-up?

    I run a credentialed hockey blog and cannot lose everything we have built so far.

    The only thing not working for me is the insert/edit link radio button in the editor. Think it might be related to my theme (megnet) needing to be updated.

    Thanks

  4. If we switch from a premium theme to the standard 2014 theme then switch back, will everything be saved from our previous set-up?

    I cannot say with 100% certainty. Every theme is coded differently. However, if the theme is reputable.. and coded by a respectable author, who follows WP best practices.. then chances are you will not lose anything.

    I've seen most themes revert their widgets to the 'unused' section of widgets on the admin widgets page. Then, when you switch back, you just have to drag them back over to their appropriate sidebar locations.

  5. Thanks Ipstenu, I appreciate the recognition.
    Part of that came from you anyways ;)

  6. Seriously, much thanks Josh. This is great.

  7. tazgraz91
    Member
    Posted 3 months ago #

    I really need help with my insert link issue. Still cannot get it to work. Its not the theme (tested plus had developer test).

    De-activated all plug-ins, cleared browser cache.

    This is the 'inspect element' in Chrome for the insert/edit link and remove link buttons.

    <div id="mce_26" class="mce-widget mce-btn" tabindex="-1" aria-labelledby="mce_26" role="button" aria-label="Insert/edit link" aria-disabled="false" aria-pressed="false"><button role="presentation" type="button" tabindex="-1"><i class="mce-ico mce-i-link"></i></button></div>

    <div id="mce_27" class="mce-widget mce-btn" tabindex="-1" aria-labelledby="mce_27" role="button" aria-label="Remove link" aria-disabled="false" aria-pressed="false"><button role="presentation" type="button" tabindex="-1"><i class="mce-ico mce-i-unlink"></i></button></div>

  8. rustyellis
    Member
    Posted 3 months ago #

    My question about the media/visual editor is "where did the options for changing borders and spacing go?"

    I click on the image in my post, click on the pencil icon, click on the advanced menu drop down (where I would expect to find it), and it's not there. Am I missing something?

  9. Colton Black
    Member
    Posted 3 months ago #

    I just want to share that I have tried every single one of these fixes and none of them worked. I realize the support is offered by volunteers and for that I am thankful and deeply appreciative. And so what follows does not apply to you guys but instead, the people who push out code at WP.

    I find it absolutely ridiculous that WP would release 3.9 without offering some type of a warning that BASIC functions, like typing a post in Visual Editor may not work. And the "fixes" that have been suggested here and elsewhere work for some but not all. Even when these fixes do work, it seems like it is a major hassle that can severely damage the appearance and function of a site. I read one post here where someone had a site that was credentialed and that switching themes was a non-starter. Again - ridiculous that a drastic step like changing themes would even need to happen.

    What on earth were they thinking? I know I am not alone with this. This was just a gigantic mess and we now have a situation where a huge part of the blogging community cannot "post" because WP pushed out this version. It's like telling people "Here is a new version of our paper product" and forgetting to tell people that "oh, your pen may not work."

    And don't we just love that on one day, we all upgraded to 3.8 and not just 24 hours later, 3.9 is pushed out.

    Sorry for the rant but my ability to use WP is completely stalled now. I know I am not alone. I truly hope someone reading this who pushes out the code reads this.

    Again, to the moderators here, you guys rock and I certainly am appreciative. Just wish the fixes mentioned worked for me (I really did try them all).

    Whoever is reading this from WP who creates the newer versions, please make sure that WP users see a warning of some type when they sign on to WP that advises them of major issues that "could" happen as a result of the upgrade.

  10. Thank you for your thoughts. While I know you must be dealing with a great level of frustration (I know, I've been there before); there is a flip-side to everything.

    Scenario 1:
    Using WP in it's 'vanilla' installation.

    If you used WP without any additional themes or plugins, I can assure you, there would be no issues.

    Scenario 2:
    The issues arise from the VAST numbers of themes and plugins out there. I develop many WP plugins, so I have experience here.

    Plugins tie, hook, filter, and otherwise modify basic WordPress core functionality.

    If these developers are not "on the ball", and update their software accordingly.. things can train wreck rather quickly.

    WordPress developers send out notifications constantly to those who take the time to subscribe. I was aware of this update about 10 months before it occurred.

    I receive numerous emails from the dev group tracking progress and referencing closed trac tickets and lead developers posts.

    There are plenty of resources to see what's going on "behind the scenes" of WordPress. A Google search should yield plenty of matches. If you'd like me to post some links, I'd be happy.

    I'm not trying to argue one side or the other... just offering my $0.02.

    Thank you for the kind compliments to the 'mods' :)

  11. Colton Black
    Member
    Posted 3 months ago #

    Josh,

    Thanks and listen, I think you and all the mods are gold - for real. I also appreciate your perspective. Thanks for taking the time to respond. Truly!

    I am just going to wait and see a day or two and see what gets pushed out from my theme (Asteroid) and the connected plug-ins. Really not much else I can do.

    Best,

    Colton

  12. My pleasure. And thank you for listening with open ears.

    Stick with it. In the end.. you'll have a much stronger site.. and more experience from these difficult situations ;)

    Take care!

  13. Xtina1
    Member
    Posted 3 months ago #

    Thanks ruralvic, that's fixed my issue.

    Thanks also to everyone who helps here and to you Josh who sent me an email to get me to this thread.

  14. tazgraz91
    Member
    Posted 3 months ago #

    This is the tinyMCE error that my chrome console is showing but it does not specify a plug-in....anyone know what this means and how to decipher it?

    Deprecated TinyMCE API call: <target>.onNodeChange.add(..) plugin.min.js?ver=4021-20140412:1

  15. The plugin.min.js part is what TinyMCE uses to namespace each tinymce addon (bold, italic, subscript, underline, etc.).

    But, what I don't understand is why the adding of one of these plugins is triggered on onNodeChange. That's almost a red flag to me.

    I don't think WP (I could be wrong) would do that... so it almost certainly sounds like it's coming from a plugin or theme.

    Did you go through my steps above? Do you receive this error AFTER you've deactivate ALL plugins; switched to the default 2014 theme; AND manually emptied your browser cache?

    EDIT: onNodeChange is, in fact, depracated. In the new TinyMCE framework, you would use something like:

    ed.on('NodeChange', function(e) {
        // your functions here
    });

    So this MUST be coming from a plugin or theme.

  16. tazgraz91
    Member
    Posted 3 months ago #

    Hey Josh.

    What does not make any sense is that I have followed all troubleshooting steps. It does not work on any theme I have switched to and have disabled all plug-ins.

    I even sent the debug code to my theme developer and he suggested a WordPress re-install as the installation might be corrupt. (to make sure I was not crazy)

    "After I check your website your wordpress The tinymce doesn't work on default wordpress theme or other themes.

    This might be a problem from corrupted file while you update wordpress. reinstall wordpress dashboard the problem should solve."

    I have tried this by clicking the 're-install now' button and it does not help either. I am totally confused and baffled by this and know I am not the only one having this issue. So much that the creator of

    After I check your website your wordpress The tinymce doesn't work on default wordpress theme or other themes.

    I even clicked the 're-install' now button in the wordpress updates tab and it still does not help. I am totally baffled by this and know I am not the only one as the creator of WPEdit is working on a special insert link button to supposedly fix the issue.

    Is there anything else I can try?

  17. Michael Beil
    Member
    Posted 3 months ago #

    thanks for this Josh!

  18. benji337
    Member
    Posted 3 months ago #

    10-x a Josh (WP Edit) for pation and explanation. Restarting plugins one-by-one in my case the qTranslate/Qian Qin/ made trouble with editor

  19. lovingbeing
    Member
    Posted 3 months ago #

    Thanks for the suggestions.

    Would someone be willing to tell me how I do steps 2 and 3:

    2. Switch to the defualt 2014 theme... because we know it works.
    3. Manually empty and refresh your browser cache.

    Thanks!

  20. Would someone be willing to tell me how I do steps 2 and 3:

    2. Switch to the defualt 2014 theme... because we know it works.
    3. Manually empty and refresh your browser cache.

    2. Simply go to your admin pane -> appearance -> themes. Click to activate the 2014 theme.

    3. It depends on what browser you are using. A simple Google search of "empty MYBROWSERHERE browser cache", should give you some good matches.

    If you still have trouble, please let us know.

  21. r6c8p
    Member
    Posted 3 months ago #

    I seem to be having some similar problems since 3.9 update. I realise everyone is doing their best to get this right but I had no issues before the update and now after, I do. I am a farely new user to wordpress but got around pretty well, it seems that the issue I am having with the text block editor may be theme related but all worked well before update, any help or advice here would be more than good.

  22. Michael Beil
    Member
    Posted 3 months ago #

    What happens @r6c8p?

  23. DeerMtn
    Member
    Posted 2 months ago #

    Josh, been trying to get to WPEditPro site and it keeps giving me a 404? Has something happened? I feel strange that all has been so quiet on your end; even to have the websites/forums not working...maybe it's just on my end that these things are happening?
    I've had to deactivate WPEditPro until something happens. I hadn't heard about re-installing WordPress, so I guess that's ONE MORE thing I'll try. Hope all is well with you and yours,
    ~ freida

  24. john.naccarato
    Member
    Posted 2 months ago #

    You da man Josh! Thank you! Finally a man with some brains and the ability to walk us through step by step and not assuming we are all programmers and speak the lingo. Thanks again. Worked perfectly!

  25. StrongEagle
    Member
    Posted 2 months ago #

    Hi Josh. The only problem which remains for me is that I can't get the Lorem Ipsum button back. Is it just me?

  26. wwwolf
    Member
    Posted 2 months ago #

    Thanks for this - really helpful, if scary. On a site with a lot of plugins, and complex settings in some of them, I was hesitant to switch them ALL off, but found the culprit (InBoundWriter) by switching off the most likely ones one at a time :) Where and how do I report this, especially since the plugin in question seems to have been removed from wordpress.org? Thanks!

  27. webbrewers
    Member
    Posted 1 week ago #

    "What does not make any sense is that I have followed all troubleshooting steps. It does not work on any theme I have switched to and have disabled all plug-ins. "

    One thing I haven't seen mentioned here is HOW you are updating to 3.9x. My guess is the vast majority of users are not seeing issues, so the update method may be relevant A lot of people got auto updated which I know from experience can cause some issues which clicking "reinstall" may not fix. Even if you carefully ftp in the files, you may run into encoding problems which can break functionality.
    Another less likely culprit could be incompatibilities with the software versions at your host.
    If you've tried everything and are still seeing issues, it might be worth testing on a different hosting account (even a free one) and doing a Softaculous type install to see if they persist.

  28. emanuel39
    Member
    Posted 3 days ago #

    https://wordpress.org/support/topic/trouble-editing-pages-cannot-see-the-text-version-only-the-visual?replies=10#post-5815770

    I'm having some similar problems, and have started another thread.

    If anyone at all has some ideas, I would appreciate it.

    My WP "edit" function apparently works correctly for everyone except me?

  29. emanuel39
    Member
    Posted 3 days ago #

    This is the error message I get when trying to switch from "visual" to "text" editor:

    ReferenceError: Can't find variable: switchEditors post.php:275:143

    Anyone have any ideas on what needs to be done?

Reply »

You must log in to post.

About this Topic