mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: add prefer-dom-node-append rule (#5108)
This commit is contained in:
@@ -134,7 +134,7 @@ const BlockSuiteEditorImpl = ({
|
||||
if (!container) {
|
||||
return;
|
||||
}
|
||||
container.appendChild(editor);
|
||||
container.append(editor);
|
||||
return () => {
|
||||
container.removeChild(editor);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user