d yet
    if (gridColumnsOrRows.value == "") {
      gridColumnsOrRows.value = "horizontal";
      frameFormUpdated();
    }
  }

  function gridMarginsAllChanged() {
    let value = gridMarginsAll.value;
    gridMarginLeft.value = value;
    gridMarginRight.value = value;
    gridMarginTop.value = value;
    gridMarginBottom.value = value;
  }

  function frameFormUpdated() {
    let gridSpanContent = []
    for (let i = 0; i < gridSpanTable.rows.length - 1; ++i) {
      let spanSelect = document.getElemen