mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 20:19:05 +01:00
fix(cuttonote): header formatting remains after cut to note
This commit is contained in:
parent
e303281207
commit
fceee44844
@ -44,6 +44,7 @@ export default class CutToNotePlugin extends Plugin {
|
||||
const model = this.editor.model;
|
||||
|
||||
model.deleteContent(model.document.selection);
|
||||
this.editor.execute("paragraph");
|
||||
|
||||
const component = this.getComponent();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user