@innovastudio/contentbuilder 1.3.12 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.3.12",
4
+ "version": "1.3.13",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -923,14 +923,14 @@ button:focus {
923
923
  }
924
924
  #_cbhtml .is-rte-pop.rte-textsetting-options > div,
925
925
  .is-ui .is-rte-pop.rte-textsetting-options > div {
926
- width: 224px;
926
+ width: 233px;
927
927
  flex-direction: column;
928
- padding: 1px 12px 12px 12px;
928
+ padding: 1px 10px 12px 13px;
929
929
  box-sizing: border-box;
930
930
  }
931
931
  #_cbhtml .is-rte-pop.rte-textsetting-options button,
932
932
  .is-ui .is-rte-pop.rte-textsetting-options button {
933
- width: 38px;
933
+ width: 39px;
934
934
  height: 28.2px;
935
935
  margin: 1px;
936
936
  box-shadow: none;
@@ -958,7 +958,7 @@ button:focus {
958
958
  height: 0;
959
959
  }
960
960
  to {
961
- height: 370px;
961
+ height: 372px;
962
962
  }
963
963
  }
964
964
  #_cbhtml .is-rte-pop.rte-textsetting-options.deactive,
@@ -967,12 +967,21 @@ button:focus {
967
967
  }
968
968
  @keyframes textsetting-slide-in {
969
969
  from {
970
- height: 370px;
970
+ height: 372px;
971
971
  }
972
972
  to {
973
973
  height: 0;
974
974
  }
975
975
  }
976
+ #_cbhtml .is-rte-pop.rte-textsetting-options.simple > div,
977
+ .is-ui .is-rte-pop.rte-textsetting-options.simple > div {
978
+ width: 224px;
979
+ padding: 1px 12px 12px 12px;
980
+ }
981
+ #_cbhtml .is-rte-pop.rte-textsetting-options.simple button,
982
+ .is-ui .is-rte-pop.rte-textsetting-options.simple button {
983
+ width: 38px;
984
+ }
976
985
  #_cbhtml .is-rte-pop.rte-textsetting-options.simple .label-fontweight,
977
986
  #_cbhtml .is-rte-pop.rte-textsetting-options.simple .rte-fontweight-options,
978
987
  .is-ui .is-rte-pop.rte-textsetting-options.simple .label-fontweight,
@@ -66945,8 +66945,12 @@ class Rte {
66945
66945
  let col = this.builder.activeCol;
66946
66946
  let tool = this.builder.doc.querySelector('.is-column-tool');
66947
66947
  tool.style.display = '';
66948
- tool.style.top = col.getBoundingClientRect().top - 29 + window.pageYOffset + 'px';
66949
- tool.style.left = col.getBoundingClientRect().left - 1 + 'px';
66948
+
66949
+ if (col) {
66950
+ tool.style.top = col.getBoundingClientRect().top - 29 + window.pageYOffset + 'px';
66951
+ tool.style.left = col.getBoundingClientRect().left - 1 + 'px';
66952
+ }
66953
+
66950
66954
  let tools = this.builder.doc.querySelectorAll('.is-row-tool');
66951
66955
  tools.forEach(tool => {
66952
66956
  tool.style.display = '';
@@ -67023,8 +67027,12 @@ class Rte {
67023
67027
  let col = this.builder.activeCol;
67024
67028
  let tool = this.builder.doc.querySelector('.is-column-tool');
67025
67029
  tool.style.display = '';
67026
- tool.style.top = col.getBoundingClientRect().top - 29 + window.pageYOffset + 'px';
67027
- tool.style.left = col.getBoundingClientRect().left - 1 + 'px';
67030
+
67031
+ if (col) {
67032
+ tool.style.top = col.getBoundingClientRect().top - 29 + window.pageYOffset + 'px';
67033
+ tool.style.left = col.getBoundingClientRect().left - 1 + 'px';
67034
+ }
67035
+
67028
67036
  let tools = this.builder.doc.querySelectorAll('.is-row-tool');
67029
67037
  tools.forEach(tool => {
67030
67038
  tool.style.display = '';