Collywobble is a LiveView application that syncs state between multiple
browsers manipulating a contenteditable
div.
col·ly·wob·bles /ˈkälēˌwäb(ə)lz/
- stomach pain or queasiness. "an attack of collywobbles"
- intense anxiety or nervousness, especially with stomach queasiness. "such organizations give him the collywobbles"
This application assumes that asdf
is used to install Erlang and
Elixir. Setup the application locally using the following commands:
bin/dev/doctor
bin/dev/start
- Open two browsers to
http://localhost:4000
. In one browser, enter a pad id, for examplemy-note
. - Copy the url.
- Paste the url into the second browser.
- Edit/add text in each browser. Updates should appear in the other browser.
- Select text in each browser. Cursor/highlights should appear in the other browser.
- Adding empty lines of text causes the current cursor to jump around.
- Sometimes the JS for getting the current selection gives back data that doesn't seem to work, either in the current browser or in observing browsers.
bin/dev/doctor
bin/dev/start
bin/dev/update
bin/dev/shipit