typewriter-editor / typewriter

A rich text editor based off of Quill.js and Ultradom, and using Svelte for UI.
MIT License
382 stars 32 forks source link

Avoid instanceof #112

Closed jacwright closed 2 years ago

jacwright commented 2 years ago

Because users of this library may use Delta and TextDocument as a dependency, instanceof may not always work if the data passed in is in a different package. Especially when linking for local development.