# Fast edit doesn't work on content with certain characters

**URL:** https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145
**Category:** Bug
**Tags:** fast-edit
**Created:** [April 4, 2022, 1:27pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145 "2022-04-04T13:27:45Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [April 4, 2022, 1:27pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/1 "2022-04-04T13:27:45Z")

</div>

Well, I’ve been using fast edits for a while, but I think this is the first time I encounter this.

I edited a word, and it worked. I edited another, it didn’t. I tried multiple times, waiting several seconds between each. I reloaded the page, and tried it again, with no success.  
No error in the javascript console. No error in the network tab as far as I know. No error in Discourse’s logs.

A regular edit worked, though.

(I suggest you watch the video in fullscreen)

[![](https://global.discourse-cdn.com/meta/original/4X/2/7/4/2747eb4d3487fec62a6eaa36c3f88ebd226b1788.jpeg "Discourse fast edit not working ❓") ](https://www.youtube.com/watch?v=watch)

Sorry that I couldn’t have more info about that and I couldn’t repro either. I didn’t think about trying in [safe mode](https://meta.discourse.org/t/53504?silent=true) either… But I guess it’s worth more than nothing to have a testimony that the fast edit didn’t work in at least a case if other people encounter the same issue in the future and can investigate further.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [April 4, 2022, 1:38pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/2 "2022-04-04T13:38:42Z")

</div>

Yep 😉 I know about this and I also knew it would probably come from a French 😃 It’s related to quotes I think, I need to dig this, will keep this topic as a reminder 👍

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [April 4, 2022, 1:41pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/4 "2022-04-04T13:41:53Z")

</div>

I think it failed when a “french single quote” is selected (I can repro this with trying to fast edit `s'agit` for instance)

edit: oh… too slow! 😅

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [April 4, 2022, 1:43pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/5 "2022-04-04T13:43:38Z")

</div>

Oh, cool. Let’s rename the title then. Great catch.

* * *

Another thing:

![chrome_BRrN3mxpeL](https://global.discourse-cdn.com/meta/original/3X/f/e/fe08678c8fee635676fb94ad44795e6dccc81543.gif)

What do you think prevented the fast edit here? The `É` prepending the `:`?

Also, the red book emoji appears both in the editor and the preview editor, but not in the final message.  
That’s a bit confusing, but another issue.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [April 4, 2022, 8:34pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/6 "2022-04-04T20:34:03Z")

</div>

I think quotes can cause issues even when not in the selection.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 23, 2022, 10:02am UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/7 "2022-08-23T10:02:29Z")

</div>

Is original situation related to that?

Sorry wrong language, but you can figure out what and where… I tried do fast edit:

 ![kuva](https://global.discourse-cdn.com/meta/original/4X/b/a/9/ba989050656509483c3b8c14ba0c0fd2f298312f.jpeg)

But I couldn’t because of markdown:

 ![kuva](https://global.discourse-cdn.com/meta/original/4X/8/3/f/83fcf4908d9654c621f4b32c18e8b5a71b92db65.jpeg)

So there is no need to write french or use quotes, just plain \* is enough.

Not a biggie and I can live with that.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 23, 2022, 10:04am UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/8 "2022-08-23T10:04:12Z")

</div>

Yes I should fallback to composer in this case. I recently made a change to core which could make part of fast edit simpler, will try to dedicate some time for a round of improvement to this in next months.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 11, 2023, 1:57pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/9 "2023-02-11T13:57:06Z")

</div>

I somehow made the typo “group’s” when I meant “groups” — the classic grocery-store sign “apostrophe to warn the reader that an ‘s’ is approaching”.

I selected the word and brought up the quick-edit box, removed the offending punctuation mark, hit save, and that seemed to work… but the post didn’t change.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 11, 2023, 1:57pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/10 "2023-02-11T13:57:23Z")

</div>

Here are some words to try to edit, for your convenience and amusement:

word’s  
edit’s  
whatevers  
apostrophs

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 11, 2023, 1:59pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/11 "2023-02-11T13:59:55Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/4/7/0/47015f8e488b234bd70aac517582a9434dbb435a.png)

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/e/3/5e3b66e2ecb652b6785daea04889af7068a8e8ce.png)

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/6/c/f6c5f62f5a6eee729c3115b87daf116d36d31abc.png)

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/6/a/e6ae6ee6d433a9051b0c9a98634d7fca42aba846.png)

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 11, 2023, 2:03pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/12 "2023-02-11T14:03:15Z")

</div>

Experimenting a bit: **it’s not just “you cant remove the apostrophe”**. Select one of the apostrophe’d words\[1\] and try to add words, replace it with something different (including removing the punctuation mark) — anythings. It doesn’t seem to save.

(For what it’s worth, I’m using Firefox on Fedora Linux.)

* * *

1. see what I did there?

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 11, 2023, 2:05pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/13 "2023-02-11T14:05:44Z")

</div>

Also seems true if you select whole phrases that happen to be mark’d with the dread punctuation. For example, the previous sentence — but you can edit this one just fine.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 12, 2023, 9:25pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/14 "2023-02-12T21:25:08Z")

</div>

Hi @mattdm! 👋

I believe this is the same issue reported here so I merged your topic with this one 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 12, 2023, 10:46pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/15 "2023-02-12T22:46:59Z")

</div>

Cool I have this prioritized, we will sort this quirk out in the next month.

Happens cause we automatically prettify some stuff such as ™ and `hello's` that changes hello's to hello’s.

---

<div class="post-metadata">

### Author: ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)
#### Post date: [February 24, 2023, 11:47am UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/18 "2023-02-24T11:47:21Z")

</div>

Should be fixed by:

[https://github.com/discourse/discourse/commit/0a619d8c884e211955ef65b387023f0199aa43cb](https://github.com/discourse/discourse/commit/0a619d8c884e211955ef65b387023f0199aa43cb)

Can confirm working now on paragraphs that have single or double quotation marks and other characters.

Thank you for reporting 👍

---

<div class="post-metadata">

### Author: ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)
#### Post date: [February 27, 2023, 12:00am UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/19 "2023-02-27T00:00:06Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 20, 2023, 1:36pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/20 "2023-03-20T13:36:02Z")

</div>



---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [March 20, 2023, 1:03pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/21 "2023-03-20T13:03:00Z")

</div>

I woke up to this today because when I’m writing I don’t see the difference between ”you doesn’t” and ”you don’t”. So I fix those when I see such errors

Like here and now you doesn’t correct me when I do such typos.

But I would fix, if quick edit would work. And it doesn’t.

Do we have some other similar bug going on now or do I remember wrong?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 20, 2023, 1:12pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/22 "2023-03-20T13:12:52Z")

</div>

It should have been fixed by this commit, I think? Per this topic - [Fast edit doesn't work on content with certain characters](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145)

[https://github.com/discourse/discourse/commit/0a619d8c884e211955ef65b387023f0199aa43cb](https://github.com/discourse/discourse/commit/0a619d8c884e211955ef65b387023f0199aa43cb)

If it’s regressed I’ll re-open and move these over. 👍

* * *

**Update:** I’ve just tested it on your post, and it pulled up the fast edit box and allowed me to enter an edit, but on saving closed the modal and did not make any changes.

(I’ve moved the posts over to the original topic)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 9, 2023, 11:51pm UTC](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145/35 "2023-05-09T23:51:29Z")

</div>



[Next page](https://meta.discourse.org/t/fast-edit-doesnt-work-on-content-with-certain-characters/223145.md?page=2)
