3 ms·
> The same operation used to require implementing a single delegate method in 1990s AppKit. I find that hard to believe. And not to "uhm, ackshually" you, but
by gavinray 2y ago
> The same operation used to require implementing a single delegate method in 1990s AppKit.
I find that hard to believe.
And not to "uhm, ackshually" you, but what you're describing is possible via the native HTML "contenteditable" property.
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...
(Actually doing something useful with edits is another story, but that's not what the comment is about)
- pfg_ 2y agocontenteditable is incredibly painful to use, not standardized and different across browsers, and buggy in firefox
- gavinray 2y agoSure, though the question was about "making a table cell editable" requiring pages of obscure code. _Technically_, it requires a single HTML attribute. If you want to build some sort of reactive, spreadsheet-like experience with cells and calculations, then yeah there's some inherent complexity in that.