TinyMCE, inline link: ensure the inline dialog is in preview mode after updating a link from the (advanced) modal.

Props afercia.
See #33301.
Built from https://develop.svn.wordpress.org/trunk@36977


git-svn-id: http://core.svn.wordpress.org/trunk@36945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2016-03-13 17:47:26 +00:00
parent c481c4449b
commit b97b5a797b
3 changed files with 4 additions and 2 deletions

View File

@ -436,6 +436,8 @@ var wpLink;
}
}
// Not editing any more
attrs['data-wplink-edit'] = null;
editor.dom.setAttribs( link, attrs );
} else {
if ( text ) {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta3-36976';
$wp_version = '4.5-beta3-36977';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.