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
Wrapping text around images. #573
Comments
Thank you @HuVik ! |
@diegomura it would be really great if this feature is developed. Is there anyway I can support to achieve this? I'm using react-pdf to generate dynamic PDF files from a WYSIWYG editor. The PDF's are created by end-users, so I don't have any control on where and when the images are positioned. This is an example of a document I would like to render as PDF. Is there anyway I can be of help here? |
This is something that has to be build on both textkit and react-pdf layers, but to be honest, I couldn't think yet about an implementation yet. The first step would be if textkit supports exclude sections from render containers (I wrote the current implementation but I don't remember if does. An old, but incomplete, version did). But the problem relies in where that exclusion area is, and how to deal with pagination. I'm working in a v2.0 solution which is much more modular and maybe then it would be easier to add, but still, it's not as easy as it might seem |
Tnx for the reply. I will take a look if I can be of any help, but i'm afraid my knowledge is a bit limited... Tnx for all your work on react-pdf. It's great. |
Any progress on this feature? |
Any progress on this feature?? |
Any progress on the PR so far ? |
It would be great to see this feature to make it into the library! |
Is your feature request related to a problem? Please describe.
I would like to use float to wrap text around images. Is this possible with current implementation? I don't want to use
flex-flow: row
to have image and text in one row. because I want to wrap text around an image. The text could be 10 pages long like a lot of articles in news do.Describe the solution you'd like
Describe alternatives you've considered
Using
flex
, but it's not possible to wrap text under the image with it.The text was updated successfully, but these errors were encountered: