mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 16:37:14 +02:00
✨ Make last font used the default for next text box
This commit is contained in:
parent
26467187c4
commit
9ebafddac2
7 changed files with 31 additions and 14 deletions
|
@ -122,7 +122,7 @@ export function applyInlineStyle(state, styles) {
|
|||
let selection = state.getSelection();
|
||||
|
||||
if (selection.isCollapsed()) {
|
||||
selection = selection.set("anchorOffset", 0);
|
||||
selection = getSelectAllSelection(state);
|
||||
}
|
||||
|
||||
let content = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue