Releases: hygraph/rich-text
Releases · hygraph/rich-text
@graphcms/[email protected]
Patch Changes
80c399f
#87 Thanks @jpedroschmitz! - Make sure width and height are not included if set to 0
@graphcms/[email protected]
Minor Changes
b272253
#84 Thanks @jpedroschmitz! - - Add typeLinkEmbedProps
- Update
EmbedElement
- Add
id
toEmbedProps
- Update
@graphcms/[email protected]
Minor Changes
b272253
#84 Thanks @jpedroschmitz! - Adds support for Link Embeds
Patch Changes
- Updated dependencies [
b272253
]:- @graphcms/[email protected]
@graphcms/[email protected]
Minor Changes
b272253
#84 Thanks @jpedroschmitz! - Adds support for Link Embeds
Patch Changes
- Updated dependencies [
b272253
]:- @graphcms/[email protected]
@graphcms/[email protected]
Patch Changes
- Updated dependencies [
b272253
]:- @graphcms/[email protected]
@graphcms/[email protected]
Patch Changes
12cb7f9
#81 Thanks @jpedroschmitz! - Add escape-html as a dependency
@graphcms/[email protected]
Minor Changes
-
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
@graphcms/[email protected]
Minor Changes
-
b7f16fa
#77 Thanks @jpedroschmitz! - This update has no new features, only new types.⚡️ New
- Add
NodeRendererType
type - Add
RichTextProps
type - Add
DefaultElementProps
type - Add
ClassRendererProps
type - Add
LinkRendererProps
type
- Add
Patch Changes
- Updated dependencies [
b7f16fa
]:- @graphcms/[email protected]
@graphcms/[email protected]
Minor Changes
b7f16fa
#77 Thanks @jpedroschmitz! - Initial version of thehtml-renderer
for Rich Text content.
Features
astToHtmlString
function for returning HTML- Types for the package
- Vue and Svelte examples
Patch Changes
- Updated dependencies [
b7f16fa
,b7f16fa
]:- @graphcms/[email protected]
@graphcms/[email protected]
Minor Changes
3f454e8
#78 Thanks @larisachristie! - Parse GCMS embeds
Patch Changes
- Updated dependencies [
b7f16fa
]:- @graphcms/[email protected]