mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
The ability to attach attrs when embedding widgets
This commit is contained in:
@@ -188,7 +188,7 @@ widgetTest('widget attaching', {
|
||||
|
||||
createWidget('attach-test', {
|
||||
tagName: 'div.container',
|
||||
template: hbs`{{attach widget="test-embedded"}}`
|
||||
template: hbs`{{attach widget="test-embedded" attrs=attrs}}`
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user