Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot edit "Join us on our mission" block #379

Open
CMDJojo opened this issue Mar 11, 2024 · 0 comments
Open

Cannot edit "Join us on our mission" block #379

CMDJojo opened this issue Mar 11, 2024 · 0 comments

Comments

@CMDJojo
Copy link

CMDJojo commented Mar 11, 2024

I cannot edit the "Join us on our mission" block on the non-profit template, not when entering edit mode nor when editing in-line. This is the effects I am experiencing:

When going to edit mode and press "save", the block isn't saved as usual, rather I get this error:

Uncaught (in promise) TypeError: z.find(...) is undefined
    te ComponentEditor.svelte:272
    te ComponentEditor.svelte:271
    te ComponentEditor.svelte:270
    u ModalHeader.svelte:60
    ut index.mjs:463
    m ModalHeader.svelte:65
    m ModalHeader.svelte:80
    re index.mjs:2097
    m ComponentEditor.svelte:320
    m ComponentEditor.svelte:370
    re index.mjs:2097
    m Primo.svelte:120
[...]
ComponentEditor.svelte:272:35
    te ComponentEditor.svelte:326
    u ModalHeader.svelte:60
    (Async: EventListener.handleEvent)
    ut index.mjs:463
    m ModalHeader.svelte:65
    m ModalHeader.svelte:80
    re index.mjs:2097
[...]

The cell isn't closed but rather clicking "save" doesn't do anything visually. When pressing the "x" I get warning about unsaved changes, and the changes are lost.

When editing the cell in-line (directly when previewing the site), it seems like the edit goes through visually but as soon as I navigate from the page or reload the page, the changes are lost. The console repeats the error above.

For reference, here is how the block looks like from the template:
image

It doesn't work on my site, and I added a new site with the same template to verify, and it doesn't work there either.

Edit Running on latest version of Primo on a self-managed Vercel instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant