vendor: amis 6.13.0 base (fork root)
This commit is contained in:
20
examples/components/Form/RichText.jsx
Normal file
20
examples/components/Form/RichText.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
export default {
|
||||
title: '富文本编辑器',
|
||||
body: [
|
||||
{
|
||||
type: 'form',
|
||||
api: '/api/mock2/saveForm?waitSeconds=2',
|
||||
title: 'Form elements',
|
||||
body: [
|
||||
{
|
||||
name: 'html',
|
||||
type: 'input-rich-text',
|
||||
label: '富文本',
|
||||
value: '<p>Just do <code>IT</code></p>'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user