🔖 Lines to Paragraph
This userscript combines lines of text, separated by newlines, into a single paragraph on SurferSEO draft pages. The script includes a button to trigger the conversion and displays a confirmation message when the text is combined successfully.
⚡Installation Instructions
- Install the script using Tampermonkey (or another userscript manager).
- Navigate to a SurferSEO draft page (
https://app.surferseo.com/drafts/*
). - Select the lines of text you want to combine.
- Click the "Lines to Paragraph" button that appears on the page to merge the lines into a single paragraph.
🔑 Key Features
- Adds a "Lines to Paragraph" button to SurferSEO draft pages.
- Combines selected lines of text into a single paragraph.
- Displays a confirmation message upon successful conversion.
- Preserves the content structure while removing unnecessary newlines.
🛠️Technical Details
- Version: 1.0
- Author: mhshan
- Platform: SurferSEO
- Tags: SurferSEO, text formatting, paragraph, user script, Tampermonkey, content editing
📝Notes for Users
- The script works specifically on SurferSEO draft pages. Ensure the draft editor page is loaded for the script to function properly.
- Only the selected text will be combined into a paragraph; ensure the desired text is highlighted before clicking the button.
- The script will display a success message after the transformation is complete.