No description
Find a file
Alejandro Durán b4c47a8e74
Added fix for horizontal scroll on mac (#662)
Based onto [this worldanvil whiteboard issue](https://github.com/worldanvil/worldanvil-bug-tracker/issues/969) which is based on tldraw where one of our users noticed that the horizontal scrolling (panning) with the middle mouse didn't worked on macOS.

Tested on different machines and this bug fixes it

Co-authored-by: Alejandro Duran <alejandro@worldanvil.com>
2022-05-05 16:43:02 +01:00
.changeset 1.10.0 2022-04-16 13:02:52 +01:00
.github [improvement] Improve monorepo (lask + turbo) (#566) 2022-02-08 11:05:56 +00:00
.husky [mega-chore] renaming (#223) 2021-11-06 11:16:30 +00:00
.turbo [fix] export groups (#574) 2022-02-13 13:13:23 +00:00
.vscode Add recommended extensions 2021-11-27 17:15:45 +00:00
apps fix build for vscode extension 2022-04-26 11:40:26 +01:00
assets update images 2022-03-09 16:11:30 +00:00
examples fix: update tldraw to respond to dark mode prop (#659) 2022-04-29 09:35:20 +01:00
guides Fixed bunch of broken links (#471) 2021-12-29 06:39:08 +00:00
packages Added fix for horizontal scroll on mac (#662) 2022-05-05 16:43:02 +01:00
.eslintignore Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
.eslintrc Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
.gitignore [improvement] Improve monorepo (lask + turbo) (#566) 2022-02-08 11:05:56 +00:00
.ignore [improvement] add undo redo at all screen sizes (#643) 2022-04-16 12:22:24 +01:00
.npmignore Replace 2021-08-10 17:12:55 +01:00
.prettierrc Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
CODE_OF_CONDUCT.md updates docs / readmes / adds contributor guide 2021-11-11 12:11:21 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-11-23 15:09:51 +00:00
lerna.json v1.6.1 2022-02-03 11:19:12 +00:00
LICENSE.md Update documentation 2022-01-07 09:01:08 +00:00
package.json [fix] Protect document from missing parents / children. (#622) 2022-03-17 12:42:18 +00:00
README.md update images 2022-03-09 16:11:30 +00:00
repo-map.tldr Fix exports in prod (#521) 2022-01-18 10:00:58 +00:00
setupTests.ts Adjusts small example, makes inputs unique to each instance 2021-09-08 17:18:43 +01:00
tsconfig.base.json [improvement] Improve monorepo (lask + turbo) (#566) 2022-02-08 11:05:56 +00:00
tsconfig.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
turbo.json fix(import): make sure every shape is in page (#599) 2022-03-02 14:21:14 +00:00
yarn.lock Revert "Use the npm module of browser-fs-access (#653)" 2022-04-29 09:07:25 +01:00

A screenshot of the tldraw web app

Welcome to the tldraw monorepo.

🙌 Questions? Join the Discord channel or start a discussion.

💕 Love this project? Consider becoming a sponsor.

Thanks to our corporate sponsors:

...and to our individual sponsors!

Contents

This repository is a monorepo containing two packages:

  • packages/tldraw contains the source for the @tldraw/tldraw package. This is an editor as a React component named <Tldraw>. You can use this package to embed the tldraw editor in any React application.
  • packages/core contains the source for the @tldraw/core package. This is a renderer for React components in a canvas-style UI. It is used by @tldraw/tldraw as well as several other projects.

...and three apps:

...and three examples:

Discussion

Want to connect? Visit the Discord channel.

Contribution

Interested in contributing? See the contributing guide.

Support

Need help? Please open an issue for support.

License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider becoming a sponsor.

Author