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://www.ads-software.com/plugins/preserve-editor-scroll-position/
]]>Hi Dominik,
This used to work perfectly for me, but since WordPress 4.1.1 it stopped working. Is it still supposed to be working? Or has it kind of become obsolete with the new WordPress backend?
I’ve tested with the Twenty Fifteen theme and all other plugins disabled. When saving a post the editor jumps back to the top and I have to scroll down manually as normal, even with this plugin activated.
Thanks for your support!
Dave
https://www.ads-software.com/plugins/preserve-editor-scroll-position/
]]>Plugin not work with WP 3.9.1
https://www.ads-software.com/plugins/preserve-editor-scroll-position/
]]>WordPress with TinyMCE 4 will break the editor display:
>> Uncaught TypeError: Cannot call method ‘add’ of undefined
The event onInit isn’t used anymore.
Instead you bind it like this:
ed.on("init", function(ed) ...
https://www.ads-software.com/plugins/preserve-editor-scroll-position/
]]>I installed the plugin, activated it – opened an existing post and a new post, too. Filled it with much text, scrolled down, SAVED (or updated) the post – after saving I have to scroll down again: Does not work. Unfortunately.
https://www.ads-software.com/extend/plugins/preserve-editor-scroll-position/
]]>Works perfectly on its own, but when also installing the HTML Editor Syntax Highlighter plugin, it doesn’t work anymore ??
These two plugins combined would make for a wonderful solution for editing post/pages containing lots of HTML. Is there any quick modification we could do for these to work together?
I realize it’s nobody’s responsibility to ensure inter-plugin compatibility (or even write free plugins in the first place!) but we would be eternally grateful a little help!
https://www.ads-software.com/extend/plugins/preserve-editor-scroll-position/
]]>