FlexRichEditor
The same plugin supports FLEX Fields’FlexRichEditor, which extends the native Filament editor. Studio does not replace its editing engine or upload configuration:
Limit selection to an approved library
Save and render private references
SetpersistAttachmentIds: true to persist the workspace, asset and version in attachment IDs. Keep the same plugin installed when rendering saved JSON.
Use ready responsive conversions
With the default URL-based insertion mode,imageSizes controls the rendered image width hint. Studio uses available ready conversions of the same encoding to build responsive attributes. Keep rich-editor-extension.js available beside the module and keep the plugin in the render pipeline. See responsive image behavior.
For access and asset ownership, follow editor retention. For missing scripts or styles, use FLEX integration diagnostics.
Configure the editor’s media behavior
Render saved FLEX content
Use the same plugin configuration when rendering JSON content. This lets the attachment provider and responsive image extension resolve the saved content.$studioPlugin variable is the configured RichEditorStudioPlugin used by the form. The default inline types are JPEG, PNG, WebP, AVIF and GIF. Pass acceptedMimeTypes: null if the application deliberately supports inserting other assets as links. Native editor attachment buttons have their own configuration.
See private attachment IDs for persistence and provider behavior, and FLEX assets when the integration’s scripts or styles fail to load.