Closed edvinasjurele closed 1 year ago
When releasing initial version of the package it was not clear which nodes and marks are supported. Moreover we have been added types to Schema as if they are supported, which was a wrong call.
nodes
marks
The supported functionality is visible in https://github.com/NordSecurity/storyblok-rich-text-astro-renderer/blob/main/lib/src/utils/resolveRichTextToNodes.ts (or the tests file)
Schema
Context
When releasing initial version of the package it was not clear which
nodes
andmarks
are supported. Moreover we have been added types to Schema as if they are supported, which was a wrong call.The supported functionality is visible in https://github.com/NordSecurity/storyblok-rich-text-astro-renderer/blob/main/lib/src/utils/resolveRichTextToNodes.ts (or the tests file)
Changes
Schema
nodes
andmarks
are supported and which ones are still missing