@pie-element/rubric 8.1.2-next.10 → 8.1.2-next.11

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.
@@ -38114,6 +38114,8 @@ var wJ = (e) => {
38114
38114
  classes: t
38115
38115
  }) });
38116
38116
  }, TJ = D("div")(() => ({
38117
+ height: 0,
38118
+ overflow: "visible",
38117
38119
  "& .defaultToolbar": {
38118
38120
  display: "flex",
38119
38121
  width: "100%",
@@ -38149,13 +38151,14 @@ var wJ = (e) => {
38149
38151
  color: "var(--white)"
38150
38152
  },
38151
38153
  "& .toolbar": {
38152
- position: "absolute",
38154
+ position: "relative",
38155
+ top: "5px",
38153
38156
  zIndex: 20,
38154
38157
  cursor: "pointer",
38155
38158
  justifyContent: "space-between",
38156
38159
  background: "var(--editable-html-toolbar-bg, #efefef)",
38157
38160
  minWidth: "280px",
38158
- margin: "5px 0 0 0",
38161
+ margin: 0,
38159
38162
  padding: "2px",
38160
38163
  boxShadow: "0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12)",
38161
38164
  boxSizing: "border-box",
@@ -38164,7 +38167,10 @@ var wJ = (e) => {
38164
38167
  pointerEvents: "none"
38165
38168
  },
38166
38169
  "& .toolbarWithNoDone": { minWidth: "265px" },
38167
- "& .toolbarTop": { top: "-45px" },
38170
+ "& .toolbarTop": {
38171
+ position: "absolute",
38172
+ top: "-45px"
38173
+ },
38168
38174
  "& .toolbarRight": { right: 0 },
38169
38175
  "& .fullWidth": { width: "100%" },
38170
38176
  "& .hidden": { visibility: "hidden" },
@@ -44836,6 +44842,8 @@ var u4 = QT.create({
44836
44842
  "--red-light": "#ffebe5",
44837
44843
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
44838
44844
  }, b4 = (e) => ({
44845
+ role: "textbox",
44846
+ "data-pie-editor": "true",
44839
44847
  spellcheck: e ? "true" : "false",
44840
44848
  autocorrect: e ? "on" : "off",
44841
44849
  autocapitalize: e ? "on" : "off"
@@ -45002,7 +45010,10 @@ var u4 = QT.create({
45002
45010
  h?.setEditable(!e.disabled);
45003
45011
  }, [e.disabled, h]), xt(() => {
45004
45012
  if (!h) return;
45005
- let e = h.options?.editorProps, t = b4(m);
45013
+ let e = h.options?.editorProps, t = {
45014
+ ...e?.attributes,
45015
+ ...b4(m)
45016
+ };
45006
45017
  e?.attributes?.spellcheck !== t.spellcheck && h.setOptions({ editorProps: {
45007
45018
  ...e,
45008
45019
  attributes: t