TinyMCE: views: correct cursor position after paste

Fixes #33174.


git-svn-id: https://develop.svn.wordpress.org/trunk@33484 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ella Iseulde Van Dorpe
2015-07-29 13:48:58 +00:00
parent 8db3eeec7d
commit b5c42d6b33
2 changed files with 18 additions and 11 deletions

View File

@@ -729,6 +729,7 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
// Add to editor.wp
editor.wp = editor.wp || {};
editor.wp.getView = getView;
editor.wp.setViewCursor = setViewCursor;
// Keep for back-compat.
return {