My homepage joined a social network → michaelaufreiter.com.
Previously: postowl.com and letsken.com.
Gave a presentation on "What is stopping developers from creating editors based only on input events?" at todays TPAC Meeting in Japan.
Web-editing ftw! :)
Gave a presentation on "What is stopping developers from creating editors based only on input events?" at todays TPAC Meeting in Japan.
Web-editing ftw! :)
(few workarounds were needed, which I hope can be removed over time — see github.com/michael/web-...)
(few workarounds were needed, which I hope can be removed over time — see github.com/michael/web-...)
Issues: github.com/michael/web-...
Repros: github.com/michael/web-...
Issues: github.com/michael/web-...
Repros: github.com/michael/web-...
Sneak peek into editable.website v2, powered by svedit.dev.
Full video on Youtube: youtube.com/watch?v=o4kc...
Sneak peek into editable.website v2, powered by svedit.dev.
Full video on Youtube: youtube.com/watch?v=o4kc...
Well, not yet. But this morning I spent an hour or so replicating ProseMirror's Dinos example. Not done yet, but kinda works.
Convo: github.com/michael/sved...
PR: github.com/michael/sved...
Well, not yet. But this morning I spent an hour or so replicating ProseMirror's Dinos example. Not done yet, but kinda works.
Convo: github.com/michael/sved...
PR: github.com/michael/sved...
Svedit (the client) will always see one self-contained doc, but the server might split it up into sub-docs.
github.com/michael/sved...
Svedit (the client) will always see one self-contained doc, but the server might split it up into sub-docs.
github.com/michael/sved...
vite-node is brittle. :(
vite-node is brittle. :(
svelte.dev/playground/2...
svelte.dev/playground/2...
However, I want to use that Document class outside of Svelte/Kit, like in a Node.js migration script.
What options do I have?
- vite-node?
- move all $state outside of Document?
- ???
However, I want to use that Document class outside of Svelte/Kit, like in a Node.js migration script.
What options do I have?
- vite-node?
- move all $state outside of Document?
- ???
It's all about better copy and paste.
Try selecting and copying a couple of images in your filesystem and paste them into Svedit.
Oh and since Svedit is growing up now, it's got its own domain.
svedit.dev
Enjoy!
It's all about better copy and paste.
Try selecting and copying a couple of images in your filesystem and paste them into Svedit.
Oh and since Svedit is growing up now, it's got its own domain.
svedit.dev
Enjoy!
Depending on your cursor position it will insert the correct node type (e.g. here it creates image grid items)
Try it yourself at svedit.vercel.app
Depending on your cursor position it will insert the correct node type (e.g. here it creates image grid items)
Try it yourself at svedit.vercel.app
An anchor-name is derived from the path, it can be used to position overlays relative to the annotation.
An anchor-name is derived from the path, it can be used to position overlays relative to the annotation.
Here’s how you can now define a custom annotation ‘highlight’. Annotations can also hold properties like any other node (see ‘link’).
Here’s how you can now define a custom annotation ‘highlight’. Annotations can also hold properties like any other node (see ‘link’).
However, I just pushed a fix, and now on svedit.vercel.app you should be able to type Korean/Japanese/Chinese. Finally! 🥳
However, I just pushed a fix, and now on svedit.vercel.app you should be able to type Korean/Japanese/Chinese. Finally! 🥳
You can now use character/word composition (IME), grapheme clusters (emojis) are properly recognized, and lots of bugs related to contenteditable have been fixed.
Demo: svedit.vercel.app
You can now use character/word composition (IME), grapheme clusters (emojis) are properly recognized, and lots of bugs related to contenteditable have been fixed.
Demo: svedit.vercel.app
svelte.dev/playground/h...
svelte.dev/playground/h...
Thank you, to whoever found it - and the right words. ;)
Thank you, to whoever found it - and the right words. ;)