Skip to content

Instantly share code, notes, and snippets.

@malikshubham827
Created June 28, 2017 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malikshubham827/2a88be93b5a0bdde43ce6c312f0161fe to your computer and use it in GitHub Desktop.
Save malikshubham827/2a88be93b5a0bdde43ce6c312f0161fe to your computer and use it in GitHub Desktop.
React Element code, copied from Chrome Console
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div data-reactid=".0.4.1" style="display: flex; flex-direction: column; align-items: baseline; width: auto; overflow: hidden;">
<div class="gr_ver_2" contenteditable="true" data-gramm="gramm" data-gramm_editor="true" data-gramm_id="e25622c9-fdfc-2a23-7c57-1ce7826bf01a" data-id="e25622c9-fdfc-2a23-7c57-1ce7826bf01a" data-reactroot="" style="position: absolute; color: transparent; overflow: hidden; white-space: pre-wrap; border-radius: 10px; box-sizing: border-box; height: 150px; width: 400px; margin: 50px 5px 5px 15px; padding: 10px; z-index: 0; border-width: 0px; border-style: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); top: 0px; left: 0px;">
<span style="display: inline-block; line-height: 25.6px; color: transparent; overflow: hidden; text-align: left; float: initial; clear: none; box-sizing: border-box; vertical-align: baseline; white-space: pre-wrap; width: 100%; margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 16px; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; letter-spacing: normal; text-shadow: none; height: 150px;"></span><br>
</div>
<textarea class="help-message-box" data-gramm="true" data-gramm_editor="true" data-gramm_id="e25622c9-fdfc-2a23-7c57-1ce7826bf01a" data-reactid=".0.4.1.0" data-txt_gramm_id="e25622c9-fdfc-2a23-7c57-1ce7826bf01a" spellcheck="false" style="z-index: auto; position: relative; line-height: 25.6px; font-size: 16px; transition: none; background: transparent !important;"></textarea>
<div class="_e725ae-textarea_btn _e725ae-show _e725ae-anonymous _e725ae-field_hovered" data-reactroot="" style="z-index: 2; transform: translate(385px, 170px);">
<div class="_e725ae-transform_wrap">
<div class="_e725ae-status" title="Protected by Grammarly">
&nbsp;
</div>
</div>
</div><button class="help-button" data-reactid=".0.4.1.1">X</button>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment