v2.31.6

codex-team/editor.jsv2.31.6Apr 7, 2026by github-actions[bot]

AI Summary

This release fixes a type definition issue in the sanitization logic, allowing developers to configure sanitizers on a per-field basis for improved type safety.

Key Highlights

  • Fixed sanitize type to accept per-field SanitizerConfig
  • Welcomed new contributor @costajohnt

New Features

  • Enhanced type support for SanitizerConfig

Full Release Notes

Fix sanitize type to accept per-field SanitizerConfig #2997

## What's Changed
* Fix sanitize type to accept per-field SanitizerConfig by @costajohnt in https://github.com/codex-team/editor.js/pull/2997

## New Contributors
* @costajohnt made their first contribution in https://github.com/codex-team/editor.js/pull/2997

**Full Changelog**: https://github.com/codex-team/editor.js/compare/v2.31.5...v2.31.6