Closed Jackbaude closed 3 years ago
@Jackbaude I'm not sure I understand what the issue is, can you be more specific of what's not working?
It seems that the slate js editor loads after the window loads. Something like useLayoutEffect
has to be used with slate js. This isnt a problem with your code base, excuse the misleading title.
I've made a slate app and I've made all headers generate a anchor that is the header text itself - to lowercase and replacing all spaces with hyphens. Is this a issue with how react-router-hash-link works or the way that slate generates the dom?
Here is the element that slate returns when it catches a heading