# איך לקשט פוסט לפני שהוא מבושל?

**URL:** <https://meta.discourse.org/t/how-to-decorate-a-post-before-its-cooked/182052>\
**Category:** Development\
**Created:** [4 במרץ,‏ 2021,‏ 3:49pm UTC](https://meta.discourse.org/t/how-to-decorate-a-post-before-its-cooked/182052 "2021-03-04T15:49:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![spirobel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spirobel/32/170908_2.png) [@spirobel](https://meta.discourse.org/u/spirobel)\
**Post date:** [4 במרץ,‏ 2021,‏ 4:09pm UTC](https://meta.discourse.org/t/how-to-decorate-a-post-before-its-cooked/182052/2 "2021-03-04T16:09:09Z")

</div>

you need to use this function:

> <https://github.com/discourse/discourse/blob/2123561125242a3c048958a56bd8bebe83cd577f/app/assets/javascripts/discourse/app/lib/plugin-api.js#L972>

which will overwrite this:

> <https://github.com/discourse/discourse/blob/2123561125242a3c048958a56bd8bebe83cd577f/app/assets/javascripts/discourse/app/models/composer.js#L850>

so you can change the post before its saved.  
peace out. 😃

---

_[View the full topic](https://meta.discourse.org/t/how-to-decorate-a-post-before-its-cooked/182052)._
