mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 12:39:04 +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;
|
const model = this.editor.model;
|
||||||
|
|
||||||
model.deleteContent(model.document.selection);
|
model.deleteContent(model.document.selection);
|
||||||
|
this.editor.execute("paragraph");
|
||||||
|
|
||||||
const component = this.getComponent();
|
const component = this.getComponent();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user