Skip to content

Rendering multiple inline contents shifts the content to new line when processing. #1575

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

Open
1 task
tarangverma opened this issue Mar 29, 2025 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@tarangverma
Copy link

tarangverma commented Mar 29, 2025

when am trying to insert two or more inline custom component in the same line of the editor. It gets inserted fine before saving but when i try to save it to markdown and then try to process or render the content the content shifts to new line instead of remaining to the same line..

I think it treat it like another block instead of inline block...

this is what i am initially inserting in my blocknote editor
Image

this is how it is getting saved to my markdown file.
Image

this is what i get after rendering
Image

I think its treating the inline block as a block element..

this is my schema

Image

here i am rendering the block and processing it.
Image
Image

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
@tarangverma tarangverma added the bug Something isn't working label Mar 29, 2025
@tarangverma tarangverma changed the title Rendering multiple inline contents shifts the content to new line when rendering. Rendering multiple inline contents shifts the content to new line when processing. Mar 29, 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