amis icon indicating copy to clipboard operation
amis copied to clipboard

代码编辑器

Open whitekyo opened this issue 6 years ago • 2 comments

有没有提供设置高度和宽度的属性,比如我想让代码编辑器全屏

whitekyo avatar May 15 '20 01:05 whitekyo

这应该是最大的了,或者试试加类名h-full,不行的话可能需要自己写样式了。

{
    "type": "editor",
    "label": "",
    "name": "editor",
    "language": "javascript",
    "size": "xxl"
}

RickCole21 avatar May 15 '20 02:05 RickCole21

有,但是目前看起来不太正常。。

{ type:"editor", "style":{ height:"80vh" } }

hyzx86 avatar Sep 20 '22 13:09 hyzx86