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

Can't undo the autoformat #445

Open
mlewand opened this issue May 11, 2023 · 2 comments
Open

Can't undo the autoformat #445

mlewand opened this issue May 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mlewand
Copy link
Contributor

mlewand commented May 11, 2023

📝 Provide detailed reproduction steps (if any)

  1. Open GH writer with empty content (e.g. issue comment).
  2. Type * followed with a space, so that it turns to the unordered list item.
  3. Press ctrl/cmd+z to undo.
  4. Type "d" character.

✔️ Expected result

The line should remain to be a paragraph with plain text.

❌ Actual result

It becomes an unordered list item again.

❓ Possible solution

The same is true for any autofomplete character.

📃 Other details

  • Browser: Any
  • OS: Any

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@mlewand mlewand added the bug Something isn't working label May 11, 2023
@mlewand
Copy link
Contributor Author

mlewand commented May 11, 2023

This is not reproducible with Vanilla CKE5

@Reinmar
Copy link
Member

Reinmar commented May 17, 2023

Because GH Writer uses a custom autoformat implementation. We should migrate it to use the official one.

@mlewand mlewand changed the title Can't undo the autocomplete Can't undo the autoformat May 17, 2023
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

2 participants