# Pause editing and embedding

**URL:** <https://talk.observablehq.com/t/pause-editing-and-embedding/8578>\
**Category:** Feedback\
**Created:** [December 7, 2023, 2:30pm UTC](https://talk.observablehq.com/t/pause-editing-and-embedding/8578 "2023-12-07T14:30:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcmcclur](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mcmcclur/32/2364_2.png) [@mcmcclur](https://talk.observablehq.com/u/mcmcclur)\
**Post date:** [December 7, 2023, 2:30pm UTC](https://talk.observablehq.com/t/pause-editing-and-embedding/8578/1 "2023-12-07T14:30:30Z")

</div>

As I understand it, when a cell from a notebook where editing has been paused is embedded, then that cell should appear in the embedding as it does in the paused notebook. The cell should _not_ look as it does in the most recent version. That does not appear to be the case currently, though.

I noticed this when I posted [this response](https://talk.observablehq.com/t/normalised-histogram-in-observable-plot/8576/4) to a forum question. If you check [the notebook](https://observablehq.com/d/0158051e7985f87b), though, you’ll notice that it’s been paused but the forum displays the most recent version.

---

<div class="post-metadata">

**Author:** ![Cobus](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/cobus/32/9670_2.png) [@Cobus](https://talk.observablehq.com/u/Cobus)\
**Post date:** [December 7, 2023, 5:04pm UTC](https://talk.observablehq.com/t/pause-editing-and-embedding/8578/2 "2023-12-07T17:04:51Z")

</div>

Hi Mark,

When I look at the embed in your post, it shows this:

```auto
<iframe width="100%" height="476" frameborder="0"
  src="https://observablehq.com/embed/0158051e7985f87b?cells=normalized_histogram"></iframe>

```

When I go to the notebook (which is paused as you mentioned) and generate the iframe embed code for the chart I see this:

```auto
<iframe width="100%" height="476" frameborder="0"
  src="https://observablehq.com/embed/0158051e7985f87b@paused?cells=normalized_histogram"></iframe>

```

Notice the `@paused` in the URL… I wonder whether, when you generated the iframe embed code, you may not have been in the paused mode?

Regards  
Cobus

---

<div class="post-metadata">

**Author:** ![mcmcclur](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mcmcclur/32/2364_2.png) [@mcmcclur](https://talk.observablehq.com/u/mcmcclur)\
**Post date:** [December 7, 2023, 5:25pm UTC](https://talk.observablehq.com/t/pause-editing-and-embedding/8578/3 "2023-12-07T17:25:22Z")

</div>

> [@Cobus](#):
>
> `https://observablehq.com/embed/0158051e7985f87b@paused`

Yes, you’re absolutely right! I did not realize I needed to pause live editing _prior_ to attempting to embed. Alternatively, I can use pin to the version “`@pause`”.

Thanks!

---

<div class="post-metadata">

**Author:** ![mythmon](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mythmon/32/8504_2.png) [@mythmon](https://talk.observablehq.com/u/mythmon)\
**Post date:** [December 8, 2023, 12:00am UTC](https://talk.observablehq.com/t/pause-editing-and-embedding/8578/4 "2023-12-08T00:00:03Z")

</div>

More specifically, when you embed the notebook, it generates an embed code for whatever view your own. So if you pause the notebook, and then switch to the `@latest` view, your embeds will generate with `@latest`.
