evil-shrike / discourse-whitelist-iframe

Discourse plugin to add urls to Discourse.Markdown._validIframes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whitelist iframe

An example Discourse plugin for whitelisting iframe urls

Usage

Fork this repository and add the urls that you wish to whitelist to assets/javascripts/lib/discourse-markdown/whitelist-iframe.js.es6. For older versions of Discourse, you may need to add the whitelisted urls to assets/javascripts/iframe-whitelist.js instead.

About

Discourse plugin to add urls to Discourse.Markdown._validIframes


Languages

Language:JavaScript 84.5%Language:Ruby 15.5%