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

After canceling the bold, input the same letter with the IME, the text style set is still bold. #1476

Open
Flying-Snail opened this issue Jul 1, 2024 · 2 comments

Comments

@Flying-Snail
Copy link

Platform

Apple M2 Pro, Apple IME, Chrome 126.0.6478.127 (arm64)

Screenshots

As mentioned in the title, despite I turning off the bold feature using the button, when I typed in three identical letters using the Input Method Editor (IME) and confirmed my selection by hitting the space bar, the resulting text still appeared in bold. This issue is demonstrated in the following videos:

2024-07-01.20.32.44.mov
@shinTSY
Copy link

shinTSY commented Aug 8, 2024

you can try this code

img.ProseMirror-separator {
    display: none !important;
}

but i don't know why it can work.

@marijnh
Copy link
Member

marijnh commented Aug 8, 2024

Please don't hide separators like that. It'll break the editor in various ways and probably won't even help with this issue.

I can reproduce this. I'm not quite sure what's going on here, though. The first few characters show up non-bold, but then at some point the IME system starts moving some of the composed characters into the bold text. But only for some inputs (pressing j repeatedly doesn't cause it, pressing k does, with simplified Chinese IME, for me --- seems to depend on whether all inserted chars are the same, or they differ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants