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

[Bug] The image size "L" is not parsed well. #147

Open
Zizitto opened this issue Jan 31, 2025 · 0 comments
Open

[Bug] The image size "L" is not parsed well. #147

Zizitto opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request pr-welcome Welcome PR

Comments

@Zizitto
Copy link
Contributor

Zizitto commented Jan 31, 2025

Steps to reproduce:
When you select a size "L" this adds "width: 100%" style to img element
Save the HTML, then pass this exact HTML as initialValue again to tiptap editor.
Result: Image is parsed with a "width: 100px"
Expected result: width is still 100%

@Zizitto Zizitto changed the title The image size "L" is not parsed well. [Bug] The image size "L" is not parsed well. Jan 31, 2025
@hunghg255 hunghg255 added enhancement New feature or request pr-welcome Welcome PR labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr-welcome Welcome PR
Projects
None yet
Development

No branches or pull requests

2 participants