question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: add text to modern page

See original GitHub issue

Add 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:closed
  • Created 6 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
ypcodecommented, Aug 20, 2018

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

1reaction
ypcodecommented, Dec 11, 2018

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 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found