Skip to content

Commit 093b6b6

Browse files
committed
feat: set tinymce to dirty when just inserting a block
1 parent ef36dff commit 093b6b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/packages/rte/tiny-mce/plugins/tiny-mce-block-picker.plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export default class UmbTinyMceMultiUrlPickerPlugin extends UmbTinyMcePluginBase
115115
const blockEl = `<${blockTag} ${UMB_BLOCK_RTE_DATA_CONTENT_KEY}="${block.key}"></${blockTag}>`;
116116

117117
editor.selection.setContent(blockEl);
118+
editor.setDirty(true);
118119
});
119120
}
120121
}

0 commit comments

Comments
 (0)