google / playground-elements

Serverless coding environments for the web.
BSD 3-Clause "New" or "Revised" License
550 stars 55 forks source link

wrong rows countin in the editor #395

Open nnaydenow opened 9 months ago

nnaydenow commented 9 months ago

If I have hidden content the rows inside editors are wrongly counted image

<!-- playground-hide -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sample</title>
</head>

<body>
    <!-- playground-hide-end -->
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
        <button>Mybutton</button>
    <!-- playground-hide -->
    <script type="module" src="main.js"></script>
</body>

</html>
<!-- playground-hide-end -->