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
(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
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]']);
}