Skip to content

Format toolbar code block button is not working #11328

@EbonyMementoMori

Description

@EbonyMementoMori

📱 Client Type

Web (Desktop Browser)

💻 Operating System

macOS

📦 Deployment Platform

Self hosting Docker

🔧 Deployment Mode

server db (lobe-chat-database image)

📌 Version

v2.0.0-next.233

🌐 Browser

Edge

🐛 Bug Description

When opening the format toolbar in the input box, the last code block button is not working, although manually typing the syntax renders normally.

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

🛠️ Willing to Submit a PR?

None

✅ Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a LobeChat issue and not a third-party library or provider issue.
  • Check that this is a concrete bug. For Q&A, please use GitHub Discussions or join our Discord Server.

This issue was translated by Claude.

Original Content

📱 Client Type

Web (Desktop Browser)

💻 Operating System

macOS

📦 Deployment Platform

Self hosting Docker

🔧 Deployment Mode

server db (lobe-chat-database image)

📌 Version

v2.0.0-next.233

🌐 Browser

Edge

🐛 Bug Description

输入框打开_格式工具栏_,最后的_代码块_按钮无效,不过手动输入语法可以正常渲染。

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

🛠️ Willing to Submit a PR?

None

✅ Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a LobeChat issue and not a third-party library or provider issue.
  • Check that this is a concrete bug. For Q&A, please use GitHub Discussions or join our Discord Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions