New command: add text to modern page
See original GitHub issueAdd text to modern page
- command:
spo page text add -n|--pageName <pageName> -u|--webUrl <webUrl> -t|--text <text> --section [section] --column [column] --order [order] - pageName: name of the page to add the section to
- webURL: URL of the site where the page to edit is located
- text: text to add to the page
- section: number of section to which the text should be added (1 or higher)
- column: number of column in which the text should be added (1 or higher)
- order: order of the section
For more information see the Add-PnPClientSideText cmdlet.
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Add text, tables, and images to your page with the Text web part
Click + and then choose Text from the list of web parts. Click inside the box and the formatting toolbar will display. screenshot...
Read more >SharePoint Online New Page Model - Text Web Part - YouTube
Learn how to add text to a SharePoint Online new model page - limitations and possibilities: ...
Read more >Digging into SharePoint Modern Page Text Webpart | by NaS IT
Currently in SharePoint modern page you are able to add text simply in any section with the Text Webpart. This web part offers...
Read more >New command: add client-side web part to modern page #366
New command : add client-side web part to modern page #366 ... column: number of column in which the text should be added...
Read more >SharePoint Online Modern page text box - kalmstrom.com
The new model page has a heading, where you only can change a one line text into some other words than "Name your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi,
Just a quick update on this, I implemented the new command, but I found a quite significant bug when playing with sections (the layout of the page is being screwed up) at this is probably also present in the clientsidewebpart command. I found out there was some issues in the code copied from pnp js at the time. All are now fixed so I recopied the latest implementation.
However, some tests are now failing in other commands, I have to figure out all these before submitting the PR 😃 Hopefully this will be done this week
Regards, Yannick
Sounds good 😃 I would definitely prefer to work much more on it and on the CLI in general but these days, it’s become complicated, so much work and different projects and occupation, I just can’t scale 😀
I will also make sure, if not handled in the meantime, the WebParts command works fine with order + need some refactoring also…
Thanks for this wonderful and very addictive project, you’re leading and Thank YOU very much for your acknowledgement! It’s always good to receive from a star like you 😄