Skip to content

Commit

Permalink
fix(ui): Prevent duplicate editor registrations + use yaml extended i…
Browse files Browse the repository at this point in the history
…n all editors (#584)
  • Loading branch information
daryllimyt authored Dec 3, 2024
1 parent fae8edc commit fadb688
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 212 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/registry/actions/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function EditTemplateActionForm({
</span>
<DynamicCustomEditor
className="h-96 w-full"
defaultLanguage="yaml"
defaultLanguage="yaml-extended"
value={field.value}
onChange={field.onChange}
/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/registry/actions/new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function NewTemplateActionForm({
render={({ field }) => (
<DynamicCustomEditor
className="h-96 w-full"
defaultLanguage="yaml"
defaultLanguage="yaml-extended"
value={field.value}
onChange={field.onChange}
/>
Expand Down
Loading

0 comments on commit fadb688

Please sign in to comment.