Skip to content

[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

Closed
rzempo opened this issue Dec 8, 2021 · 5 comments · Fixed by #2401 or #2403
Closed

[FEATURE] Add Text web part with Image web parts inside the Text web part #1425

rzempo opened this issue Dec 8, 2021 · 5 comments · Fixed by #2401 or #2403
Assignees
Labels
enhancement New feature or request

Comments

@rzempo
Copy link

rzempo commented Dec 8, 2021

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
144035390-fc52ff80-dc58-4578-a6d7-3f499cc23bcf
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

@rzempo rzempo added the enhancement New feature or request label Dec 8, 2021
@smumalo
Copy link

smumalo commented Dec 8, 2021

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)

@khamphou
Copy link

hello

i am interested in this feature too for pnp powershell.
le me know once it is added in your roadmap and released.

thank you.

@vstoyanov88
Copy link

vstoyanov88 commented Jun 14, 2022

Would be great to have this functionality.
Thanks

@rohitblue28
Copy link

We need this feature ASAP.

@dora-popova
Copy link

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.

@gautamdsheth gautamdsheth self-assigned this Sep 29, 2022
gautamdsheth added a commit to gautamdsheth/powershell that referenced this issue Sep 29, 2022
KoenZomers added a commit that referenced this issue Sep 29, 2022
Feature #1425 - ability to add inline image in a text webpart
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
7 participants