mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
parent
158eb4322a
commit
0f8b6dc7a4
1 changed files with 2 additions and 0 deletions
|
|
@ -32,5 +32,7 @@ export const drawText = (canvas: fabric.Canvas): void => {
|
|||
canvas.add(text);
|
||||
canvas.setActiveObject(text);
|
||||
undoStack.onObjectAdded(text.id);
|
||||
text.enterEditing();
|
||||
text.selectAll();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue