dotfile thing<\/a> to warn you when you do it.<\/p>\nAny more?<\/h3>\n
Have any pet peeves about copy and paste, or selection in general, on the web?<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
Have you ever tried to copy and paste some text only to find it frustrating, awkward, or even impossible? I bet you have. It’s not random. On the web, you have a decent amount of control over it. Let’s just lay a bunch of stuff out there as food for thought.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":338189,"url":"https:\/\/css-tricks.com\/how-to-create-actions-for-selected-text-with-the-selection-api\/","url_meta":{"origin":201868,"position":0},"title":"How to Create Actions for Selected Text With the Selection API","date":"April 28, 2021","format":false,"excerpt":"Click, drag, release: you\u2019ve just selected some text on a webpage\u2009\u2014\u2009probably to copy and paste it somewhere or to share it. Wouldn't it be cool if selecting that text revealed some options that make those tasks easier? That\u2019s what a selection menu does. You may already be familiar with selection\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/04\/selection-api-selected-text-actions.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":352274,"url":"https:\/\/css-tricks.com\/embracing-asymmetrical-design\/","url_meta":{"origin":201868,"position":1},"title":"Embracing Asymmetrical Design","date":"September 20, 2021","format":false,"excerpt":"I'll never forget one of Karen McGrane's great lessons to the world: truncation is not a content strategy. The idea is that just clipping off text programmatically is a sledgehammer, and avoids the kind of real thinking and planning that makes for good experiences. https:\/\/twitter.com\/karenmcgrane\/status\/520576694210801665?lang=en https:\/\/twitter.com\/karenmcgrane\/status\/1288301727997931520?lang=en You certainly can trucate\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/09\/asymmetrical-titles-in-boxy-format.png?fit=700%2C545&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":343435,"url":"https:\/\/css-tricks.com\/zero-width-space\/","url_meta":{"origin":201868,"position":2},"title":"Zero-Width Space","date":"July 2, 2021","format":false,"excerpt":"The name zero-width space is antithetical, but it's not without uses. In text, maybe you'd use it around slashes because you want to be sure the words are treated individually but not have any physical space around the slash: That's an image. WordPress was being weird about it and not\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/06\/zero-width-tooling.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":166665,"url":"https:\/\/css-tricks.com\/svg-wordpress-custom-fields\/","url_meta":{"origin":201868,"position":3},"title":"SVG & WordPress Custom Fields","date":"March 24, 2014","format":false,"excerpt":"The following is a guest post by Ian Marquette. Ian learned that SVG can have a element, meaning that text could come from a dynamic source while still being able to do cool custom SVG-specific stuff to it. I was recently working on a WordPress-based website that needed an infographic.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":302288,"url":"https:\/\/css-tricks.com\/web-component-for-a-code-block\/","url_meta":{"origin":201868,"position":4},"title":"Web Component for a Code Block","date":"February 18, 2020","format":false,"excerpt":"We'll get to that, but first, a long-winded introduction. I'm still not in a confident place knowing a good time to use native web components. The templating isn't particularly robust, so that doesn't draw me in. There is no state management, and I like having standard ways of handling that.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/01\/code-block-screenshot.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":194984,"url":"https:\/\/css-tricks.com\/can-copy-console\/","url_meta":{"origin":201868,"position":5},"title":"You can copy() from the console","date":"February 3, 2015","format":false,"excerpt":"You can in Blink\/WebKit, anyway. You can't directly in JavaScript, as I'm sure that's some security (or good taste) issue that just isn't allowed. Sites that do it tend to rely on Flash. But it works in the console, and that can be all kinds of useful! Your own little\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"featured_media_src_url":null,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/201868"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=201868"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/201868\/revisions"}],"predecessor-version":[{"id":345993,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/201868\/revisions\/345993"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=201868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=201868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=201868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}