title: How to copy cells with formulas other tab browser Luckysheet
body: <p>I am using a js library to create Excel spreadsheets.<br />
  It is here: <a href="https://github.com/mengshukeji/Luckysheet" rel="nofollow noreferrer">Luckysheet</a></p>
  <p>I have a problem that when copying the content in a cell with a formula and it's the same worksheet, when pasting the content into another cell, the formula is pasted.<br />
  For example, I have cell <strong>B3</strong> with the formula. <code>=SUM(1+1)</code>, when I copy over cell <strong>D3</strong>, the formula is followed.</p>
  <p><a href="https://i.stack.imgur.com/o2mRv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o2mRv.png" alt="Luckysheet" /></a></p>
  <p>If I open 2 different browser tabs and copy, the formula <code>=SUM(1+1)</code> disappears, leaving only the string 2.</p>
  <p><a href="https://i.stack.imgur.com/u1ELk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u1ELk.png" alt="enter image description here" /></a></p>
  <p>I tried searching for its options but couldn't find it.<br />
  I tried getting data from clipboard, but it doesn't work.</p>
  <pre><code>const copyButton = document.getElementById(&quot;luckysheet-icon-copy&quot;);
  if (copyButton) {
       copyButton.addEventListener = () =&gt;{
       const value = luckysheet.getRangeValue();
       setData(value);
       navigator.clipboard.writeText(luckysheet.getRangeHtml());
     }
  
  }
  </code></pre>
  <p>Link demo: <a href="https://mengshukeji.github.io/LuckysheetDemo/" rel="nofollow noreferrer">Demo</a>
  Thanks everyone!</p>