refactor(editor): remove deprecated dangerouslyRenderModel method (#9803)
This commit is contained in:
@@ -79,17 +79,6 @@ export class EditorHost extends SignalWatcher(
|
|||||||
></${tag}>`;
|
></${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 = (
|
renderChildren = (
|
||||||
model: BlockModel,
|
model: BlockModel,
|
||||||
filter?: (model: BlockModel) => boolean
|
filter?: (model: BlockModel) => boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user