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

fix: Use innerHTML rather than innerText for textareas #317

Merged
merged 1 commit into from
Aug 6, 2019

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Aug 6, 2019

What is this?

This is so we can properly capture HTML content in textareas (which is common with WYSIWYG editors)

Question

Will this have any impact on non-HTML content? Or will innerHTML work as expected?

This is so we can properly capture HTML content in textareas.
src/percy-agent-client/dom.ts Outdated Show resolved Hide resolved
@Robdel12 Robdel12 merged commit b700fbb into master Aug 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the rd/textarea-inner-html branch August 6, 2019 15:46
djones pushed a commit that referenced this pull request Aug 6, 2019
## [0.9.1](v0.9.0...v0.9.1) (2019-08-06)

### Bug Fixes

* Log error if there is one from the config service ([#318](#318)) ([6432b63](6432b63))
* Use `innerHTML` rather than `innerText` for textareas ([#317](#317)) ([b700fbb](b700fbb))
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

Successfully merging this pull request may close these issues.

2 participants