|
|
|
@ -1,4 +1,4 @@
|
|
|
|
<script nonce="<%= content_security_policy_nonce %>">
|
|
|
|
<script id="autosize_script" nonce="<%= content_security_policy_nonce %>">
|
|
|
|
if (!window.customElements.get('autosize-field')) {
|
|
|
|
if (!window.customElements.get('autosize-field')) {
|
|
|
|
window.customElements.define('autosize-field', class extends HTMLElement {
|
|
|
|
window.customElements.define('autosize-field', class extends HTMLElement {
|
|
|
|
connectedCallback() {
|
|
|
|
connectedCallback() {
|
|
|
|
@ -19,4 +19,6 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.autosize_script.remove()
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|