---
title: "How to modify the settings for the Post Content edit field"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/edit-entry/how-to-modify-the-settings-for-the-post-content-edit-field/"
---

![Rich text editor interface for editing Post Content with formatting options and sample text](https://www.gravitykit.com/wp-content/uploads/2025/10/file-IJ9U2PTbqq.png)
GravityView uses the `wp_editor()` function provided by WordPress to enable rich text editing when editing the Post Content field. **[See what settings are available](https://developer.wordpress.org/reference/classes/_wp_editors/parse_settings/)**

If you want to modify the functionality of the editor, you can use the `gravityview/edit_entry/post_content/wp_editor_settings` filter, which accepts the same parameters as the `wp_editor()` function.

### Enable the "Add Media" button

By default, GravityView has the "Add Media" button disabled. To enable it, use the code below:

```

function modify_gv_wp_editor_settings_add_media( $settings ) {
  $settings['media_buttons'] = true;
  return $settings;
}

add_filter('gravityview/edit_entry/post_content/wp_editor_settings', 'modify_gv_wp_editor_settings_add_media');
```

```

function modify_gv_wp_editor_settings_add_media( $settings ) {
  $settings['media_buttons'] = true;
  return $settings;
}

add_filter('gravityview/edit_entry/post_content/wp_editor_settings', 'modify_gv_wp_editor_settings_add_media');
```

### Disable the Rich Text Editor

If you prefer only to allow editing the text content as HTML, you can also disable the output like so:

```

function modify_gv_wp_editor_settings_disable_tinymce( $settings ) {
  $settings['tinymce'] = false;
  return $settings;
}

add_filter('gravityview/edit_entry/post_content/wp_editor_settings', 'modify_gv_wp_editor_settings_disable_tinymce');
```

```

function modify_gv_wp_editor_settings_disable_tinymce( $settings ) {
  $settings['tinymce'] = false;
  return $settings;
}

add_filter('gravityview/edit_entry/post_content/wp_editor_settings', 'modify_gv_wp_editor_settings_disable_tinymce');
```

There are many settings that you can use to customize the output of the editor. **[See what settings are available](https://developer.wordpress.org/reference/classes/_wp_editors/parse_settings/)**.

Read here how to add these code samples to your website: [Where to put code samples.](https://www.gravitykit.com/docs/gravityview/customizing-your-views/where-to-put-code-samples/)