Fix Cut-Off Text in a SharePoint Online Text Web Part
Question details
Fix text that is cut off after HTML is copied into a SharePoint Online modern Text web part.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Editing a modern SharePoint page with content copied from an HTML source.
- Observed behavior
- Text appears cut off in the Text web part, with the display potentially varying between browsers.
Confirm that you can edit the affected page and identify the text that was copied from HTML. Keep the original content available so you can re-enter it without the copied markup.
Replace Copied HTML with Plain Text in the Text Web Part
Use this approach when copied HTML or formatting may be causing text to display incorrectly.
Open the affected SharePoint Online page and select Edit at the top of the page.
Select the cut-off content in the Text web part and delete it, including any copied formatting.
Type the content directly into the Text web part, or paste it into a plain-text editor first and copy it back into the web part.
Use the Text web part toolbar to apply any needed headings or formatting, then select Republish or Publish and check the page.

Check the Page Type and How the Content Was Added
Use this check if clean text is still cut off or if you are unsure whether the content is in a Text web part.
Prepare Clean Page Content with WPS Writer
WPS Office is a free, lightweight alternative for drafting and editing documents in a familiar interface. Its Microsoft Office format support makes it easier to move existing document content into your workflow, though it does not fix SharePoint rendering issues.

Frequently Asked Questions
Why is text cut off after I paste it into SharePoint?
Copied HTML or its formatting may affect how the Text web part displays content. Edit the page, remove the affected content, and re-enter it as plain text before applying formatting with the web part toolbar.
How can I remove formatting from copied text?
Paste the source text into a plain-text editor, copy it again, and paste it into the SharePoint Text web part. You can then use the web part toolbar to add the formatting you need.
What should I check if the text is still cut off?
Select Edit on the page and confirm whether it is modern or classic and whether the content is in a Text or Embed web part. Record the browser version and insertion steps, then share them with your SharePoint administrator or Microsoft support.
Which browser should I use to test the page?
Check the published page in a current version of Edge or Chrome. Internet Explorer is not supported for Microsoft 365, so it is not a reliable browser for testing SharePoint Online.




