I’m trying to make a website for my classroom. Classes don’t always have access to projectors. I’d like to make a site that has my editor on the left in read only mode and theirs on the right. I’m having trouble getting the editor to show my code being written live. I was using innerText but there wasn’t any highlighting and I’m not sure if fromTextArea() will cause performance problems if it’s being called after every character I type. Does anyone have some ideas on how to get this working?
Should I just create a new editor instance on the server and then send that to the clients?