mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:48:33 +08:00
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
import { withPluginApi } from 'discourse/lib/plugin-api';
|
|
|
|
export default {
|
|
name: "apply-details",
|
|
|
|
initialize() {
|
|
withPluginApi('0.1', api => {
|
|
api.decorateCooked($elem => $("details", $elem).details());
|
|
});
|
|
}
|
|
};
|