This commit is contained in:
Timothy Jaeryang Baek 2025-02-22 02:00:06 -08:00
parent 794919e91d
commit 8f3fcdcf5c
4 changed files with 5 additions and 5 deletions

View File

@ -372,7 +372,7 @@ class Pipe:
lang="python" lang="python"
{boilerplate} {boilerplate}
onChange={(e) => { onChange={(e) => {
_content = e.detail.value; _content = e;
}} }}
onSave={async () => { onSave={async () => {
if (formElement) { if (formElement) {

View File

@ -465,7 +465,7 @@
saveCode(); saveCode();
}} }}
onChange={(e) => { onChange={(e) => {
_code = e.detail.value; _code = e;
}} }}
/> />
</div> </div>

View File

@ -89,13 +89,13 @@
{attributes} {attributes}
{save} {save}
onCode={(e) => { onCode={(e) => {
dispatch('code', e.detail); dispatch('code', e);
}} }}
onSave={(e) => { onSave={(e) => {
dispatch('update', { dispatch('update', {
raw: token.raw, raw: token.raw,
oldContent: token.text, oldContent: token.text,
newContent: e.detail newContent: e
}); });
}} }}
/> />

View File

@ -285,7 +285,7 @@ class Tools:
{boilerplate} {boilerplate}
lang="python" lang="python"
onChange={(e) => { onChange={(e) => {
_content = e.detail.value; _content = e;
}} }}
onSave={() => { onSave={() => {
if (formElement) { if (formElement) {