-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Replace multi-line paragraphs in templates #360
Comments
@rstoeber It depends on what you actually want. If you want multiple lines in a text, then they are actually separate paragraphs and using cloneBlock() you can grab such paragraphs and make them multiple, then replace the text in each.
If the enters must be inside, say, a listitem (bullet point) without going into a new bullet point, then you actually want a shift-enter, and that is done by inserting a For a solution see also #268 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The template feature for modifying docx files is really cool and appears to work perfectly with all of my test documents. However, as the PHPWord documentation says "Only single-line values can be replaced." which means that I can't insert custom paragraphs. Any chance that will be available soon?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: