mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
2ff8c148bd
commit
b70328c7e7
3 changed files with 9 additions and 0 deletions
|
|
@ -282,6 +282,10 @@ const renderGroupTable = (options: ITableOptions) => {
|
|||
};
|
||||
|
||||
const afterRenderTable = (options: ITableOptions) => {
|
||||
if (options.blockElement.getAttribute("data-need-focus") === 'true') {
|
||||
focusBlock(options.blockElement);
|
||||
options.blockElement.removeAttribute("data-need-focus");
|
||||
}
|
||||
options.blockElement.setAttribute("data-render", "true");
|
||||
options.blockElement.querySelector(".av__scroll").scrollLeft = options.resetData.left;
|
||||
options.blockElement.style.alignSelf = options.resetData.alignSelf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue