TinyMCE, inline link: ensure the inline dialog is in preview mode after updating a link from the (advanced) modal.
Props afercia. See #33301. git-svn-id: https://develop.svn.wordpress.org/trunk@36977 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c60cf303dc
commit
7a62a64686
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in New Issue