Add widget toggles module

* API: https://github.com/element-hq/element-modules/pull/219
 * Element Web API impl: https://github.com/element-hq/element-web/pull/32734
This commit is contained in:
David Baker
2026-03-06 11:02:11 +00:00
parent fee5f0633c
commit 30abf86c4b
8 changed files with 321 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Widget Toggles Module
Adds room header buttons for widgets in the room.
This module needs to be configured to control what widget types get buttons added for them.
The following config snippet enables the module and configures it to add buttons for both
custom and jitsi widgets:
```
"modules": [
"/modules/widget-toggles/lib/index.js"
],
"io.element.element-web-modules.widget-toggles": {
"types": ["m.custom", "jitsi"]
}
```