payload-editor — Optimization
Replace managed features explicitly
Section titled “Replace managed features explicitly”Disable a managed feature before adding its native replacement. Duplicate keys across features and extendFeatures fail during configuration.
Keep relational depth bounded
Section titled “Keep relational depth bounded”Relational preset features default to a maximum depth of one. Account for this when choosing link, upload or relationship features.
Keep Payload versions aligned
Section titled “Keep Payload versions aligned”Use matching versions of payload and all @payloadcms/* packages. The supported Payload and Lexical peer range is >=3.68.5 <4.
Configure on the server
Section titled “Configure on the server”The package is ESM-only and intended for Node.js Payload configuration. Add a native Payload Block via extendFeatures when block-level code highlighting is needed.