typewriter-editor / typewriter

A rich text editor based off of Quill.js and Ultradom, and using Svelte for UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should Deltas capture CSS classes?

scarroll32 opened this issue · comments

commented

Should the Quill deltas capture CSS classes?

The use case that comes to mind is marking and highlighting sections of text with colors. Would this be achieved via CSS classes added to the selection (within a <span></span>) Or is there some other way to achieve this?

I've tried to write a test against this here but am afraid I need to do some more reading before I will understand Mocha.