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

When Inline, it does not wrap around the text #7

Open
demiro opened this issue Jun 4, 2024 · 2 comments
Open

When Inline, it does not wrap around the text #7

demiro opened this issue Jun 4, 2024 · 2 comments

Comments

@demiro
Copy link

demiro commented Jun 4, 2024

When setting the image as inline, I would like to be able to wrap text around it (if I drag the image inside of a paragraph)...

like I found in this example
https://codesandbox.io/p/sandbox/wrapping-text-around-an-image-using-html-2xj9yu?file=%2Findex.html

or like CKEditor does in basic example
https://ckeditor.com/ckeditor-5/demo/editor-types/

How would I go about it? This is one of the bases of document formatting and I am quite unsure why tiptap does not provide this out of the box

@Im-younique
Copy link
Collaborator

Hello, @demiro ,

I am aware of the issue, but I don't think Tiptab currently supports that feature.

I know that it wasn't long ago that creating images inline was added as an option.

We will review this feature positively and try to add it.

It may take some time because I think I could make a big error if I touch it carelessly, but I will find a solution.

Thanks for leaving it as an issue! I'll leave a comment again with good news.

PR is always welcome. 🤗

@demiro
Copy link
Author

demiro commented Jun 5, 2024

@Im-younique Yeah, I thought as much. Weird that TipTap nor ProseMirror do not offer any support for this out of the box. This kind of functionality has been around in wysiwyg editors for ages. Think I will have to tackle this asap, as we are rolling the updates to the production and lacking this functionality is not really acceptable in our setting. If I do, will def. consider a PR if you don't bit me to it!

Thanks again for the hard work, I do appreciate it

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

2 participants