Closed chamois-d-or closed 1 year ago
Javascript constant names cannot start with numbers. This creates an issue when slice are created with their name starting with a number.
Create a slice starting with a number, e.g. 2Columns
2Columns
UI should not let users create such slices.
UI lets you do so.
This issue has been fixed for the Slice creation but a similar issue can happen when renaming a slice. See https://github.com/prismicio/slice-machine/issues/791
Javascript constant names cannot start with numbers. This creates an issue when slice are created with their name starting with a number.
Versions
Steps to reproduce
Create a slice starting with a number, e.g.
2Columns
What is expected?
UI should not let users create such slices.
What is actually happening?
UI lets you do so.