Skip to content

feature: Paragraph.add_text() #8

Open
@etfre

Description

@etfre

Right now, the quickest way to add text to the last run of paragraph p (preserving formatting/styles, versus p.add_run()) is through p.runs[-1].add_text(), which doesn't look particularly clean. I know that Texts aren't children of Paragraphs, but p.add_text() is intuitive and I suspect that many people will try to call it when they first start using the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions