Dev interface second try (syntax highlight, visuals, button colors)
Closed this issue · 3 comments
Replaces #134
Obsoletes #190
branch: https://github.com/rchain-community/rgov/tree/214-dev-interface
@dckc @David405 Moving forward, we'll need answers to #190 (comment)
@Bill-Keuntje I also made a lot of efforts yesterday to reintroduce the oninput
function to no avail, Like you said, I strongly agree that it has to do with the Prismjs handles the HTML elements, so right now we may have to seek for other solutions that would incorporate the <textarea>
.
This solution you posted has some important tricks we didn't include while the <textarea>
existed, so I will test out some new changes while including the <textarea>
.
@David405 I've created the branch https://github.com/rchain-community/rgov/tree/214-dev-interface That has the working changes we've made. It also includes a <textarea>
. There is no attempt to layer things yet, but the highlighting element updates correctly when typing in the <textarea>
.
Deploy/explore works correctly, so I think we're safe to proceed from here.
Let me know if I've missed something.