muaz-khan / Canvas-Designer

Collaborative, extendable, JavaScript Canvas2D drawing tool, supports dozens of builtin tools, as well as generates JavaScript code for 2D animations.

Home Page:https://www.webrtc-experiment.com/Canvas-Designer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can I access a 'tool-box' ???

LucasHimelfarb opened this issue · comments

iframe do not have ID

window.frames[0].document.getElementById('tool-box').style.display="none";

is working

Actually I'm planning to remove <iframe>. Code will be appended directly into current DOM/HTML.

In that case, you'll be able to access tool-box using document.querySelector('.cd-tool-box').

Actually it is required to fix touch/move issues on mobile devices.

Thanks for answering, do you have any estimate of how much time it may take?