diff --git a/docs/releases/7.0.md b/docs/releases/7.0.md index 8f809793e6..d967f67052 100644 --- a/docs/releases/7.0.md +++ b/docs/releases/7.0.md @@ -197,8 +197,8 @@ The confirm bulk move view and the chooser modal view for choosing the new locat The `insert_editor_js` hook will continue to be output when editing pages, as documented. -### Deprecation of `wagtail/admin/templates/wagtailadmin/pages/_editor_js.html` template +### Deprecation of `wagtailadmin/pages/_editor_js.html` template -If your project overrides the undocumented template partial `wagtail/admin/templates/wagtailadmin/pages/_editor_js.html` to inject custom JavaScript into the Wagtail admin, this template will be removed in a future release. +The undocumented template partial `wagtailadmin/pages/_editor_js.html` has been deprecated and will be removed in a future release. -Instead, follow the documented approaches to either use the [](insert_editor_js) hook or the [](insert_global_admin_js) hook. +If your project overrides the template to inject custom JavaScript into the Wagtail admin, you should follow the documented approaches to either use the [](insert_editor_js) hook or the [](insert_global_admin_js) hook instead.