Skip to content

How to customize a code editor tool? #2429

Answered by Taha-Hassan-Git
wulart asked this question in Q&A
Discussion options

You must be logged in to vote

Absolutley! Check out the custom config example for an idea of how to implement a custom shape and tool. You can do normal React things in the component method of the shape util, so you can import any React libraries you want and render them in the return statement. Hope that helps, and feel free to show us what you've made in the tldraw discord.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@wulart
Comment options

@wulart
Comment options

@KesavarajaRK
Comment options

Answer selected by Taha-Hassan-Git
Comment options

You must be logged in to vote
5 replies
@wulart
Comment options

@wulart
Comment options

@Taha-Hassan-Git
Comment options

@KesavarajaRK
Comment options

@linonetwo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants