3 ms·
>> the recent trend to start interpreting selection of text + pasting of a link as "turn this text into a link using the URL in the clipboard". It just makes c
by akersten 5y ago
>> the recent trend to start interpreting selection of text + pasting of a link as "turn this text into a link using the URL in the clipboard". It just makes complete sense.
Ugh, no no no no no. Modes like this are the opposite of making sense. Highlight something, and press paste - of course it is a replacement of the highlighted text, because that's what pasting does.
Now, we want highlighting something and pasting to contextually mean "insert markup specific to some markup language, after parsing what's on the clipboard and deciding that it looks like another part of that markup language." And it'll work one way on Jupyter notebooks and another on Slack and I can guarantee you that all of them will confuse my screenreader and I'll spend 5 minutes trying to fix whatever stupid web stuff just happened.
No modes.
- danybittel 5y agoI agree, but that is generally not referred to as modes. A mode in UI is, when it switches and the inputs behave different. For example the "Insert" key is a mode. One could argue that Editing and Debugging (of code) are two different modes. What you (and me) dislike are "assistants". It is when a UI decides upon something. If you take close attention you can see clippy flash up and give a helping hand. /s.
- Oddskar 5y agoIf you want to delete the highlighted text, then why not press backspace or delete? Those already have the explicit action you're looking for. >> Now, we want highlighting something and pasting to contextually mean "insert markup specific to some markup language, after parsing what's on the clipboard and deciding that it looks like another part of that markup language." Not really sure what you're trying to say. You don't think they do this already? WYSIWYG-editors on the web almost all have normalization and sanitization built in when you paste something, and depending on where you paste the content will get merged with existing rich text blocks.
- wruza 5y agoThe problem here is “you can’t quickly make a link in our wysiwyg”. Screwing paste is not a correct answer to that. Let it detect that a clipboard text is a link and tooltip-hint a user that they can combine it with a selection by pressing ctrl-alt-v, or something similar. Nobody is against your easy editing, but not at the cost of a cognitive overload. I wish UI/UX designers read some books on how human mind works or how to do UI/UX at least.
- Oddskar 5y agoRight, we're arguing specifics now that wasn't really my point at all.
- PoignardAzur 5y agoI think in general editors should be unsurprising. If there's a general expectation of "if text is selected, and you do a WRITE_TEXT action, then the selected text is replaced with text"; and if CTRL_V is a WRITE_TEXT action; then doing CTRL_V after selecting text should replace the selected text. Then again, the above rule already has exceptions; eg writing a parenthesis in some editors will surround the text with parentheses.