Skip to content

Releases: portabletext/editor

@portabletext/plugin-character-pair-decorator@6.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985]:
    • @portabletext/editor@5.0.4

@portabletext/editor@5.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

racejar@2.0.3

18 Feb 09:46

Choose a tag to compare

Patch Changes

@portabletext/toolbar@6.0.3

18 Feb 21:30

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @portabletext/editor@5.0.3

@portabletext/toolbar@6.0.2

18 Feb 10:19

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @portabletext/editor@5.0.2

@portabletext/toolbar@6.0.1

18 Feb 09:45

Choose a tag to compare

Patch Changes

@portabletext/sanity-bridge@2.0.2

18 Feb 21:30

Choose a tag to compare

Patch Changes

  • #2205 d095284 Thanks @christianhg! - fix: harden schema compilation against built-in name collisions and restore inline object type names

    Adds file, slug, and geopoint to the set of Sanity built-in names that need temporary names during SanitySchema.compile(). Without this, schemas using these names as block or inline objects get extra fields injected by the Sanity schema compiler.

    Fixes inline object type.name restoration for shared and built-in names. Previously only inlineObject.name was restored from the temporary name, leaving inlineObject.type.name with the tmp- prefix.

    Simplifies the name restoration pass to mutate shared references directly instead of mapping over portableText.of separately.

@portabletext/sanity-bridge@2.0.1

18 Feb 10:19

Choose a tag to compare

Patch Changes

  • #2198 5f1b1fb Thanks @christianhg! - fix: deduplicate shared block/inline object names in schema compilation

    When a type name appears in both blockObjects and inlineObjects of a SchemaDefinition, compileSchemaDefinitionToPortableTextMemberSchemaTypes would pass duplicate type names to SanitySchema.compile(), causing a "Duplicate type name added to schema" error. This generalizes the existing temporary-name pattern (previously only handling image and url) to dynamically detect and rename any shared names before compilation, then map them back afterward.

@portabletext/plugin-typography@6.0.3

18 Feb 21:30

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @portabletext/editor@5.0.3
    • @portabletext/plugin-input-rule@3.0.3

@portabletext/plugin-typography@6.0.2

18 Feb 10:19

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @portabletext/editor@5.0.2
    • @portabletext/plugin-input-rule@3.0.2