[wp-trac] [WordPress Trac] #31988: TinyMCE: pasting an embeddable URL in Firefox doesn't show preview
WordPress Trac
noreply at wordpress.org
Sun Apr 19 14:18:21 UTC 2015
#31988: TinyMCE: pasting an embeddable URL in Firefox doesn't show preview
--------------------------+--------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.2
Component: TinyMCE | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by iseulde):
It fails because Firefox does not support `node.innerText`. That runs
because `node.textContent` may evaluate false if it's an empty string and
so null is returned. Patch fixes the problem, but maybe better to use the
TinyMCE API for these things?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31988#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list