# Get Text from Text Component

**URL:** <https://forums.realmacsoftware.com/t/get-text-from-text-component/45853>\
**Category:** RapidWeaver Elements\
**Created:** [January 7, 2025, 9:11pm UTC](https://forums.realmacsoftware.com/t/get-text-from-text-component/45853 "2025-01-07T21:11:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [January 7, 2025, 9:11pm UTC](https://forums.realmacsoftware.com/t/get-text-from-text-component/45853/1 "2025-01-07T21:11:54Z")

</div>

@dan @tpbradley

Hi Guys, Is it possible to get the text that has been entered into a text component in the hooks file?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [January 7, 2025, 9:23pm UTC](https://forums.realmacsoftware.com/t/get-text-from-text-component/45853/2 "2025-01-07T21:23:54Z")

</div>

In theory, this might be possible, but I’d strongly recommend against it unless you have an exceptionally good reason. 😊

When building components, it’s helpful to keep in mind that we’re aiming for a WYSIWYG (What You See Is What You Get) editor experience—something users naturally expect. That means the content in the editor should match what’s exported as closely as possible. Staying true to this principle helps ensure a smooth, predictable workflow for users and avoids confusion down the line.
