Title: Text Editor Error &#8211; Prototype.js
Last modified: August 18, 2016

---

# Text Editor Error – Prototype.js

 *  Resolved [swhatley](https://wordpress.org/support/users/swhatley/)
 * (@swhatley)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/)
 * There appears to be an error on line 499 of prototype.js in the wp-includes/js
   folder. The error is as follows and prevents the new text editor functioning 
   because of excessive recursion
 * `return (inline !== false ? this : this.toArray())._reverse();`
 * The following line corrects the error:
 * `return (inline != false ? this : this.toArray()._reverse());`

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [discolightning](https://wordpress.org/support/users/discolightning/)
 * (@discolightning)
 * [19 years ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/#post-514717)
 * THANK YOU THANK YOU THANK YOU.
 * Good use of the Hemingway theme, btw.
 *  [discolightning](https://wordpress.org/support/users/discolightning/)
 * (@discolightning)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/#post-514733)
 * BTW, it appears to be on line 584 in version 2.2.
 *  [bloggerdesign](https://wordpress.org/support/users/bloggerdesign/)
 * (@bloggerdesign)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/#post-514746)
 * It’s in WordPress 2.2.3 also. 🙁
 * Thanks for posting the fix though. Also, if you are having this issue, clear 
   your cash after fixing it and before testing.
 *  [bloggerdesign](https://wordpress.org/support/users/bloggerdesign/)
 * (@bloggerdesign)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/#post-514757)
 * This still haunts me in WordPress 2.3.1. It’s really an issue with the host though
   as I only had this issue after moving a client site from one host to another.
 * Either way. Thanks swhatley for the fix.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Text Editor Error – Prototype.js’ is closed to new replies.

## Tags

 * [WPadvanced](https://wordpress.org/support/topic-tag/wpadvanced/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [bloggerdesign](https://wordpress.org/support/users/bloggerdesign/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/text-editor-error-prototypejs/#post-514757)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
