Changelog
What changed in Excalidraw, one week at a time.
Nov 16–22
Text editing stays open through tab switches
10 improved · 3 fixed
Text editing stays open through tab switchesImproved
Text you are typing stays in edit mode when you switch to another tab or app, and when the drawing refreshes from another tab. Clicking elsewhere in the page finishes the text. You can switch a text's auto-resizing while you edit it. Deleted text stays deleted when you finish editing.
See: TextAlt+arrow picks the nearest box in flowchartsImproved
Alt with an arrow key selects the box nearest in that direction, judged by one distance score. A box a little to the side can win over a farther box straight ahead. Near-ties within 10% go to a box the selected box links to.
See: FlowchartsNov 9–15
Minimap shows the whole drawing
3 new · 7 improved · 3 fixed
Minimap shows the whole drawingNew
Turn the Minimap on from the footer or from Preferences to see the whole drawing in miniature, with your view outlined on it. Drag inside it or scroll over it to move and zoom the canvas. The minimap is off when the editor opens, and developers can remove it.
See: Command paletteResize text by dragging its sidesNew
Drag the left or right edge of a text you are editing to set the width it wraps at. Text you type or paste wraps at a wider width as you zoom out, up to 2,000 scene units. The editor stays open while you drag.
See: TextAlt+W turns text auto-resizing on and offNew
Press Alt+W while editing free text, or with free text selected, to turn auto-resizing on for all of them if any is off, and off if all are on. With auto-resizing on, text grows with its content on one line. With it off, text wraps at its current width. Text inside a shape is not affected.
See: TextNov 2–8
Arrows that cross frames stay whole
1 new · 2 fixed
Arrows that cross frames stay wholeFixed
Arrows are not cut off at a frame's edge, on the canvas or in an exported SVG. An arrow can run from one frame to another and leaves its frame once neither end is in it. Arrows inside a frame move with the frame when you move it, and stay attached to shapes outside it.
See: Excalidraw React componentMermaid state, Gantt, quadrant, and timeline diagramsNew
Mermaid code can make state, Gantt, quadrant chart, and timeline diagrams, which convert to Excalidraw elements. Pasted flowcharts use elbow arrows unless the code sets its own curve. Code with front matter, comments, or several directives opens as a diagram, and syntax error line numbers count from the top of the code.
See: Text to diagramOct 26 – Nov 1
Text to diagram explains and fixes Mermaid errors
1 new · 6 improved · 2 fixed
Text to diagram explains and fixes Mermaid errorsNew
Auto-fix is available for more mistakes in flowcharts, sequence, class, state, and entity relationship diagrams, and it now adds a missing end or closing brace in the right place. Syntax errors give the line as you typed it, and Likely causes name the mistake in your diagram.
Alt+arrow moves to the next flowchart boxImproved
Alt+arrow moves to the joined box that looks next in the direction you press, including boxes joined by straight arrows. Boxes you add with the arrow keys sit centered on the box you started from when there is room for them.
See: FlowchartsElbow arrows route more cleanlyImproved
Elbow arrows bend once or twice when the direct path is clear, and they re-route when you change or paste their arrowheads. They also re-route when you flip them with Shift+H or Shift+V, and no short stray segment appears between two longer ones heading the same way.
See: ArrowsOct 19–25
Paste Instagram posts and reels as embeds
1 new · 4 improved · 5 fixed
Paste Instagram posts and reels as embedsNew
Paste an Instagram post or reel link onto the canvas and it appears as an embedded post, 400 by 720. Share links that carry the author’s username work, and so does Instagram’s embed code.
See: Canvas and toolbarText to diagram reports a failed converter loadImproved
If the diagram converter fails to load, for example while you are offline, the preview shows a message with a Retry button, or a button to reload the page. Insert on a reply shows a message and adds nothing. Once you are back online, the converter loads on its own.
See: Text to diagramArrowheads fit short last segmentsImproved
On an arrow whose last segment is short, arrowheads grow to their usual size, and cardinality markers shrink so they fit that segment. Plain arrowheads grow to half size and open to 30 degrees as they shrink to 10 px. Curved arrows keep their size.
See: ArrowsOct 12–18
Wrap and unwrap the selection with W
1 new · 4 improved · 2 fixed
Wrap and unwrap the selection with WNew
Press W, or run Wrap or unwrap selection from the command palette, to wrap or unwrap the selected shapes. When every shape in a frame is selected, the Wrap button reads Remove frame and removes the frame. Wrapping an image with the shapes drawn on it adds no margin.
See: Excalidraw React componentText bound to a shape keeps its layout and styleImproved
Unbinding text keeps its line breaks at the same width, and the freed text stays selected with its shape. Wrapping text in a container draws the box in the text’s color and the default rectangle style.
See: TextFrames hold their shapes and clip them at the edgeFixed
A shape snapped flush to a frame’s edge stays in the frame, and a frame snapped to a shape’s edges takes that shape in. Shapes inside a frame are cut at its edge, stroke included, and exports of a frame are clipped to it. Cutting a frame with Ctrl/Cmd+X also cuts the shapes inside it.
See: Export and saveOct 5–11
Alt-click cycles through overlapping shapes
2 new · 3 improved · 2 fixed
Alt-click cycles through overlapping shapesNew
Alt-click where shapes overlap to select the next shape below, wrapping back to the topmost. Inside a group you are editing, the cycle stays in that group. Alt-drag duplicates the selected shape after the pointer moves. With the selection tool, holding Alt over overlapping shapes shows the hint “Alt-click to cycle selection, or drag to duplicate”.
See: Groups and framesCropping an image works like resizingImproved
Cropping follows the same rules as resizing: snapping, keeping proportions, resizing from the center, and the grid unless Ctrl or Cmd is held. Double-click a crop handle to uncrop that side, or both sides for a corner. The image stops at its edge and moves back as soon as you drag back inside it.
See: Excalidraw React componentSelect elements from the React componentNew
The Excalidraw React component's imperative API gains selection, with select, add, remove and clear. Each takes element ids or elements. Locked, missing and deleted elements are skipped unless includeLocked is passed. It works in view mode too, and the change joins the next undoable change unless captureUpdate is passed.
See: Excalidraw React componentSep 28 – Oct 4
Text wraps clear of the side panels
1 new · 7 improved · 1 fixed
Text wraps clear of the side panelsImproved
Typed text wraps at the edge of the canvas, clear of the stats panel and, on desktop with zen mode off, the styles panel. When you type under a panel, the canvas moves sideways so the text cursor stays in view.
See: Excalidraw React componentAlt-drag the text you are editing to copy itNew
Hold Alt and drag the text you are editing to make a copy. The copy opens for editing when you let go. This works with the selection and lasso tools, using the main mouse button and no Ctrl or Cmd.
See: Excalidraw React componentDuplicated list items count onImproved
Duplicating a list item advances its number, so 1. foo becomes 2. foo. Duplicating several items that hold only their markers continues from the highest one. Numbers count up to 42, and roman numerals up to xcix.
See: Excalidraw React componentSep 21–27
The text tool shows what a click will do
1 new · 11 improved · 4 fixed
The text tool shows what a click will doImproved
With the text tool, hovering highlights what a click acts on: existing text, the outline of a shape it would label, or an arrow's free end. A click at the centre of an empty shape adds a label, and a drag from there creates free text you size by dragging. Holding Ctrl or Cmd keeps the click from adding a label.
See: TextArrows attach to the outline they point atImproved
An arrow end attaches to the nearest outline within the binding distance, which depends on the zoom level. Elbow arrows snap to diamond edge midpoints, and arrows attach to circle centres and ellipse axes. Arrows stay attached and re-route when you convert a shape to another type.
See: ArrowsDrop a file to add it or replace your drawingNew
Dragging a file over the editor shows an overlay that says what dropping it will do. Holding Shift while you drop a drawing file adds its shapes at the drop point instead of replacing your drawing. In view mode, dropping a file does nothing, and the browser does not open it.
See: Export and saveSep 14–20
Drag with the right mouse button to pan the canvas
2 new · 2 improved
Drag with the right mouse button to pan the canvasNew
Hold the right mouse button and drag to pan the canvas once the pointer moves more than 5 px. A right-click without a drag still opens the menu. On macOS and Linux, the menu opens when you release the button. While you pan, collaborators don’t see your pointer move until you let go.
See: Excalidraw React componentHold the middle mouse button to zoomNew
Hold the middle mouse button and scroll the wheel to zoom in and out around the pointer. While the button is held, scrolling zooms instead of panning, with or without a modifier key. The main menu’s Preferences has an input device choice: Trackpad or Mouse.
See: Canvas and toolbarSep 7–13
Sticky notes you can add, type into, and resize
2 new · 7 improved · 4 fixed
Sticky notes you can add, type into, and resizeNew
Add a sticky note by clicking once for a default square, or drag to set its size, then type straight into it. Pick the Sticky note tool from the toolbar, the extra tools menu, or by pressing N. Notes grow as you type, and their corners keep proportions. Each note has its own colors, and the Fill control is hidden for it.
See: Canvas and toolbarDrag some toolbar tools onto the canvasNew
Drag a tool from the toolbar onto the canvas, and a see-through preview shows what it will draw before you drop it. Some tools can be dragged this way. Pressing a tool without moving it still selects it.
See: Canvas and toolbarShapes with text keep resizing past the opposite edgeFixed
When you drag a shape that holds text past its opposite edge while keeping its proportions, the shape keeps resizing instead of stopping. The text grows from the edge the flip keeps in place.
See: TextThat’s every week, back to Sep 7–13.