Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

[Solved] I am programming a rich text editor using javascript and html5. When I type a single quote ' the Quick Find window opens and my window loses the focus. How do I get around this problem?

  • 2 răspunsuri
  • 1 are această problemă
  • 11 vizualizări
  • Ultimul răspuns de rogerff

more options

The single quote shows up all the time in words like don't and isn't so it is typed often. In doing a rich text editor, I am not using a text box. If the future of programming is Web apps, then others will have this problem.

The single quote shows up all the time in words like don't and isn't so it is typed often. In doing a rich text editor, I am not using a text box. If the future of programming is Web apps, then others will have this problem.

Modificat în de the-edmeister

Toate răspunsurile (2)

more options
more options

No, the midas editor works OK on the single quote, but I can't use it as I need to be able to place each character and add additional graphics, all in canvas. I found out that e.stopPropagation after the keypress command stops the command from bubbling up, and that fixed the problem. Thank you.

Modificat în de rogerff