Title: error tinymce
Last modified: August 30, 2016

---

# error tinymce

 *  [Timur Kamaev](https://wordpress.org/support/users/tkama/)
 * (@tkama)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-tinymce/)
 * `onInit` is deprecated method in tinymce 4 that is why I have some problem with
   another code of tinymce.
 * Here is part of the plugin code
 *     ```
       function rich_scroll( ed ) {
       	ed.onInit.add( function() {
       		jQuery( '#content_ifr' ).contents().find( 'body' ).scrollTop( jQuery( '#scrollto' ).val() );
       	} );
       };
       ```
   
 * Now I deactivate the plugin. Fix it please.
 * [https://wordpress.org/plugins/preserve-editor-scroll-position/](https://wordpress.org/plugins/preserve-editor-scroll-position/)

The topic ‘error tinymce’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/preserve-editor-scroll-position_f5f1f0.
   svg)
 * [Preserve Editor Scroll Position](https://wordpress.org/plugins/preserve-editor-scroll-position/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/preserve-editor-scroll-position/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/preserve-editor-scroll-position/)
 * [Active Topics](https://wordpress.org/support/plugin/preserve-editor-scroll-position/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/preserve-editor-scroll-position/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/preserve-editor-scroll-position/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Timur Kamaev](https://wordpress.org/support/users/tkama/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/error-tinymce/)
 * Status: not resolved