# תמיכה ב-HTML עבור חלון דיאלוג

**URL:** <https://meta.discourse.org/t/dialog-modal-html-support/248361>\
**Category:** UX\
**Created:** [9 בדצמבר,‏ 2022,‏ 8:36am UTC](https://meta.discourse.org/t/dialog-modal-html-support/248361 "2022-12-09T08:36:50Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [24 בינואר,‏ 2023,‏ 11:29am UTC](https://meta.discourse.org/t/dialog-modal-html-support/248361/12 "2023-01-24T11:29:06Z")

</div>

> [@Heliosurge](#):
>
> With your js would you just create a new theme-component & upload the \*.js file? Is there any thing else needed in the css etc parts? or will it just work?

Just create a new component in admin and [paste the code above](https://meta.discourse.org/t/dialog-modal-html-support/248361/10) in the Common \> Header section. It will allow to handle HTML in the modal when you click the New Topic button. 🙂

Demo

Without code  
As you can see the banner is support HTML but when I click the New Topic button the modal (dialog) is not support it.

* * *

With code

* * *

I am not sure what you mean by 🔽

> [@Heliosurge](#):
>
> And if ibwant dialog prior to link button what eould I be required to do code wise.

---

_[View the full topic](https://meta.discourse.org/t/dialog-modal-html-support/248361)._
