# \#text

**URL:** https://forums.creativeclouddeveloper.com/tag/text/40.md

[Latest](https://forums.creativeclouddeveloper.com/latest.md) · [Categories](https://forums.creativeclouddeveloper.com/categories.md) · [Tags](https://forums.creativeclouddeveloper.com/tags.md)

---

## [Text encoding (?) - replaced special characters](https://forums.creativeclouddeveloper.com/t/text-encoding-replaced-special-characters/6031)

<div class="topic-metadata">

**Author:** [@mbarylka](https://forums.creativeclouddeveloper.com/u/mbarylka)\
**Replies:** 6\
**Last updated:** [March 14, 2023, 9:34pm UTC](https://forums.creativeclouddeveloper.com/t/text-encoding-replaced-special-characters/6031 "2023-03-14T21:34:57Z")

</div>

I’m writing a react text replacement plugin in UXP and got a problem with special characters like ►. It transfers it to the sp-text-area from a layer without any issues, but when the text gets back to the layer I get dou…

---

## [Getting all the different font families and styles existing in one text box](https://forums.creativeclouddeveloper.com/t/getting-all-the-different-font-families-and-styles-existing-in-one-text-box/2050)

<div class="topic-metadata">

**Author:** [@dcotto](https://forums.creativeclouddeveloper.com/u/dcotto)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 7:29am UTC](https://forums.creativeclouddeveloper.com/t/getting-all-the-different-font-families-and-styles-existing-in-one-text-box/2050 "2020-10-08T07:29:46Z")

</div>

How i am wondering. Does the API have the ability to obtain all the different font families and styles that exists in one text box. For example, in this sentence “PURCHASE ADOBE XD TODAY”, the whole sentence may exist…

---

## [Please confirm: Getting selected text range of Text / Area Text is unsupported](https://forums.creativeclouddeveloper.com/t/please-confirm-getting-selected-text-range-of-text-area-text-is-unsupported/1765)

<div class="topic-metadata">

**Author:** [@abcd\_ca](https://forums.creativeclouddeveloper.com/u/abcd_ca)\
**Replies:** 4\
**Last updated:** [June 27, 2020, 12:38am UTC](https://forums.creativeclouddeveloper.com/t/please-confirm-getting-selected-text-range-of-text-area-text-is-unsupported/1765 "2020-06-27T00:38:07Z")

</div>

Say the end user has a Text (Area Text) node on the page with three paragraphs. Am I right that as a user I can’t select the middle paragraph and in my plugin, glean the start/end range numbers of that text in order to m…

---

## [TextBox focus method highlights the text inside input](https://forums.creativeclouddeveloper.com/t/textbox-focus-method-highlights-the-text-inside-input/1863)

<div class="topic-metadata">

**Author:** [@gaurav](https://forums.creativeclouddeveloper.com/u/gaurav)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 2:31pm UTC](https://forums.creativeclouddeveloper.com/t/textbox-focus-method-highlights-the-text-inside-input/1863 "2020-06-22T14:31:57Z")

</div>

I am having an input control which filters div tag, the problem is when it is filtered,the focus from input control is lost. It is like live filter. I already try using focus() method. But with focus method it highlights…

---

## [Set font family in text area](https://forums.creativeclouddeveloper.com/t/set-font-family-in-text-area/784)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 4:00pm UTC](https://forums.creativeclouddeveloper.com/t/set-font-family-in-text-area/784 "2019-10-09T16:00:04Z")

</div>

In a plugin UI be able to set the font family in a text area. Or as alternative be able to set monospace, serif or sans-serif. Use Case Displaying to the user the pluginData value in a text area and using spaces to lin…

---

## [Error when setting Text.fontFamily](https://forums.creativeclouddeveloper.com/t/error-when-setting-text-fontfamily/637)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 10\
**Last updated:** [June 11, 2019, 9:58pm UTC](https://forums.creativeclouddeveloper.com/t/error-when-setting-text-fontfamily/637 "2019-06-11T21:58:51Z")

</div>

Getting an error when setting the font family property on a Text node. console.log("Font name:" + sceneNode.fontFamily); // Font name: Athelas sceneNode.fontFamily = "Arial"; Gives this error: Error: invalid font fam…
