mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
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:
parent
c481c4449b
commit
b97b5a797b
@ -436,6 +436,8 @@ var wpLink;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Not editing any more
|
||||||
|
attrs['data-wplink-edit'] = null;
|
||||||
editor.dom.setAttribs( link, attrs );
|
editor.dom.setAttribs( link, attrs );
|
||||||
} else {
|
} else {
|
||||||
if ( text ) {
|
if ( text ) {
|
||||||
|
2
wp-includes/js/wplink.min.js
vendored
2
wp-includes/js/wplink.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user