Make last font used the default for next text box

This commit is contained in:
alonso.torres 2021-07-14 21:51:30 +02:00
parent 26467187c4
commit 9ebafddac2
7 changed files with 31 additions and 14 deletions

View file

@ -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;