Skip to content

Commit

Permalink
[Feature]: html类型字段(富文本控件),去掉第一行菜单
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlianghui committed Apr 11, 2024
1 parent b2a2b4e commit 5b84f59
Showing 1 changed file with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: [email protected]
* @Date: 2023-01-13 17:27:54
* @LastEditors: liaodaxue
* @LastEditTime: 2024-02-04 17:29:54
* @LastEditors: 殷亮辉 [email protected]
* @LastEditTime: 2024-04-11 14:14:43
* @Description:
*/
import { i18next } from "../../../../i18n"
Expand Down Expand Up @@ -79,12 +79,12 @@ export const getHtmlFieldSchema = (field, readonly, ctx)=>{
"receiver": "${context.rootUrl}/s3/images",
"name": field.name,
"options": {
"menu": {
"insert": {
"title": "Insert",
"items": "image link media addcomment pageembed codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents | insertdatetime"
}
},
// "menu": {
// "insert": {
// "title": "Insert",
// "items": "image link media addcomment pageembed codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents | insertdatetime"
// }
// },
"plugins": [
"autoresize"
],
Expand All @@ -100,13 +100,14 @@ export const getHtmlFieldSchema = (field, readonly, ctx)=>{
"type": "input-rich-text",
"receiver": "${context.rootUrl}/s3/images",
"options":{
"menu": {
"insert": {
"title": "Insert",
"items": "image link media addcomment pageembed codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents | insertdatetime"
}
},
"statusbar": false
// "menu": {
// "insert": {
// "title": "Insert",
// "items": "image link media addcomment pageembed codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents | insertdatetime"
// }
// },
"statusbar": false,
"menubar": false
},
"name": field.name
}
Expand Down

0 comments on commit 5b84f59

Please sign in to comment.