boardx / canvasx

CanvasX is an open-source digital whiteboard that prioritizes a sticky notes experience to enhance real-time visual collaboration for teams and individuals.
https://boardx-demo.pages.dev/
Other
2 stars 0 forks source link

[Feature]: Divide CanvasX from FabricJS code #4

Open asturur opened 3 months ago

asturur commented 3 months ago

CheckList

Description

Working with CanvasX as a fork of FabricJS is confusing. Ideally CanvasX does not changes to fabricJS and imports the functions. If some function needs to be customized heavily then it can be copied

Current State

-

Additional Context

No response

usamshen commented 3 months ago

@asturur

I agree, let's import the Fabric.js library into the project and remove all the source code of Fabric.js. I am willing to implement this change.

I have two questions regarding this:

  1. What is the best option for adding extra fields or functions to canvas and fabricObject?
  2. Can we ensure that all core types, schemas, and interfaces of Fabric.js are exported? This way, when we customize a class, we won't need to copy the types or interfaces.

Thank you!