amis
amis copied to clipboard
代码编辑器
有没有提供设置高度和宽度的属性,比如我想让代码编辑器全屏
这应该是最大的了,或者试试加类名h-full,不行的话可能需要自己写样式了。
{
"type": "editor",
"label": "",
"name": "editor",
"language": "javascript",
"size": "xxl"
}
有,但是目前看起来不太正常。。
{ type:"editor", "style":{ height:"80vh" } }