This commit is contained in:
Vanessa 2023-05-15 11:46:51 +08:00
parent 53a95ffbf7
commit 6690084caa
5 changed files with 32 additions and 23 deletions

View file

@ -506,7 +506,7 @@ export const isCurrentEditor = (blockId: string) => {
return true;
};
const updateOutline = (models: IModels, protyle: IProtyle, reload = false) => {
export const updateOutline = (models: IModels, protyle: IProtyle, reload = false) => {
models.outline.find(item => {
if (reload || (item.type === "pin" && (!protyle || item.blockId !== protyle.block?.rootID))) {
let blockId = "";