Jules
Explore posts from serverscreateSelection() primitive odd behaviour in contentEditable div's
because the comlpexity can be skipped if all you need is selectionStart and selectionEnd to achieve the use case I am working with but that somehow doesn't exist on a div object with contentEditable={true}
9 replies
createSelection() primitive odd behaviour in contentEditable div's
you mean the browser API? the complexity makes sense but why it differs needlessly between elements and browsers is what is frustrating to me. Though I suppose to some degree all web APIs do
9 replies
createSelection() primitive odd behaviour in contentEditable div's
oh wow I wasn't expecting the author of this primitive to stumble upon this - I am willing to help out with a fix, I assume it wasn't intended behaviour but rather just an edge case. Do you have any ideas better than walking the DOM to determine whether the selection spans multiple Nodes? I was getting frustrated with my attempts since it seems like there should just be a browser API for this......
9 replies
direct link?
Can we take a look at your
vite.config.ts
? that would be helpful in diagnosing your issue, also any logs during the Netlify build process or http logs for the route you're trying to hit.
In general though, @bigmistqke is trying to get you setup with the vite adapter for Netlify so that your build is done correctly and thus Netlify's servers will be looking in the place where your build is outputted. Here is an example config, and basically what yours should look like:
17 replies
Refetching Route Data with Solid Router
and I am working on a personal project where I resell hobby chemistry/experimental lab equipment and supplies and merch on an e-commerce platform, but I am doing a really thorough job of the e-commerce platform so I can reuse the code for future endeavors or an open-source thing again
115 replies