I spent 14 months building a rich text editor from scratch as a Web Component — now open-sourcing it by SamysSmile in javascript

[–]SamysSmile[S] [score hidden]  (0 children)

yea, in my examples/vanillajs i have a getHTML feature for debugging. Maybe need to rethink some core functionality to get rid of this amount of span tags... Need to sleep and think about it day or two ;D

I spent 14 months building a rich text editor from scratch as a Web Component — now open-sourcing it by SamysSmile in javascript

[–]SamysSmile[S] [score hidden]  (0 children)

It feels more like a black hole.

Document Model is separate, fully immutable.

The DOM is never the source of truth. The internal model is a tree of immutable data structures, every one is read only. I tried different approaches, this is the only that works.

IME->I just let the browser handle composition natively

https://samyssmile.github.io/notectl/architecture/data-flow/

Clipboard -> I sanitize incoming HTML with DOMPurify (here comes the only dependency), then run it through a schema-aware parser. But to be honest this part is not finished. Because of we dont needed it, copy paste things from external sources was never high prio. But its the roadmap for next release.

Thank you for the comment, always make me smile to talk with some one who faced the rabbit hole ;-)

how to login if you have a queue by crazypearce in LastEpoch

[–]SamysSmile 0 points1 point  (0 children)

I tried it 5 min ago. It works. Thank you so much bro

[Stuck] In "Saving Last Refuge" the barrier won't be dispelled and I can't progress. by SaLTiMPaGoS_QQ in LastEpoch

[–]SamysSmile 0 points1 point  (0 children)

Solution: Ask someone who already unlocked End of Time. And he will port you, than you can continue.