The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Visual Editor not working correctly (3 posts)

  1. kappaluppa
    Posted 9 years ago #

    When using the Visual Editor and trying to save I get a message that says "Are you sure you want to navigate away from this page...". If I click ok it does not save. If I turn off the Visual Editor it saves fine.

    Also, when using the Visual Editor clicking on 'code' in manage posts or pages does not change it to the code choices.

    This works in other installations. I am using the orange crush theme.

  2. shroomvalley
    Posted 9 years ago #

    You're in luck, I just encountered the same problem and got a fix for it.

    The problem is this theme was released a year ago, before the folks at wordpress renamed prototype.js to pt.js. So, heres your fix:

    Log into your ftp, go to wp-content/themes/orange-crush-5242006/ and download functions.php

    Find where it calls for "prototype.js" and change it to "pt.js"

    Upload the changed file to replace the original functions.php

    Now, go into wp-content/themes/orange-crush-5242006/js and change the name of prototype.js to pt.js

    Download this file, open it in a text editor, change all instances of "Prototype" to "Pt" and all instances of "prototype" to "pt". Save the file, and upload to replace the original.

    I'm contacting the author of the theme with the fix, I'm guessing she'll release an update fairly expediently if you just want to hold tight for a few days instead of doing the dirty work.

  3. Doodlebee
    Posted 9 years ago #

    Hey shroom - got your email.

    You're right, I haven't had a chance to upgrade it. Unfortunately, it'll be more than a few days before I can get to fixing it - I'm swamped with work right now. But yes, all, please hold tight, because I *do* plan to upgrade it for 2.2...just haven't gotten around to it yet.

    Thanks for the tip, too - it probably would have taken me hours to figure out what that problem was!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.