mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 20:23:27 +02:00
TinyMCE: small cleanup for stripping of tags from pasted URLs. See #31158.
git-svn-id: https://develop.svn.wordpress.org/trunk@31819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a067a5e4c
commit
639f5228c3
@ -194,7 +194,7 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
|
||||
}
|
||||
} );
|
||||
|
||||
if ( node.nodeName !== 'P' || trim( node.textContent ) || trim( node.innerText ) ) {
|
||||
if ( node.nodeName !== 'P' || trim( node.textContent || node.innerText ) ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user