Fabric.js
---------

Version 7.2.0: https://fabricjs.com

With eraser extension by https://github.com/ShaMan123/erase2d. This is custom build of version 1.2.1:
- In erase2d change the output format. In packages/fabric/rollup.config.mjs replace

⏺ Update(rollup.config.mjs)
  ⎿  Added 1 line, removed 3 lines
      11    {
      12      input: 'index.ts',
      13      output: {
      14 -      dir: 'dist',                                             
      14 +      file: 'dist/fabric/index.js',                            
      15        format: 'es',
      16 -      preserveModules: true,                                   
      17 -      entryFileNames: '[name].js',                             
      16        sourcemap: true,
      17        // plugins: [terser()],
      18      },

Build it in erase2d/packages/fabric with

npm run build 2>&1

Copy the erase2d/packages/fabric/dist/fabric/index.js in OpenOlat
Edit the file, comment out import and export and add some fabric package to fabric.classRegistry, fabric.Group
