I’m looking for a straight forward description of how to use a canvas element sort of like a text area.
I have seen projects such as Ace. Just wondering how to go about writing to the area as if it where a textarea. Just plain text, nothing fancy.
Thanks in advance.
Ace used to be Mozilla Skywriter, which used to be Mozilla Bespin.
The code for Bespin is actually pretty simple to understand if you are willing to dig through it and make your own based on it, but it is sort of a fool’s errand. The Canvas spec actually advises specifically against this: