Editor: Update wp.editor.remove()
to use the new Quicktags instance removep()
.
Fixes: #35760 git-svn-id: https://develop.svn.wordpress.org/trunk@40599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef7b643a97
commit
2e9582fd6d
@ -646,10 +646,7 @@ window.wp = window.wp || {};
|
||||
qtInstance = window.QTags.getInstance( id );
|
||||
|
||||
if ( qtInstance ) {
|
||||
$( qtInstance.toolbar ).remove();
|
||||
|
||||
delete window.QTags.instances[ id ];
|
||||
delete window.QTags.instances[ 0 ];
|
||||
qtInstance.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user