Skip to content

Textbreak after image #2752

Open
Open
@Kembreg1405

Description

@Kembreg1405

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions