refactor(editor): remove deprecated dangerouslyRenderModel method (#9803)

This commit is contained in:
Saul-Mirone
2025-01-20 14:48:09 +00:00
parent 11558b6845
commit 092f9c84fa

View File

@@ -79,17 +79,6 @@ export class EditorHost extends SignalWatcher(
></${tag}>`;
};
/**
* @deprecated
* Render a block model manually instead of let blocksuite render it.
* If you render the same block model multiple times,
* the event flow and data binding will be broken.
* Only use this method as a last resort.
*/
dangerouslyRenderModel = (model: BlockModel): TemplateResult => {
return this._renderModel(model);
};
renderChildren = (
model: BlockModel,
filter?: (model: BlockModel) => boolean