typewriter-editor / typewriter

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

Adds options to copy, paste, and html parsing. #85

Closed taylorhadden closed 2 years ago

taylorhadden commented 3 years ago

This adds options to the copy and paste modules that let the user configure basic behavior such as whether to copy html or how to parse html on paste.

This additionally adds configuration options whether to collapse whitespace when parsing html. This defaults to true to maintain the current behavior. However, the input module has been modified to not collapse whitespace. This could be replaced with a configuration option if desired.

jacwright commented 2 years ago

Thank you for the contribution!