Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

[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 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 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.

由the-edmeister于修改

所有回复 (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.

由rogerff于修改