Visual Editor still opening old localhost URL from Page actions

Hi, I’m Marco.

My company uses Directus (directus 11.12.0) as a CMS for our websites.
We’re using the Visual Editor and overall it works well.

At the beginning, during development, I configured the Visual Editor to point to
http://localhost:3000.
Later, when moving to production, I removed that setting and updated the Visual Editor
to use the live website.

Now I’m seeing this behavior:

  • The Visual Editor button in the sidebar works correctly and opens the online site.
  • But when I’m editing a Page and use “Open Visual Editor” from the Actions dropdown,
    it still tries to open http://localhost:3000.

I’ve already tried:

  • removing the localhost entry from the Visual Editor settings
  • opening Directus in an incognito window
  • resetting Redis

The sidebar button updates correctly, but the Page action seems to keep the old URL.
It feels like that value might be stored somewhere else or persisted when the Visual
Editor was first configured.

Is this expected, or am I missing another place where this URL needs to be updated?

Thanks!

Hey Marco. Thank you. Could you please provide steps to reproduce? And if so, please create an issue for it on GitHub :folded_hands:

Thanks for the quick reply!

I’ll try to reproduce the issue on a clean local setup and document the steps.
If I manage to reproduce it consistently, I’ll open a GitHub issue with the details.

At the moment, I haven’t been able to clearly resolve it on my current installation,
so I want to make sure I can provide reliable reproduction steps before opening an issue.

I’ll follow up as soon as I have more information.
Thanks!