Skip to main content

Timeline for Snippet insertion corrupts content

Current License: CC BY-SA 3.0

21 events
when toggle format what by license comment
Jun 8, 2017 at 18:36 vote accept mplungjan
Jun 8, 2017 at 18:30 history edited Jon ChanStaffMod
edited tags
Jun 8, 2017 at 18:29 answer added Jon ChanStaffMod timeline score: 7
Jun 7, 2017 at 16:23 history edited Jon ChanStaffMod
edited tags
Jun 7, 2017 at 16:23 comment added Jon Chan StaffMod I've been able to reproduce this. Going to do some investigation and see if we can get a fix.
Jun 6, 2017 at 15:55 comment added Draco18s no longer trusts SE Reminds me of another site I use that decided to "upgrade" their forum software and now you can't make posts from a mobile device. At least, not without severe effort (the software deletes the first space (and first symbol!) after every word, regardless of if the user taps the spacebar or if its autoinserted). I reported it and the site said, "It wasn't meant to be mobile friendly. [Closed: Won't Fix]" The site offers mobile-specific content.
Jun 6, 2017 at 13:02 history edited mplungjan CC BY-SA 3.0
added 10 characters in body
Jun 6, 2017 at 12:31 comment added Tschallacka latest chrome has also other issues for me that half of the webs rich text editors don't function properly anymore. they must have changed something big under the hood.
Jun 5, 2017 at 19:42 comment added j08691 Oh thank God someone reported this. I thought that it was just me.
Jun 5, 2017 at 19:31 comment added Nick is tired I've also experienced this using Chrome 58 on a Win10 machine.
Jun 5, 2017 at 19:12 comment added mplungjan Sure I know how to work around, but forget it and then have to redo everything
Jun 5, 2017 at 19:00 comment added user4639281 Note that highlighting the code (without removing it) then creating a snippet and inserting it works as expected. I can only reproduce this when taking the extra step of removing the code prior to inserting a snippet.
Jun 5, 2017 at 18:04 comment added BSMP Maybe it's the specific version? I'm on version 57 on my work machine.
Jun 5, 2017 at 17:29 comment added Ilmari Karonen @BSMP: I can repro this (on Chromium 58 / Linux), but only if I click the snippet button immediately after cutting the code from the edit box. Moving the cursor or making any changes to the edit box before launching the snippet editor makes this bug stop happening. So does even just clicking inside the box. Weird.
Jun 5, 2017 at 17:22 comment added BSMP I'm having a hard time duplicating this. Playing around with adding a snippet by selecting existing code first isn't obliterating the text just below it. I've tried in the answer box here and in one on Main.
Jun 5, 2017 at 17:02 history edited mplungjan CC BY-SA 3.0
added 47 characters in body
Jun 5, 2017 at 17:01 comment added mplungjan @nitpickers - I used it as an example. I often use the snippet editor to format code or JSON and then remove the top line so it is no longer a snippet. As I commented, the example is poor but it shows the issue which is an issue for ANY code between texts
Jun 5, 2017 at 16:50 comment added Ben Voigt Clearly the editor behavior is a bug, but why are you trying to turn that into a snippet in the first place? It isn't a complete runnable example.
Jun 5, 2017 at 16:50 comment added user4639281 Picking nits here, but that code shouldn't be in a snippet.
Jun 5, 2017 at 15:19 history edited mplungjan CC BY-SA 3.0
added 28 characters in body
Jun 5, 2017 at 5:56 history asked mplungjan CC BY-SA 3.0