# Textarea headings with headlines from \<3\> to \<6\> only

**URL:** <https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 12, 2021, 6:09pm UTC](https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586 "2021-03-12T18:09:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tillcremer](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@tillcremer](https://forum.getkirby.com/u/tillcremer)\
**Post date:** [March 12, 2021, 6:09pm UTC](https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586/1 "2021-03-12T18:09:06Z")

</div>

Hello,

is there a way to change and limit the headings in the textarea field? I want the user to use headlines from \<3\> to \<6\> only.

---

<div class="post-metadata">

**Author:** ![pixelijn](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@pixelijn](https://forum.getkirby.com/u/pixelijn)\
**Post date:** [March 12, 2021, 6:14pm UTC](https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586/2 "2021-03-12T18:14:23Z")

</div>

Unfortunately not, but there is a similar field available as a plugin with this option.

> **[sylvainjule/kirby-markdown-field - 3.3. Buttons](https://github.com/sylvainjule/kirby-markdown-field#33-buttons)**
>
> Enhanced markdown editor for Kirby 3, community built.

Keep in mind that people can still use h1 etc. manually, even if there is not button.

---

<div class="post-metadata">

**Author:** ![bvdputte](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bvdputte/32/8179_2.png) [@bvdputte](https://forum.getkirby.com/u/bvdputte)\
**Post date:** [March 13, 2021, 7:29pm UTC](https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586/3 "2021-03-13T19:29:53Z")

</div>

Maybe just change them when you output them in the template so it fits the “header levels” there.

E.g. like this: `$content = str_ireplace(array('<h1>','</h1>'),array('<h2>','</h2>'),$myfield->kt());`

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [March 14, 2021, 10:30am UTC](https://forum.getkirby.com/t/textarea-headings-with-headlines-from-3-to-6-only/21586/4 "2021-03-14T10:30:15Z")

</div>

Further to what Bart said, you can do it with this plugin too, it has heading adjustment built in [GitHub - hananils/kirby-tree-methods: A Kirby 3 plugin providing field methods to filter and manipulate HTML output](https://github.com/hananils/kirby-tree-methods#manipulations)
