I’m trying to add a (commercial) fonts.com font to the “visual” html wysiwyg editor. This does not work, because the “visual” editor iframe has src='javascript:""'
which make requests from within the iframe missing the referrer header. However fonts.com (and other webfont provider) need a referrer to validate the request.
The solution is rather simple: use a (preferable blank) html page as source. Something like blank.html
. I just don’t find the corresponding code line.
Where do I change the iframe src? (I’m using TinyMCE inside of WP).
Thanks!
You may use this
or in case you know your editor id