When I set the text on a text field the quotes are changed to fancy quotes and two dashes in a row are changed to a single dash. There might be other changes. Reformatting text appears to be on purpose but in my case I’d like the text to stay the same.
Is there an API to prevent this or a way to set the text via an API to prevent reformatting?
Steps to reproduce:
- Add a text field to an artboard
- Paste the following text
- Select a different object (so the change is committed)
Text:
<meta charset="utf-8"/>
--next item;
Expected results
Text is exactly the same
Actual Results
Some characters are changed. Quotes are changed to fancy quotes and --
is changed to single dash -
.