kazzkiq / CodeFlask

A micro code-editor for awesome web pages.
https://kazzkiq.github.io/CodeFlask/
MIT License
1.07k stars 120 forks source link

Carret Not showing #106

Open ccasalicchio opened 4 years ago

ccasalicchio commented 4 years ago

Hi, thank you for the awesome plugin.

I'm using it with Umbraco BackOffice, and it works fine, except that the carret is not showing... any suggestions? https://prnt.sc/pr7tsm

ccasalicchio commented 4 years ago

Actually I just found out, the background-color was hidding the carret :(

in the pre css from Umbraco

pre { display: block; padding: 9.5px; margin: 0 0 10px; font-family: Lato,Helvetica Neue,Helvetica,Arial,sans-serif; color: #303033; line-height: 20px; white-space: pre-wrap; overflow-x: auto; /* background-color: #f3f3f5; */ border: 1px solid #d8d7d9; border-radius: 3px; }

tomwayson commented 4 years ago

Same here: https://stackoverflow.com/a/58904170/656010

trasherdk commented 4 years ago

Maybe some kind of CSS reset on the parent element would help?

ccasalicchio commented 4 years ago

In my case, just removing the background-color fixed it