Title: Error when switching between visual and text editor
Last modified: August 24, 2016

---

# Error when switching between visual and text editor

 *  [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years ago](https://wordpress.org/support/topic/error-when-switching-between-visual-and-text-editor/)
 * Hello,
 * When switching between visual and text editor the data that is typed is not being
   transferring between the two editors. It has been happening for a while(10 months),
   but I have been using the plugin CKEditor for WordPress, which does not reproduce
   any errors.
 * Below are the errors I receive when switching between the two editors with the
   CKEditor plugin disabled.
 * <u>ERROR 1</u>
    TypeError: i.toLowerCase is not a function …a.isValidChild(r.
   nodeName.toLowerCase(),i.toLowerCase())?(e=O&&11>O?””:'<br data…
 * within: wp-includes/js/tinymce/tinymce.min.js?ver=4109-20150406 (line 12, col
   21441)
 * <u>ERROR 2</u>
    TypeError: I.toLowerCase is not a function
 * …firstChild,n,i;if(l.isValidChild(y.name,I.toLowerCase())){for(;t;)n=t.next,3
   ==t….
 * within: wp-includes/js/tinymce/tinymce.min.js?ver=4109-20150406 (line 6, col 
   30555)

The topic ‘Error when switching between visual and text editor’ is closed to new
replies.

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [text editor](https://wordpress.org/support/topic-tag/text-editor/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/error-when-switching-between-visual-and-text-editor/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
