Snippet description styles issue in 3.0.x
-
<span style="display: none;"><br> <span style="padding: 2px 5px;font-weight: bold;background-color: #db1212;color: #fff">IMPORTANT</span><br> <span style="background-color: #202124;color: #e8eaed;font-family: menlo, monospace;font-size: 11px">some code</span><br></span>
I use the markup above in my template snippets’ description to reuse after cloning.
Before 3.0.x, it would not be displayed as expected in the snippets’ list.
After update, it is displayed, and looking at the inspector, thedisplay: none
css property is now stripped from the firstspan
at rendering, like so:<span><br> <span style="padding: 2px 5px;font-weight: bold;background-color: #db1212;color: #fff">IMPORTANT</span><br> <span style="background-color: #202124;color: #e8eaed;font-family: menlo, monospace;font-size: 11px">some code</span><br> </span>
Please advise.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Snippet description styles issue in 3.0.x’ is closed to new replies.