# DiscourseのEmber APIでiframeを挿入するのに問題があります

**URL:** <https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572>\
**Category:** Development\
**Tags:** ember\
**Created:** [2024 年 3 月 22 日午後 6:15 UTC](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572 "2024-03-22T18:15:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2024 年 3 月 23 日午前 12:52 UTC](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572/2 "2024-03-23T00:52:40Z")

</div>

こんにちは！

これを忘れています。

> <https://github.com/focallocal/dcs-discourse-plugin/blob/master/assets/javascripts/discourse/initializers/docuss.js.es6#L217>

このようにすれば、おそらく機能すると思います。

```js
import { observes } from "discourse-common/utils/decorators";

@observes("model.tags")
tagsChanged() {

}

```

ちなみに、コンポーザーコントローラーは現在[サービスに移動されました](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/services/composer.js)。

---

_[View the full topic](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572)._
