-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
area:new-pluginA suggestion for an new plugin in the plugins folder of code-input.A suggestion for an new plugin in the plugins folder of code-input.enhancementNew feature or requestNew feature or requestpriority:mediumstatus:workedaroundA workaround has been sent.A workaround has been sent.
Description
The fallback textarea placeholder color is hardcoded in the CSS. This means that it doesn't automatically blend in with an existing site, necessitating additional CSS to override.
The placeholder color CSS rule can be removed.
The placeholder then becomes transparent, but that can be mitigated by adding ':not(:placeholder-shown)' to the rule that makes the textarea contents transparent:
code-input textarea:not([data-code-input-fallback]):not(:placeholder-shown){color:transparent;background:0 0;caret-color:inherit!important}
P.S. Great work
Metadata
Metadata
Assignees
Labels
area:new-pluginA suggestion for an new plugin in the plugins folder of code-input.A suggestion for an new plugin in the plugins folder of code-input.enhancementNew feature or requestNew feature or requestpriority:mediumstatus:workedaroundA workaround has been sent.A workaround has been sent.