公告中心和新增

This commit is contained in:
lix
2025-07-25 11:25:47 +08:00
parent e7502c2b2d
commit c11671c199
8 changed files with 776 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const BraftText: React.FC<WangType> = (props) => {
'list', //列表
'undo', //撤销
'redo', //恢复
'fullscreen', //全屏
// 'fullscreen', //全屏
// 'image',//图片
// 'emoticon',//表情
@ -75,7 +75,7 @@ const BraftText: React.FC<WangType> = (props) => {
//工具栏
editor.config.menus = tools;
//提示
editor.config.placeholder = '为了能顺利发布,建议您内容去掉下划线等格式,尽量以纯文本形式发布。';
editor.config.placeholder = '';
// 配置 onchange 回调函数
editor.config.onchange = editorOnChange;
// 注册菜单