mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
wpView: fire a nodeChanged
event after selecting a view so the editor UI gets updated. Props avryl, fixes #28385
Built from https://develop.svn.wordpress.org/trunk@28686 git-svn-id: http://core.svn.wordpress.org/trunk@28504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a59cf45c4d
commit
23b0443578
@ -94,6 +94,7 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
|
|||||||
|
|
||||||
// select the hidden div
|
// select the hidden div
|
||||||
editor.selection.select( clipboard, true );
|
editor.selection.select( clipboard, true );
|
||||||
|
editor.nodeChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue
Block a user