fix
This commit is contained in:
parent
1363c7ce4f
commit
62df8a3faa
|
|
@ -1,8 +1,10 @@
|
||||||
|
import init from "wasm-gzip";
|
||||||
import { PG } from "./ed-global";
|
import { PG } from "./ed-global";
|
||||||
import init, { decompress } from "wasm-gzip";
|
import { jscript } from "../../editor/panel/script/script-element";
|
||||||
|
|
||||||
export const edInit = async (p: PG) => {
|
export const edInit = async (p: PG) => {
|
||||||
await init();
|
await init();
|
||||||
|
jscript.init();
|
||||||
p.status = "ready";
|
p.status = "ready";
|
||||||
p.render();
|
p.render();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -517,6 +517,7 @@ const SitePicker = ({
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{orglen > 1 && (
|
||||||
<div
|
<div
|
||||||
className="edit
|
className="edit
|
||||||
absolute top-0 right-0 mr-1 text-[9px] text-slate-400"
|
absolute top-0 right-0 mr-1 text-[9px] text-slate-400"
|
||||||
|
|
@ -538,6 +539,7 @@ const SitePicker = ({
|
||||||
>
|
>
|
||||||
Drag me
|
Drag me
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
<div
|
<div
|
||||||
className="edit px-1 bg-blue-50 border-l-4 border-blue-300 text-blue-400 hover:bg-blue-500 hover:text-white absolute inset-0 top-auto"
|
className="edit px-1 bg-blue-50 border-l-4 border-blue-300 text-blue-400 hover:bg-blue-500 hover:text-white absolute inset-0 top-auto"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue