# Auto-Hide Post Editor Preview

**URL:** https://meta.discourse.org/t/auto-hide-post-editor-preview/101206
**Category:** Support
**Created:** [November 3, 2018, 1:17pm UTC](https://meta.discourse.org/t/auto-hide-post-editor-preview/101206 "2018-11-03T13:17:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [November 3, 2018, 2:27pm UTC](https://meta.discourse.org/t/auto-hide-post-editor-preview/101206/2 "2018-11-03T14:27:40Z")

</div>

As a user, there’s no setting to hide the preview by default. As an admin of a Discourse install, you can do it in a [theme-component](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966).

You’d use something like this in the header tab of your theme, or in a theme-component:

```plaintext
<script type="text/discourse-plugin" version="0.8">
controller = api.container.lookup('controller:composer');

controller.reopen({
  showPreview: false 
})
</script>

```

and that would make the composer open with the preview hidden by default.

[https://global.discourse-cdn.com/meta/original/3X/0/8/083af6d1599465fee44e2c75610bf6cbead99b31.mp4](https://global.discourse-cdn.com/meta/original/3X/0/8/083af6d1599465fee44e2c75610bf6cbead99b31.mp4)

I’d be careful about such a change though because it would apply to all the users on your community. Some of these users might actually prefer to have the preview visible by default.

---

_[View the full topic](https://meta.discourse.org/t/auto-hide-post-editor-preview/101206)._
