mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 19:38:16 +08:00
升级 froala-editor 同时默认开启图片编辑功能
This commit is contained in:
parent
38f170f164
commit
841eb77bde
@ -35,7 +35,7 @@
|
||||
"downshift": "3.1.4",
|
||||
"echarts": "~4.1.0",
|
||||
"flv.js": "1.5.0",
|
||||
"froala-editor": "2.9.5",
|
||||
"froala-editor": "2.9.6",
|
||||
"history": "4.7.2",
|
||||
"hls.js": "0.12.2",
|
||||
"hoist-non-react-statics": "3.3.0",
|
||||
|
@ -16,6 +16,7 @@ function loadComponent(): Promise<React.ReactType> {
|
||||
|
||||
export default class RichTextControl extends React.Component<RichTextProps, any> {
|
||||
static defaultProps: Partial<RichTextProps> = {
|
||||
imageEditable: true,
|
||||
reciever: '/api/upload/image',
|
||||
videoReciever: '/api/upload/video',
|
||||
placeholder: '请输入',
|
||||
|
Loading…
Reference in New Issue
Block a user