TinyMCE: prevent removing of the temp link element when opening the advanced link dialog to insert new link.
Part props figureone for finding the cause. Fixes #40558. git-svn-id: https://develop.svn.wordpress.org/trunk@40644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf4b384fd4
commit
c098bc38d0
|
@ -587,9 +587,9 @@
|
||||||
editor.focus(); // Needed for IE
|
editor.focus(); // Needed for IE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
editToolbar.tempHide = true;
|
||||||
window.wpLink.open( editor.id, url, text, linkNode );
|
window.wpLink.open( editor.id, url, text, linkNode );
|
||||||
|
|
||||||
editToolbar.tempHide = true;
|
|
||||||
inputInstance.reset();
|
inputInstance.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue