@innovastudio/contentbuilder 1.3.76 → 1.3.77

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.76",
4
+ "version": "1.3.77",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -813,15 +813,15 @@ button:focus-visible {
813
813
  #_cbhtml[toolbarfull] .is-elementrte-tool,
814
814
  .is-ui[toolbarfull] .is-rte-tool,
815
815
  .is-ui[toolbarfull] .is-elementrte-tool {
816
- top: 0 !important;
817
- left: 0 !important;
816
+ top: 0;
817
+ left: 0;
818
818
  width: 100vw;
819
819
  align-items: center;
820
- box-shadow: rgba(0, 0, 0, 0.07) -1px 1px 0px 0px !important;
820
+ box-shadow: rgba(0, 0, 0, 0.07) -1px 1px 0px 0px;
821
821
  }
822
822
  #_cbhtml[toolbarfull] .is-rte-pop,
823
823
  .is-ui[toolbarfull] .is-rte-pop {
824
- box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 1px !important;
824
+ box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 1px;
825
825
  }
826
826
  #_cbhtml .is-rte-pop,
827
827
  .is-ui .is-rte-pop {
@@ -68971,25 +68971,42 @@ class Rte {
68971
68971
  }
68972
68972
  }); // Backward compatible
68973
68973
 
68974
- if (this.builder.toolbar === 'topfull') {
68975
- if (window.getComputedStyle(this.rteTool).getPropertyValue('left') !== '0px') {
68976
- this.builderStuff.insertAdjacentHTML('afterbegin', `
68977
- <style>
68978
- [toolbarfull] .is-rte-tool,
68979
- [toolbarfull] .is-elementrte-tool {
68980
- top: 0 !important;
68981
- left: 0 !important;
68982
- width: 100vw;
68983
- align-items: center;
68984
- box-shadow: rgba(0, 0, 0, 0.07) -1px 1px 0px 0px !important;
68985
- }
68986
- [toolbarfull] .is-rte-pop {
68987
- box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 1px !important;
68988
- }
68989
- </style>
68990
- `);
68991
- }
68974
+ this.builderStuff.insertAdjacentHTML('afterbegin', `
68975
+ <style>
68976
+ #_cbhtml[toolbarfull] .is-rte-tool,
68977
+ #_cbhtml[toolbarfull] .is-elementrte-tool {
68978
+ top: 0;
68979
+ left: 0;
68980
+ width: 100vw;
68981
+ align-items: center;
68982
+ box-shadow: rgba(0, 0, 0, 0.07) -1px 1px 0px 0px;
68983
+ }
68984
+ #_cbhtml[toolbarfull] .is-rte-pop {
68985
+ box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 1px;
68986
+ }
68987
+ </style>
68988
+ `);
68989
+ /*
68990
+ if(this.builder.toolbar === 'topfull') {
68991
+ if(window.getComputedStyle(this.rteTool).getPropertyValue('left') !== '0px') {
68992
+ this.builderStuff.insertAdjacentHTML('afterbegin', `
68993
+ <style>
68994
+ #_cbhtml[toolbarfull] .is-rte-tool,
68995
+ #_cbhtml[toolbarfull] .is-elementrte-tool {
68996
+ top: 0;
68997
+ left: 0;
68998
+ width: 100vw;
68999
+ align-items: center;
69000
+ box-shadow: rgba(0, 0, 0, 0.07) -1px 1px 0px 0px;
69001
+ }
69002
+ #_cbhtml[toolbarfull] .is-rte-pop {
69003
+ box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 1px;
69004
+ }
69005
+ </style>
69006
+ `);
69007
+ }
68992
69008
  }
69009
+ */
68993
69010
 
68994
69011
  if (this.builder.toolbarDisplay !== 'auto') {
68995
69012
  this.showDefaultToolbar(); // first time