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

Textbreak after image #2752

Open
2 tasks
Kembreg1405 opened this issue Feb 19, 2025 · 0 comments
Open
2 tasks

Textbreak after image #2752

Kembreg1405 opened this issue Feb 19, 2025 · 0 comments

Comments

@Kembreg1405
Copy link

Kembreg1405 commented Feb 19, 2025

Describe the bug and add attachments

In the examples, there is this text:

$section->addText('By default, when you insert an image, it adds a textbreak after its content.');

"By default" gives the impression this can be changed.

How can it be changed?

Expected behavior

$section->addImage();, with no textbreak.

Steps to reproduce

$section->addImage()

PHPWord version(s) where the bug happened

8

PHP version(s) where the bug happened

12

Priority

  • I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
  • I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant