mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 04:59:17 +08:00
22 lines
547 B
JavaScript
22 lines
547 B
JavaScript
import * as React from 'react';
|
|
|
|
export default {
|
|
$schema: "http://amis.baidu.com/v2/schemas/page.json#",
|
|
title: "富文本编辑器",
|
|
body: [
|
|
{
|
|
type: "form",
|
|
api: "/api/mock2/saveForm?waitSeconds=2",
|
|
title: "Form elements",
|
|
controls: [
|
|
{
|
|
name: "html",
|
|
type: "rich-text",
|
|
label: "富文本",
|
|
value: "<p>Just do <code>IT</code></p>"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
};
|