BlocklyDuino2Electron icon indicating copy to clipboard operation
BlocklyDuino2Electron copied to clipboard

Error is displayed when verifying generated code.

Open parveennara opened this issue 4 years ago • 0 comments

If the generated program is too long and doesn't fit the 'ace_content' code editor window, a scroll bar is displayed. When I try to verify the generated code error messages are displayed. The reason being only the visible part of the code is copied by the following line of code: var data = document.getElementsByClassName("ace_content")[0].innerText; File: IDE_functions.js line 70

Also when you copy the code using the copy button only the visible code is copied and not the whole generated code.

parveennara avatar Jul 22 '21 05:07 parveennara