86411d2
#117 Thanks @joelpierre! - Fix/video prop types
b272253
#84 Thanks @jpedroschmitz! - - Add typeLinkEmbedProps
- Update
EmbedElement
- Add
id
toEmbedProps
- Update
-
b7f16fa
#77 Thanks @jpedroschmitz! -⚠️ This release has breaking changes!⚡️ New
- Add
isEmpty
utility function - Add
EmptyElementsToRemove
enum as a replacement forRemoveEmptyElementType
- Add
elementTypeKeys
⚠️ Breaking ChangesThe
RichTextProps
,ClassRendererProps
,LinkRendererProps
,DefaultElementProps
and theNodeRendererType
type are now available on the@graphcms/rich-text-react-renderer
package.- Remove
RichTextProps
type - Remove
NodeRendererType
type - Remove
RemoveEmptyElementType
type - Remove
ClassRendererProps
type - Remove
LinkRendererProps
type - Remove
DefaultElementProps
type
- Add
c2e0a75
#53 Thanks @anmolarora1! - Addtable_header_cell
inElement
andNodeRendererType
bc9e612
#52 Thanks @larisachristie! - Add isInline to EmbedProps type
91495b9
#29 Thanks @jpedroschmitz! - Includecode-block
in the list of types inElement
768492a
#25 Thanks @jpedroschmitz! - - Includeembed
in the list of types inElement
- Add new type
VideoMimeTypes
- Add new type
AssetMimeTypes
- Add new type
EmbedProps
- Add new type
EmbedElement
- Add new type
AssetReference
- Add new type
Reference
- Add new type
EmbedReferences
- Add
EmbedElement
toElementNode
- Add
references
toRichTextProps
- Add
Asset
andembed
toNodeRendererType
- Add new type
e950c91
#17 Thanks @jpedroschmitz! - fix: empty thead being renderered
7cb7b7e
#9 Thanks @feychenie! - Moved html-to-slate-ast package to this repo.
-
23b87f6
#6 Thanks @KaterBasilisk6! -
Add
RemoveEmptyElementType
-
d831c93
#2 Thanks @jpedroschmitz! -
Add
list_item_child
toNodeRendererType
; -
Accept array of
ElementNode
and object withchildren
onRichTextContent
.
- Add
list_item_child
toNodeRendererType
; - Accept array of
ElementNode
and object withchildren
onRichTextContent
.