zlacker

[parent] [thread] 1 comments
1. coldpi+(OP)[view] [source] 2020-07-23 12:04:33
It'd be cool if browsers had some way to display text and handle things like scrolling and linking to other pages. Really a big oversight when they were designing HTML. Too bad though, I guess every site will have to implement all of that from scratch in JS.
replies(1): >>chrism+w2
2. chrism+w2[view] [source] 2020-07-23 12:27:11
>>coldpi+(OP)
I think the problem here isn’t that, so much as that Notion is using their editing interface even when you’re clearly only reading the document and can’t edit it, and kinda whitewashing it a bit so that it’s not actually editable (with event handlers to stop the normal editing things working, turning the caret colour transparent, &c.), and that seems to mess things up even further. (I don’t use Notion, but I presume their editing interface works better when it’s not read-only, because otherwise no one would be willing to use it.) Of course what they should have done is just produced the HTML (preferably server-side, but even client-side would be tolerable) and left it alone, no contenteditable, event handlers.
[go to top]