Forum Discussion
IanDavies-43652
3 years agoCommunity Member
Is it possible to set a TextEntry to be read-only?
I would like to be able to set a TextEntry to be read-only. The reason I am using a TextEntry is because it allows the user to copy the text within it when embedded within a Rise course, unlike a text box.
Is it possible to either set the TextEntry to read-only or is there some other way I can have some text whose value I can set with Javascript that allows the user to copy the contents to the clipboard?
Thank you.
- Jürgen_Schoene_Community Member
here is a small javascript solution
you have to test it on rise with Chrome*, because of browser restictions of the Clipborad API in iframe
if this error happend, this would be the error message in the browser console
then Articulate has to update their storyline iframe integration in rise
<iframe src="..." allow="clipboard-read; clipboard-write; ..."></iframe>
Jürgen