Hello Ranjeet,
I have already answered you here:
http://openmeetings.markmail.org/thread/r7d7g4dywdlfsfby
Basically you need to
1) add html tool button
2) add click(function(){}) to handle click on this button
3) Add some WB logic
Your code seems to look OK
All you need to do is to check it with JS debugger
According to error message "Uncaught TypeError: fabric.Graph is not a
constructor." the issue is in FabricJs object you have created
On Tue, Aug 29, 2017 at 10:29 PM, Ranjeet Singh <[email protected]>
wrote:
>
> ---------- Forwarded message ----------
> From: Ranjeet Singh <[email protected]>
> Date: Tue, Aug 29, 2017 at 8:58 PM
> Subject: How to add new component in whiteboard in openmeetings
> To: [email protected]
> Cc: [email protected]
>
>
> Dear Maxim,
>
> I requested you to please told me that how to add new component in
> whiteboard tool in openmeetings. As like you add line, trangle, circle etc
> shape tool, i want to add new component as a grid graph.
>
>
>
> Thanks
> Ranjeet
>
>
--
WBR
Maxim aka solomax