typewriter-editor / typewriter

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

Access raw text #20

Open scarroll32 opened 6 years ago

scarroll32 commented 6 years ago

Provide a means to access the raw text content, including line breaks, as plain text. This could be stored in a backend.

This would be needed for text-processing applications, eg: Natural language processing applications.

jacwright commented 6 years ago

The Editor has a text property which has the current raw text of the contents. getText(from, to) is also available for extracting part of that, though with the text string it is unnecessary and could be removed.

scarroll32 commented 6 years ago

Awesome!