[Feature]: Remove HTML and formatting from text on paste
See original GitHub issueI’m submitting a
- Regression (a behavior that used to work and stopped working in a new release)
- Bug report
- Enhancement
- Feature request
- Documentation issue or request
Description
It would be nice to have an option to strip HTML when pasting. Maybe we can do it using Schemas, but I was unable to get it to work. For instance, I would like to only keep <strong>, <em>,<u>
and <br>
elements.
Version Information
ngx-editor: 8.0.1
angular: 10.2.4
Browser
- Chrome - x.x.x
- Mozilla Firefox - x.x.x
- Opera - x.x.x
- Microsoft Edge - x.x.x
NOTE: Replace x.x.x
with your version information
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Online HTML Stripper. Remove HTML and formatting from text
Free online tool to strip HTML from any text. Remove all HTML and formatting from your text. StripHTML.com gives quick and easy way...
Read more >How to Strip Formatting When You Copy and Paste Text: 5 Ways
On the menu that appears, click the three-dot button next to the item that you want to paste without formatting. This will show...
Read more >Strip html tags when pasting foreign content. #123 - GitHub
Hi, Some of my users often have problems understanding that if they copy text from a foreign website that comes with its own...
Read more >Removing rich text formatting for copy + paste? (Cross Browser)
Whenever a user copies text from my AspDotNetStorefront site and paste it onto a Word document, the pasted text includes a gray background....
Read more >3 Simple Ways to Strip Styling & Formatting from Text in Mac ...
3 Simple Ways to Strip Styling & Formatting from Text in Mac OS X ; 1: Strip Styling & Formatting with a Special...
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 FreeTop 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
Top GitHub Comments
Yup! That does the trick. Perhaps if you could include the plugin example in the docs that would help even more people.
Thank’s for the support.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.