Support » Fixing WordPress » Visual Editor not working correctly

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visual Editor not working correctly’ is closed to new replies.