Skip to content

read/write textareas#51

Merged
osnr merged 1 commit into
osnr:masterfrom
joshuahhh:master
Jan 13, 2021
Merged

read/write textareas#51
osnr merged 1 commit into
osnr:masterfrom
joshuahhh:master

Conversation

@joshuahhh

@joshuahhh joshuahhh commented Jan 11, 2021

Copy link
Copy Markdown
Contributor

rudimentary; just getting my feet wet!

inspired by Anil Dash's feature request.

submitting a pull request with TabFS
demonstration: https://user-images.githubusercontent.com/643799/104154300-6be1e480-5399-11eb-8f3e-853a8c817f79.mp4.

the thought arose that this should really be done building off a general "dom tree as file tree" adapter, but actually: 1. there isn't anything like document.querySelectorAll for file trees, and 2. there's no particularly nice way to make one file tree a computed 'view' on another file tree. so that approach has some obstacles.

(btw: this PR is 99% just to share my exploration – no worries if it doesn't make sense to merge this!)

@jtagcat

jtagcat commented Jan 11, 2021

Copy link
Copy Markdown

blog link is https://http.cat/404

also btw vsc has auto-save for more demo internet points

@osnr osnr merged commit c8f6827 into osnr:master Jan 13, 2021
@osnr

osnr commented Jan 13, 2021

Copy link
Copy Markdown
Owner

thanks! it seems to work -- I think #40 rears its head a bit here if you shorten the textarea content, and the ID thing would be nice to fix someday, but this is a good start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants