Foxy / chrome-type-ahead

Find-as-you-type extension for Chrome and Edge.
MIT License
14 stars 5 forks source link

contentdeditable doesn't disable search #7

Closed Gregormo closed 3 years ago

Gregormo commented 5 years ago

If I type in an HTML element with the contentdeditable attribute set, type-ahead-find ist triggered and the browser searches for the text instead of editing the content of the HTML element. If contentdeditable is set, type-ahead-find should treat the element like an input or textarea instead. HTML snippet looks like this, for example: <h1 contenteditable>foo</h1>

The code seems to check for the contentdeditable attribute already, so I don't get why it doesn't work. I don't really know Javascript, so sadly I'm not able to contribute a patch.

Thanks for this reat plugin!

brettflorio commented 4 years ago

@Gregormo The contenteditable example on the Mozilla page seems to work properly. Do you have another example where it's not working?

brettflorio commented 3 years ago

Closing. If we get another example, we can reopen.