-
-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Description
After importing a minimal/plain HTML file as a theme using Theme > Update theme, the editor opens correctly and allows editing, but when attempting to save, the following error appears:
Error
Error saving!
According to the documentation and previous discussions, importing a plain HTML should be sufficient for basic functionality. However, this doesn't seem to work as expected.
Steps to Reproduce
- Create a minimal HTML file (
index.html):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mini Test</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header data-v-save-global="index.html,header">
<h1>Header editable</h1>
</header>
<main>
<section>
<h2>Hello Vvveb</h2>
<p>This is a minimal project to test saving.</p>
</section>
</main>
<footer data-v-save-global="index.html,footer">
<small>Footer editable</small>
</footer>
</body>
</html>- Create a .zip file containing only index.html
- Go to Theme > Update theme
- Upload the .zip file
- Open the imported theme in the editor
- Make any change (e.g., edit text)
- Click Save
Additional Observations
- Backup folder requirement?
It appears that a backup/ folder inside the .zip might be required for the import to work correctly in some cases. This is not documented.
Thank you for your time and for this great project! I'd appreciate any guidance on resolving this issue.
Metadata
Metadata
Assignees
Labels
No labels