# Increase DEditor width to post width?

**URL:** https://meta.discourse.org/t/increase-deditor-width-to-post-width/411774
**Category:** Development
**Created:** [September 7, 2026, 2:49am UTC](https://meta.discourse.org/t/increase-deditor-width-to-post-width/411774 "2026-09-07T02:49:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [September 7, 2026, 2:49am UTC](https://meta.discourse.org/t/increase-deditor-width-to-post-width/411774/1 "2026-09-07T02:49:30Z")

</div>

In the `post-content-cooked-html` outlet, I have a Form which has a DEditor element. However, the editor element is, for some reason, tiny. Is there a CSS variable or some calculation that can be performed to get the width of the post, and apply that?

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/4/1/d4119bdda78a68abc703a8c7b5ce6b0f2d567c43.png)

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [September 7, 2026, 3:00am UTC](https://meta.discourse.org/t/increase-deditor-width-to-post-width/411774/2 "2026-09-07T03:00:12Z")

</div>

All it takes is some patience 🙂

```css
.inline-editor,
.inline-editor > #control-content > .form-kit__container-content {
  width: stretch;
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 9, 2026, 3:00am UTC](https://meta.discourse.org/t/increase-deditor-width-to-post-width/411774/3 "2026-09-09T03:00:43Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
