guardian / scribe-plugin-curly-quotes

5 stars 5 forks source link

Firefox nearly always inserts closing quotes #5

Closed OliverJAsh closed 10 years ago

OliverJAsh commented 10 years ago

This is because of a Firefox bug whereby the selection event does not correctly report where the caret is, which breaks our checks: https://github.com/guardian/scribe-plugin-curly-quotes/blob/a9a86afb0dbd7f4ed59960d824f18e55b02e9ef6/src/scribe-plugin-curly-quotes.js#L107