slab / parchment

Generalized state model for rich-text editors to interface with browser DOM
BSD 3-Clause "New" or "Revised" License
637 stars 146 forks source link

Handle permission denied error for Firefox #106

Closed luin closed 2 years ago

luin commented 3 years ago

Firefox sometimes returns anonymous DIVs as targets for events whose real targets should be inputs: https://bugzilla.mozilla.org/show_bug.cgi?id=208427.

We should handle the case when users pass those anonymous DIVs to Registry.find().