Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否展示顶部工具栏 选项无效 #719

Closed
3 tasks
q2316367743 opened this issue Feb 14, 2024 · 0 comments
Closed
3 tasks

是否展示顶部工具栏 选项无效 #719

q2316367743 opened this issue Feb 14, 2024 · 0 comments
Labels
🐞bug Something isn't working

Comments

@q2316367743
Copy link

Prerequisites

Describe the Bug

是否展示顶部工具栏 选项无效
使用版本:0.8.38

配置

instance = new Cherry({
    id: 'input-box',
    editor: {
        defaultModel: 'editOnly',
        height: '288px'
    },
    toolbars: {
        showToolbar: false
    },
});

效果:
image

Reproduction Steps

No response

System Information

System:                                                                                                                                                                  
    OS: Windows 11 10.0.22621                                                                                                                                              
    CPU: (18) x64 Intel(R) Core(TM) Ultra 5 125H                                                                                                                           
    Memory: 15.13 GB / 31.61 GB                                                                                                                                            
  Binaries:                                                                                                                                                                
    Node: 20.11.0 - D:\environment\nodejs\node.EXE                                                                                                                         
    Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD                                                                                                                         
    npm: 10.2.4 - D:\environment\nodejs\npm.CMD                                                                                                                            
    pnpm: 8.15.1 - ~\AppData\Roaming\npm\pnpm.CMD                                                                                                                          
  Browsers:                                                                                                                                                                
    Edge: Chromium (121.0.2277.112)                                                                                                                                        
    Internet Explorer: 11.0.22621.1

Contributing

No, I don't plan to at this time.

@q2316367743 q2316367743 added the 🐞bug Something isn't working label Feb 14, 2024
jiawei686 added a commit that referenced this issue Mar 6, 2024
* dev:
  chore(release): v0.8.40
  Fix: setValue后处理img-base64格式防止显示长字符串 (#727)
  fix: #719 增加对工具栏显隐的控制,并增加switchModel的第二个参数
  fix: #721 修复纯预览模式下工具栏配置失效的问题
  fix: #725 拖放文件时,尽可能的走文件上传逻辑
  feat: #724 增加流式会话场景的适配
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant