Open tal007 opened 1 year ago
@prevwong is it possible to make the ID generator pluggable? so that custom ones could be introduced? thanks
@DenysVuika did you try import { getRandomId } from "@craftjs/utils";
thanks @hugominas, I am more interested to use custom id generator when serializing... the current one produces invalid values in terms of html node id format, i.e. "-8x...", which is not correct.
Is your feature request related to a problem? Please describe. I what to change the NodeId generate rule. At
default use 10, but i cannot setting the characters map. Such as i don't what the id has '-'. Or just includes number and a-z.
Describe the solution you'd like
Additional context Add any other context or screenshots about the feature request here.