google / google/playground-elements
`playground-hide` content in html file editable
- Dominant language
- TypeScript
- Stars
- 648
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
In the [README](https://github.com/google/playground-elements#hiding--folding) when using `playground-hide` it states:
> that region won't be visible or editable by the user.
However, when I have used this within an HTML file. I am able to delete the hidden content by pressing the backspace key.
## Example
https://user-images.githubusercontent.com/7101754/138299186-86427e34-d84a-4d72-a588-1d201d1b823c.mov
Example code
```html
Playground
<!-- playground-hide -->
<!doctype html>
<head>
<style>
body {
background: pink;
}
</style>
</head>
<body id="content">
<!-- playground-hide-end -->
some text
<!-- playground-hide -->
</body>
<!-- playground-hide-end -->
```
Have I done something wrong here, or is this an issue?
Contributor guide
Assessment
This issue has not been assessed yet.