Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support to disable image upload #4831

Closed
dwelle opened this issue Feb 21, 2022 · 2 comments · Fixed by #6320
Closed

support to disable image upload #4831

dwelle opened this issue Feb 21, 2022 · 2 comments · Fixed by #6320
Labels
images related to image support package:excalidraw @excalidraw/excalidraw

Comments

@dwelle
Copy link
Member

dwelle commented Feb 21, 2022

No description provided.

@dwelle dwelle added the images related to image support label Feb 21, 2022
@ad1992 ad1992 added the package:excalidraw @excalidraw/excalidraw label Feb 22, 2022
@dwelle
Copy link
Member Author

dwelle commented Feb 22, 2022

I suppose this falls under #3012

@dwelle
Copy link
Member Author

dwelle commented Apr 4, 2022

the API could look like this:

{
  UIOptions: {
    tools: {
      image: false
    }
  }
}

Tools which aren't explicitly disabled will be allowed.

(We should consider renaming UIOptions to options or config.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
images related to image support package:excalidraw @excalidraw/excalidraw
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants