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

Typing with formatting options on after selection cancel the current formatting option #4756

Open
ubalensi-yoobic opened this issue Mar 6, 2024 · 1 comment

Comments

@ubalensi-yoobic
Copy link

ubalensi-yoobic commented Mar 6, 2024

Expected behavior.

The new typing should have the selected formatting option applied

Actual behavior.

The new typing reset the formatting option of the previously selected piece of text

Steps to reproduce the problem.

=> Type some text in the box
=> Select one piece of the text
=> assign it some formatting option (fontFamily, color, textDecoration etc.. ).
=> Double click this selection or highlight it
=> start typing from the selection

Editor version.

4.1.4

OS.

macOS 14.1.1 (23B81)

Browser.

Google Chrome (Version 122.0.6261.69 (Official Build) (arm64))

Recording.
Screen.Recording.2024-03-06.at.12.13.50.mov

As a side note, can we have a method to somehow getting the current formatting of a selection
returning for instance { textDecoration: 'underline', color: '#ff00ff', fontFamily: 'Times new roman" } etc

@ubalensi-yoobic
Copy link
Author

can i get an answer from this one ? its been a month...

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

1 participant