Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to get the plain text from the editor? #75

Closed
mayur9293 opened this issue Dec 28, 2018 · 2 comments
Closed

Is there a way to get the plain text from the editor? #75

mayur9293 opened this issue Dec 28, 2018 · 2 comments

Comments

@mayur9293
Copy link

Is there a way to just get plain text from the editor removing all the HTML tags??

@AdamMadrzejewski
Copy link

Since you have access to the variable containing HTML string, you can do all operations that can be made on strings, including striping html tags from it. It's just JavaScript operation on string and there are a lot of solutions on internet. Have a look here:

https://stackoverflow.com/questions/822452/strip-html-from-text-javascript

@mayur9293
Copy link
Author

Oh wow... It worked. Thanks for the help.

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

No branches or pull requests

2 participants