# Live editor showing unrelated content for section

**URL:** <https://forum.builder.io/t/live-editor-showing-unrelated-content-for-section/2604>\
**Category:** Bugs\
**Created:** [September 14, 2022, 11:18pm UTC](https://forum.builder.io/t/live-editor-showing-unrelated-content-for-section/2604 "2022-09-14T23:18:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkappel](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gkappel](https://forum.builder.io/u/gkappel)\
**Post date:** [September 14, 2022, 11:18pm UTC](https://forum.builder.io/t/live-editor-showing-unrelated-content-for-section/2604/1 "2022-09-14T23:18:50Z")

</div>

**Builder content link**

> **[Builder.io: Drag and drop Visual CMS](https://builder.io/content/735323fd39544c12b1a2dea163a34dfb/edit?activeDesignerTab=3)**
>
> Build and optimize digital experiences for any tech stack, visually.

**Builder public api key**  
79a2beca42894ade92dce05f54bd8f79

**Detailed steps to reproduce the bug**  
see screenshots  
go to the editor, see wrong content  
outside of editor correct content is shown

**Screenshots or video link**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/0/0dc9abf5388ac127e641c34b0fec7d3cc77fefff.jpeg)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/b/bd6e6a21ac34460bd138bee1428cf608a6123512.jpeg)

**Code stack you are integrating Builder with**  
html/webcomponent

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [September 15, 2022, 5:31pm UTC](https://forum.builder.io/t/live-editor-showing-unrelated-content-for-section/2604/2 "2022-09-15T17:31:28Z")

</div>

Hi @gkappel !

Looking at the web page it seems you are using the [builder web component](https://www.builder.io/c/docs/webcomponents-api) to display dynamic builder content. Which seems to be missing `modal="page"` attribute, if so then mentioning the modal should fix the problem. Kindly check and let us know if you still have any further concerns. Thank you!

```auto
<builder-component model="page" api-key="YOUR_KEY">
  <!-- HTML here will display while your content is loading, e.g. put a gif here, or leave empty -->
</builder-component>
<script async src="https://cdn.builder.io/js/webcomponents"></script>

```

---

<div class="post-metadata">

**Author:** ![gkappel](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gkappel](https://forum.builder.io/u/gkappel)\
**Post date:** [September 15, 2022, 5:48pm UTC](https://forum.builder.io/t/live-editor-showing-unrelated-content-for-section/2604/3 "2022-09-15T17:48:11Z")

</div>

Following is what you get when you do “Get Code” in builder editor, no mention of “model”.

Our preview url is /builder which is currently working for “page” we would like to be able to use same endpoint for additional models

```auto
<!-- The script only needs to be included once per page -->
<script async src="https://cdn.builder.io/js/webcomponents"></script>
<!-- Put this component where you want this Builder content to display -->
<builder-component
  name="zyus-bottom-nav-blocks"
  entry="735323fd39544c12b1a2dea163a34dfb"
  api-key="79a2beca42894ade92dce05f54bd8f79">
  <!-- Whatever you include inside the tag displays while the content is loading -->
  <div style="display: flex; flex-direction: column; align-items: stretch">
    <img
      style="margin: 10px auto; width: 30px; height: 30px"
      src="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F0ea05b817e7040c39ec81987611542d7" />
  </div>
</builder-component>

```
