-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Like most people I'm using css (sass) modules for my components. How do I use css modules with this component?
I see that I can pass className
as a prop but then that only gets applied to the .w-tc-editor
container div. The textarea still has very opinionated styles applied INLINE on it:
margin: 0px;
border: 0px;
background: none;
box-sizing: inherit;
display: inherit;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-variant-ligatures: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
tab-size: inherit;
text-indent: inherit;
text-rendering: inherit;
text-transform: inherit;
white-space: pre-wrap;
word-break: keep-all;
overflow-wrap: break-word;
outline: 0px;
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
resize: none;
color: inherit;
opacity: 0.8;
overflow: hidden;
-webkit-font-smoothing: antialiased;
-webkit-text-fill-color: transparent;
padding: 10px;
min-height: 16px;
How do I use this component without any sort of styling on it at all so that I can use classes to control the styling? If there is a way to do this it's not clear at all in the documentation.
Metadata
Metadata
Assignees
Labels
No labels