Skip to content

Commit 9121452

Browse files
committed
Add large text
1 parent 38fdae1 commit 9121452

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/safehtmlencode.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,20 @@ function getBracketCodeJSON(inputText = "") {
540540
textContent: "",
541541
});
542542
}
543+
if (name == "large" && !exists) {
544+
exists = true;
545+
546+
var newElm = run(true, "/large");
547+
newElm.style = {
548+
fontWeight: "bold",
549+
fontSize: "30px",
550+
};
551+
elm.children.push(newElm);
552+
elm.children.push({
553+
element: "span",
554+
textContent: "",
555+
});
556+
}
543557
if (name == "color" && !exists) {
544558
exists = true;
545559

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1761138085280"}
1+
{"timestamp":"1761139514426"}

0 commit comments

Comments
 (0)