mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 15:41:51 +08:00
FEATURE: Whitelist the allowfullscreen
iframe attribute (#8086)
Adding this to core allows showing the fullscreen button on external iframe videos like Vimeo. https://meta.discourse.org/t/full-screen-videos-plugin/90869 will not be needed anymore.
This commit is contained in:
parent
9ba4a67766
commit
d93586c63f
|
@ -167,6 +167,7 @@ const DEFAULT_LIST = [
|
|||
"iframe[marginheight]",
|
||||
"iframe[marginwidth]",
|
||||
"iframe[width]",
|
||||
"iframe[allowfullscreen]",
|
||||
"img[alt]",
|
||||
"img[height]",
|
||||
"img[title]",
|
||||
|
|
Loading…
Reference in New Issue
Block a user