Skip to content

Commit

Permalink
chore(yunti-ui): add value, original props support for MonacoEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jan 11, 2024
1 parent aab0470 commit d7057dc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/yunti-ui-lowcode-materials/lowcode/MonacoEditor/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@ export const MonacoEditorMeta: IPublicTypeComponentMetadata = {
defaultValue: 'javascript',
setter: Setters.StringSetter,
},
{
name: 'value',
title: {
label: 'value 值',
},
setter: Setters.TextAreaSetter,
},
{
name: 'original',
title: {
label: '原始值',
tip: 'original 原始值,仅 DiffEditor 可用',
},
setter: Setters.TextAreaSetter,
},
{
name: 'width',
title: {
Expand Down Expand Up @@ -101,7 +116,6 @@ export const MonacoEditorMeta: IPublicTypeComponentMetadata = {
setter: {
...Setters.RadioGroupSetter,
props: {
defaultValue: 'off',
options: ['on', 'off', 'auto'],
},
},
Expand Down

0 comments on commit d7057dc

Please sign in to comment.