mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	* Use the web share target API * Make requested changes * Remove line * Add application/json back * Add application/vnd.excalidraw+json * Add 'POST' check back * Make requested changes * Update src/appState.ts Co-authored-by: Thomas Steiner <tomac@google.com> * Update test * Override initializeScene * Use Excalidraw MIME type * Minor fixes * More MIME type tweaks * More permissive file open * Be overpermissive in file open Co-authored-by: Thomas Steiner <tomac@google.com> Co-authored-by: tomayac <steiner.thomas@gmail.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			989 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			989 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "short_name": "Excalidraw",
 | 
						|
  "name": "Excalidraw",
 | 
						|
  "description": "Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them.",
 | 
						|
  "icons": [
 | 
						|
    {
 | 
						|
      "src": "logo-180x180.png",
 | 
						|
      "sizes": "180x180",
 | 
						|
      "type": "image/png"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "src": "apple-touch-icon.png",
 | 
						|
      "type": "image/png",
 | 
						|
      "sizes": "256x256"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_url": "/",
 | 
						|
  "display": "standalone",
 | 
						|
  "theme_color": "#000000",
 | 
						|
  "background_color": "#ffffff",
 | 
						|
  "file_handlers": [
 | 
						|
    {
 | 
						|
      "action": "/",
 | 
						|
      "accept": {
 | 
						|
        "application/vnd.excalidraw+json": [".excalidraw"]
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "capture_links": "new_client",
 | 
						|
  "share_target": {
 | 
						|
    "action": "/web-share-target",
 | 
						|
    "method": "POST",
 | 
						|
    "enctype": "multipart/form-data",
 | 
						|
    "params": {
 | 
						|
      "files": [
 | 
						|
        {
 | 
						|
          "name": "file",
 | 
						|
          "accept": ["application/vnd.excalidraw+json", "application/json", ".excalidraw"]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |