Saturday 8 August 2015

Javascript Text Editor

Many of my coding project have been Javascript based for the simple fact that nothing is better for click and play function and ease of source code sharing. One thing it lacks though is easy file read/write access. This is for the extremely sensible reason of not allowing any arbitrary script edit the contents of your hard-drive when you load a page, that would be chaos!

Files can be saved and loaded by the user though so with significant help from the example script on the blog This Could Be Better I've made a proof-of-concept file loader and editor. This opens up all kinds of exciting prospects for projects which are more than little toys. There are several things I experimented with in Java which would benefit from such functionality if ported to Javascript. :D

Javascript Text Editor
File : Save as :

I could even write code in this browser based editor :3

No comments:

Post a Comment