mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:25:53 +08:00
231dc10bbd
Add the ability to modify a selectKit's content with `replaceContent` Eg. ``` api.modifySelectKit("combo-box").replaceContent(() => { return { id: "foo", name: "Foo", }; }); ``` will override existing content to only include the passed object |
||
---|---|---|
.. | ||
plugin-api.js | ||
tags.js | ||
utils.js |