Adding buttons to market
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
Sam Russell
|
||||
Captured Sun
|
||||
11.6.25 - adding default value for "button()" "children" parameter
|
||||
10.29.25 - adding "gap()" and "label()" functions
|
||||
*/
|
||||
|
||||
/* $ NAVIGATION */
|
||||
let oldPushState = history.pushState;
|
||||
history.pushState = function pushState() {
|
||||
@@ -601,7 +608,7 @@ window.span = function (innerText) {
|
||||
return el
|
||||
}
|
||||
|
||||
window.button = function (children) {
|
||||
window.button = function (children = "") {
|
||||
let el = document.createElement("button")
|
||||
quill.setChildren(el, children)
|
||||
quill.render(el)
|
||||
|
||||
Reference in New Issue
Block a user