# Markdown editor with text input

**URL:** <https://forum.inductiveautomation.com/t/markdown-editor-with-text-input/103873>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 19, 2025, 11:16am UTC](https://forum.inductiveautomation.com/t/markdown-editor-with-text-input/103873 "2025-03-19T11:16:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmadariaga](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmadariaga/32/63201_2.png) [@mmadariaga](https://forum.inductiveautomation.com/u/mmadariaga)\
**Post date:** [March 19, 2025, 11:16am UTC](https://forum.inductiveautomation.com/t/markdown-editor-with-text-input/103873/1 "2025-03-19T11:16:46Z")

</div>

I want to dynamically change the color of the words the user is typing. The only solution I can think of is binding a text field to a markdown and transforming it there. Is there another way to achieve this? The ideal outcome would be to write directly over the markdown.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d91e9f5ab51af68850d89e1a1865925daa8f3f84.png)

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [March 19, 2025, 3:22pm UTC](https://forum.inductiveautomation.com/t/markdown-editor-with-text-input/103873/2 "2025-03-19T15:22:47Z")

</div>

Unfortunately, I don't think there is a native Perspective way to achieve this.

I am sure there is some JavaScript injection that could be done, but that can be unsafe.

If I want something like this, I do what you have done and just show it in a markdown and then when they want to edit it goes to the text area.

---

<div class="post-metadata">

**Author:** ![mmadariaga](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmadariaga/32/63201_2.png) [@mmadariaga](https://forum.inductiveautomation.com/u/mmadariaga)\
**Post date:** [March 21, 2025, 10:54am UTC](https://forum.inductiveautomation.com/t/markdown-editor-with-text-input/103873/3 "2025-03-21T10:54:55Z")

</div>

Okay thanks, I'll try that.
