# Modal Window

**URL:** <https://meta.discourse.org/t/modal-window/46798>\
**Category:** Plugin\
**Created:** [July 4, 2016, 9:11am UTC](https://meta.discourse.org/t/modal-window/46798 "2016-07-04T09:11:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Alex\_Rabolin](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex\_Rabolin](https://meta.discourse.org/u/Alex_Rabolin)\
**Post date:** [October 19, 2016, 10:05am UTC](https://meta.discourse.org/t/modal-window/46798/5 "2016-10-19T10:05:39Z")

</div>

Hello, the plugin is broken recently, have you got a idea please ?

The tag `iframe src=` is not broken, is ready 🙂 .  
But the tag `label for=` is broken ( and i want to use `span class *` for glyphicon on the forum post but it’s not ready to ☹ )

###This is the code of the plugin :

## .js

```plaintext
(function() {
      Discourse.Markdown.whiteListTag('label', 'for', '*');
      Discourse.Markdown.whiteListTag('iframe', 'src', 'https://www.meteoblue.com/fr/meteo/widget/daily/*');
      Discourse.Markdown.whiteListTag('iframe', 'src', 'http://www.windguru.cz/fr/*');
      Discourse.Markdown.whiteListTag('iframe', 'src', 'https://beta.windguru.cz/*'); 
      Discourse.Markdown.whiteListTag('iframe', 'src', 'https://embed.windytv.com/*'); 
    })();

```

**_and_**

## .js.es6

```plaintext
import { registerOption } from 'pretty-text/pretty-text';

    registerOption((siteSettings, opts) => {
      opts.features["plugin-kitedor"] = true;
    });

    export function setup(helper) {
      helper.whiteList(['label[for]']);
      helper.whiteList(['iframe[src]']);
    }

```

---

_[View the full topic](https://meta.discourse.org/t/modal-window/46798)._
