toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

Home Page:https://affine.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: The render behavior for bold text is not correct

Zheaoli opened this issue · comments

Describe the bug

No response

To Reproduce

  1. Input usual text like abc
  2. Enter a space char after the text
  3. You will find the space char seems like double width

Screenshots

Expected behavior

No response

Platform

No response

Browser

No response

Additional context

No response

I can look into this bug. Please assign it to me if no one else is working on this already.

@Pranav4399 Great, you are welcome to work on this. We'd love to have your contribution.

seems that slate contenteditable container unexpectedly kept the space char from keyboard event while react flush the correct data rendering the TextString Component ?
image