Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Convert pasted rich text to plain text #5

Open
insin opened this issue Feb 20, 2015 · 1 comment
Open

Convert pasted rich text to plain text #5

insin opened this issue Feb 20, 2015 · 1 comment
Labels

Comments

@insin
Copy link
Owner

insin commented Feb 20, 2015

Current flat-out stripping of tags loses linebreaks and leads to other weird spacing issues when rich text is pasted.

Searching around suggests implementing this is fraught with pain and terror.

@insin insin added the feature label Feb 20, 2015
@insin
Copy link
Owner Author

insin commented Feb 26, 2015

This was briefly in master for 2.0.0, but modifying innerHTML under the user causes cursor jumping. There are entire libraries devoted to the sort of cross-browser range stuff you need to do to solve this properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant