Closed nickborti closed 7 years ago
I fixed the problem.Worked around a hack.
widget.html
plus by removing their specific functions defined on the javascript2.The pencil tool or any tool is getting activated by default on widget.html
page by window.setItem
.
Removed that to not autoselect any tool.
I want the user to only watch the drawing but he won't have any access to select anything or draw anything.
designer.setTools({ pencil: false, text: false, ............... ................ });
After I set everything to false plus not calling
designer.setSelected('pencil');
for a particular user, two things are happening.So first of all, how can I call Line, Width and Extras so that I can set them to false? And how can I unselect pencil tool so that the user can't draw?