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

something about image #1508

Open
Snailmar opened this issue Mar 7, 2025 · 0 comments
Open

something about image #1508

Snailmar opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Snailmar
Copy link

Snailmar commented Mar 7, 2025

Describe the bug

  1. When an image is inserted, the text toolbar buttons (e.g., BlockTypeSelect, BasicTextStyleButton) are hidden instead of being disabled.
  2. When selecting all content (including an image), the text formatting buttons remain visible, but clicking on Paragraph causes the image block to disappear.

Expected behavior

  1. When clicking on an image block, the text toolbar buttons should be disabled rather than hidden.
  2. When selecting all content (including an image), applying text formatting (e.g., changing to Paragraph) should not cause the image block to disappear.

To Reproduce

  1. Insert an image into the editor.
  2. Observe that the text toolbar buttons (e.g., BlockTypeSelect, BasicTextStyleButton) are hidden.
  3. Select all content (including the image).
  4. Click on the Paragraph button in the toolbar and notice that the image block disappears.

Image
select image

Image

@Snailmar Snailmar added the bug Something isn't working label Mar 7, 2025
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

1 participant