# Getting the raw data out of @text

**URL:** <https://forums.realmacsoftware.com/t/getting-the-raw-data-out-of-text/53077>\
**Category:** Elements API\
**Created:** [December 8, 2025, 6:41pm UTC](https://forums.realmacsoftware.com/t/getting-the-raw-data-out-of-text/53077 "2025-12-08T18:41:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pocahontius](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@pocahontius](https://forums.realmacsoftware.com/u/pocahontius)\
**Post date:** [December 8, 2025, 6:41pm UTC](https://forums.realmacsoftware.com/t/getting-the-raw-data-out-of-text/53077/1 "2025-12-08T18:41:35Z")

</div>

Hello,

for my own component, I want to get the text out of an @text without the HTML markup, but as raw text with line breaks. For example, if someone enters:

ABC

DEF

I want to get exactly this back and not

ABC

DEF

.

Is this possible? I found out that this works with a textarea, but it would be much nicer to use @text and having it in the actual webpage to edit it…

Thanks

pocahontius

---

<div class="post-metadata">

**Author:** ![pocahontius](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@pocahontius](https://forums.realmacsoftware.com/u/pocahontius)\
**Post date:** [December 8, 2025, 6:43pm UTC](https://forums.realmacsoftware.com/t/getting-the-raw-data-out-of-text/53077/2 "2025-12-08T18:43:53Z")

</div>

Sorry, I meant I do not want to get

```auto
<p>ABC</p><p>DEF</p>

```
