HTML and the text

Hi there
Is there a way to get the text that I added in hype in my HTML so I can edit it without using the hype source again, the problem is that i have to edit it from the denerated java file not in the HTML

no, not really …

I am sorry, Not really for the first part or for second part :slight_smile:

You can assign an ID or class and the use document.querySelector to get and set the text. I am on the road so I can’t make you an example right now.


Also if you don’t want to do on the fly editing you can create unique placeholder strings and string replace them with PHP, Server side JS, python or any other language of your choosing that can perform string replacement on the exported Hype-JS file. You can even just use a local text editor with search/replace or write a small batch/Apple/VB script.