diff --git a/content/guides/09.extensions/3.app-extensions/7.richtext.md b/content/guides/09.extensions/3.app-extensions/7.richtext.md index df36617b..e7f49cad 100644 --- a/content/guides/09.extensions/3.app-extensions/7.richtext.md +++ b/content/guides/09.extensions/3.app-extensions/7.richtext.md @@ -69,6 +69,16 @@ When a Directus major version upgrades Tiptap, update your extension before your 4. Set `host` to the new major version, for example `^13.0.0`. 5. Publish the update as a new major version of your extension. +## Reload During Development + +The editor builds its schema from the registered extensions when it opens. Tiptap does not let an open editor change its schema, so an open editor does not pick up a reloaded extension. + +When Directus reloads extensions (with `EXTENSIONS_AUTO_RELOAD`, or when you enable, disable, install or uninstall an extension in Settings → Extensions), editors that are already open keep the previous version of your extension. The Data Studio shows a "Reload Required" notice. Save your changes and reload the page to use the new version. + +::callout{icon="i-lucide-info"} +If a rich text field has unsaved changes, the browser asks you to confirm before it reloads the page. +:: + ## Next Steps Read about [publishing to the Marketplace](/guides/extensions/marketplace/publishing), the [WYSIWYG interface options](/guides/data-model/interfaces#wysiwyg), and [custom formats](/guides/data-model/rich-text) for the editor.