@@ -515,14 +473,7 @@ export default class LightPen extends BaseElement {
textarea:sandbox-editor__textarea
"
language=${highlightLang}
- .value=${this[`${language}Code`]}
- @light-input=${/** @param {Event} e */ (e) => {
- this[`${language}Code`] = /** @type {LightEditor} */ (e.currentTarget).value
- }}
- @light-change=${/** @param {Event} e */ (e) => {
- this[`${language}Code`] = /** @type {LightEditor} */ (e.currentTarget).value
- }}
- >
+ >
`
}
diff --git a/exports/light-pen.styles.js b/exports/light-pen.styles.js
index 9a4c0eee..d2f3a55c 100644
--- a/exports/light-pen.styles.js
+++ b/exports/light-pen.styles.js
@@ -23,9 +23,11 @@ export const styles = css`
outline: 2px solid blue;
}
+/*
[part~="sandbox-editor"] {
height: var(--textarea-height, 33%);
}
+*/
[part~="base"] {
word-wrap: break-word;