Skip to content

Discourse plugin to add urls to Discourse.Markdown._validIframes

Notifications You must be signed in to change notification settings

choiceaustralia/whitelist-iframe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.6%
  • Ruby 15.4%