fix(cuttonote): header formatting remains after cut to note

This commit is contained in:
Elian Doran 2025-03-29 02:07:03 +02:00
parent e303281207
commit fceee44844

View File

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