# Editing posts using a Theme Component

**URL:** https://meta.discourse.org/t/editing-posts-using-a-theme-component/381671
**Category:** Development
**Created:** [September 5, 2025, 3:18am UTC](https://meta.discourse.org/t/editing-posts-using-a-theme-component/381671 "2025-09-05T03:18:28Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 5, 2025, 10:04am UTC](https://meta.discourse.org/t/editing-posts-using-a-theme-component/381671/3 "2025-09-05T10:04:59Z")

</div>

> [@NateDhaliwal](#):
>
> I think each post is based of [this API request](https://docs.discourse.org/#tag/Topics/operation/getSpecificPostsFromTopic)? And the response doesn’t seem to have `raw` as one of the JSON keys 😮‍💨.

Yeah that’s right - we don’t include `raw` in the default response. It’s not needed for normal rendering, so including it would be kinda wasteful in terms of data-transfer/speed.

The best bet would be to make an extra ajax request when you need it. As you found, the [checklist plugin is a good example of this](https://github.com/discourse/discourse/blob/6c8c1bb7b616d8861ce0d3a2321c1223778dac40/plugins/checklist/assets/javascripts/discourse/initializers/checklist.js#L96).

---

_[View the full topic](https://meta.discourse.org/t/editing-posts-using-a-theme-component/381671)._
