mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 04:48:32 +08:00
22 lines
443 B
JavaScript
22 lines
443 B
JavaScript
import React from 'react';
|
|
|
|
export default {
|
|
$schema: 'https://houtai.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>'
|
|
}
|
|
]
|
|
}
|
|
]
|
|
};
|