#Can't find elements that have certain css class.
37 messages · Page 1 of 1 (latest)
are they maybe generated by some dependancy
do you know what steps to take to figure it out?
i suppose you could dig through dependancies but that seems like a pain
i don't know any proper way, sorry
i asked the guy who made it, and he told me he is rewriting everything anyway, so while I didn't figure it out, it doesnt matter.
minified class names when using css modules maybe
does the code look something like this https://github.com/css-modules/css-modules ?
I can't tell. This is the css file https://github.com/nat/openplayground/blob/main/app/src/index.css
<link href="./index.css" rel="stylesheet" />
He also told me uses https://www.radix-ui.com/ not sure if that's relevant
hard to tell without knoiwing what css class you're looking for
Lets say this class
.public-DraftEditor-content {
comes from https://draftjs.org/ I think
Rich Text Editor Framework for React
added during build step
<Editor
that's the
<div class="Editor-root"
always has been tbh
we don't spend out time reinventing the wheel, just use someone else's code
that might be right but i was more interested in how to do it myself for other classes as well
it's all from draftjs
but ye, the codebase is kinda crap
so make sense the author is rewriting it
amusing given the fact that it was made ex github ceo
I don't see how it's related
i would expect someone like that to write not crap code
the CEO is just a chairman chosen by the shareholders nowadays
yeah but its not just some joe schmoe selected by throwing a dice