This PR adds support for retaining embeds, making it possible for nested data structure transforming.
This PR doesn't introduce breaking changes but a quick note is the previous changes (https://github.com/quilljs/delta/pull/58, upgrading TypeScript, insert: string | object -> insert: string | Record<string, unknown>) break BC so the next version should be a major bump.
Coverage increased (+0.1%) to 98.985% when pulling 5dea4cbe876e764fffbc68d25252eac4e8bee7f7 on zh-retain-embed into d7a3be9292e92ba3837803b49e482b96487ae7a9 on main.
This PR adds support for retaining embeds, making it possible for nested data structure transforming.
This PR doesn't introduce breaking changes but a quick note is the previous changes (https://github.com/quilljs/delta/pull/58, upgrading TypeScript,
insert: string | object
->insert: string | Record<string, unknown>
) break BC so the next version should be a major bump.