You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't that be a test for equality, rather than an assignment? i.e.
if (match === classes[names[i]]) ...
Apologies if I've misunderstood the intent of the code, or if there's some javascript cleverness here I'm missing. Thanks for all your hard work on Quill and Parchment!
The text was updated successfully, but these errors were encountered:
I was reading through the Parchment source code, and this line looked odd:
https://github.com/quilljs/parchment/blob/master/src/registry.ts#L81
Shouldn't that be a test for equality, rather than an assignment? i.e.
if (match === classes[names[i]]) ...
Apologies if I've misunderstood the intent of the code, or if there's some javascript cleverness here I'm missing. Thanks for all your hard work on Quill and Parchment!
The text was updated successfully, but these errors were encountered: