-
Notifications
You must be signed in to change notification settings - Fork 369
[FEATURE] Add Text web part with Image web parts inside the Text web part #1425
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
In pnp core this is made possible by "GetInlineImageAsync" inside the "https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs" (just for info) |
hello i am interested in this feature too for pnp powershell. thank you. |
Would be great to have this functionality. |
We need this feature ASAP. |
This would be a vital feature necessary for any meaningful bespoke migration effort, it would be great if it is implemented as part of pnp. |
Feature #1425 - ability to add inline image in a text webpart
Is your feature request related to a problem? Please describe.

Manually you can add Image web parts inside a single Text web part. I.e., some text, image1, some more text, image2, etc., everything inside a single Text web part like the image below
Dynamically I can add Text web parts, and Image web parts but they are individual web parts in the page using Add-PnPPageTextPart and Add-PnPPageWebPart, which is likely to go over the 20 web parts per page limit recommendation (https://docs.microsoft.com/en-us/microsoft-365/enterprise/modern-portal-limits?view=o365-worldwide)
Describe the solution you'd like
I would like to dynamically be able to add Image web parts inside a Text web part using using similar commands to Add-PnPPageTextPart or Add-PnPPageWebPart. Potentially the images be part of the properties of the Add-PnPPageTextPart command.
Describe alternatives you've considered
Use Add-PnPPageTextPart and Add-PnPPageWebPart to individually add web parts accordingly
Additional context
The text was updated successfully, but these errors were encountered: