v53.0.6

udecode/platev53.0.6May 27, 2026by zbeyens

AI Summary

A patch release addressing critical bugs in the input rule configuration system. The fixes ensure that rules defined via `.configure()` persist across multiple editor instances and that substitution rules correctly process the final character in flat matches.

Key Highlights

  • Fix `.configure({ inputRules })` losing rules on subsequent editor instances (StrictMode remounts, HMR).
  • Fix `createTextSubstitutionInputRule` not firing on the final character of flat matches (e.g., `->` → `→`, `(c)` → `©`).
  • Updated dependencies (`@platejs/utils` and `platejs` packages).

Full Release Notes

## `@platejs/core`

### Patch Changes

- [#4983](https://github.com/udecode/plate/pull/4983) by [@bbyiringiro](https://github.com/bbyiringiro) – Fix `.configure({ inputRules })` losing rules on subsequent editor instances

  The user's config object was shared across resolutions via closure; clearing `inputRules` on the first resolve left later editors (StrictMode remounts, HMR, multi-editor pages) with no configured rules.

- [#4983](https://github.com/udecode/plate/pull/4983) by [@bbyiringiro](https://github.com/bbyiringiro) – Fix `createTextSubstitutionInputRule` not firing on the final character of flat matches (e.g. `->` → `→`, `(c)` → `©`)

## `@platejs/utils`

### Patch Changes

- Updated `@platejs/core`.

## `platejs`

### Patch Changes

- Updated `@platejs/core`, `@platejs/utils`.

## Contributors

Thanks to everyone who contributed to this release:

@bbyiringiro

Full changelog: [`v53.0.5...v53.0.6`](https://github.com/udecode/plate/compare/v53.0.5...v53.0.6)