Fixed code editor placeholder to the js copy

This commit is contained in:
Dean 2025-01-30 15:16:40 +00:00
parent 163fe86f59
commit 4f810f2cf4
1 changed files with 1 additions and 3 deletions

View File

@ -930,9 +930,7 @@
context={$memoContext} context={$memoContext}
allowHBS={false} allowHBS={false}
allowJS allowJS
placeholder={codeMode === EditorModes.Handlebars placeholder={"Add bindings by typing $"}
? "Add bindings by typing {{"
: null}
on:blur={e => on:blur={e =>
onChange({ [key]: encodeJSBinding(e.detail) })} onChange({ [key]: encodeJSBinding(e.detail) })}
/> />