We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31cf809 commit 3a878f5Copy full SHA for 3a878f5
1 file changed
static/extensions/LordCat0/ProjectInterfaces.js
@@ -322,6 +322,7 @@
322
defaultValue: "background-color: red",
323
},
324
325
+ hideFromPalette: true
326
327
{
328
opcode: "HtmlElement",
@@ -906,17 +907,7 @@
906
907
element.style.backgroundColor = args.color;
908
}
909
CustomCSS (args) {
- if (!elements[args.id]) {
910
- return;
911
- }
912
- let style = document.getElementById(`LCGuiStyle_${args.id}`);
913
- let lines = args.css.split(";");
914
- if (!style) {
915
- style = document.createElement("style");
916
- style.id = `LCGuiStyle_${args.id}`;
917
- document.head.append(style);
918
919
- style.textContent = `[data-id='${args.id}']{\n${lines.join(" !important;\n") + " !important"}\n}`;
+ // Legacy block that is now non-functional
920
921
HtmlElement (args) {
922
if (elements[args.id]) return;
0 commit comments