The plugin "Smart Rem" does not work

it’s details is shown in the link below

or
https://drive.google.com/file/d/1_zFWXHFBP2OKc7lu20-0-5aale1RDec6/view?usp=sharing

Does anyone else have problems like this? I do not know this is whether a bug or my negligence
Thanks!

I solved it!
changes is need in function occupying lines between line641 and line650 in smart-rem.js

findAllRem()

and

remId(remEl)

into

function findAllRem() {
return […document.querySelectorAll(“div[id^=WindowManager][id*=HierarchyEditor]”)];
}

function remId(remEl) {
return remEl.id.slice(
remEl.id.length - 1 - REM_ID_LENGTH,
remEl.id.length - 1
);
}

1 Like