$("#rteSample").ejRTE({ width: "550px", showFooter: true, fontName:fonts, create: function () { var $head = this._rteIframe.contents().find("head"); var url = "Styles/styles.css"; $head.append($("<link/>", { rel: "stylesheet", rel='nofollow' href: 'http://fonts.googleapis.com/css?family=Roboto', type: "text/css" })); $head.append($("<link/>", { rel: "stylesheet", rel='nofollow' href: 'http://fonts.googleapis.com/css?family=Great+Vibes', type: "text/css" })); } }); |