@compill/admin 1.0.41 → 1.0.42
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/index.cjs.js +5 -1
- package/index.esm.js +5 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -1162,14 +1162,18 @@ function Internal({
|
|
1162
1162
|
flexCol: true,
|
1163
1163
|
gap: "8",
|
1164
1164
|
flexGrow: true,
|
1165
|
-
children: [(editor === null || editor === void 0 ? void 0 : editor.type) != "textarea" &&
|
1165
|
+
children: [(editor === null || editor === void 0 ? void 0 : editor.type) != "textarea" &&
|
1166
|
+
// TODO Find a way to make this editor shrink in width when resizing the window...
|
1167
|
+
jsxRuntime.jsx(PageContentEditor, {
|
1166
1168
|
name: "content",
|
1169
|
+
w: editorMaxW,
|
1167
1170
|
maxW: editorMaxW,
|
1168
1171
|
minW: "144"
|
1169
1172
|
}), (editor === null || editor === void 0 ? void 0 : editor.type) == "textarea" && jsxRuntime.jsx(form.TextArea, {
|
1170
1173
|
name: editor === null || editor === void 0 ? void 0 : editor.name,
|
1171
1174
|
maxW: editorMaxW,
|
1172
1175
|
minW: editorMaxW,
|
1176
|
+
w: editorMaxW,
|
1173
1177
|
minH: "128",
|
1174
1178
|
rows: 25,
|
1175
1179
|
bgColor: "white",
|
package/index.esm.js
CHANGED
@@ -1153,14 +1153,18 @@ function Internal({
|
|
1153
1153
|
flexCol: true,
|
1154
1154
|
gap: "8",
|
1155
1155
|
flexGrow: true,
|
1156
|
-
children: [(editor === null || editor === void 0 ? void 0 : editor.type) != "textarea" &&
|
1156
|
+
children: [(editor === null || editor === void 0 ? void 0 : editor.type) != "textarea" &&
|
1157
|
+
// TODO Find a way to make this editor shrink in width when resizing the window...
|
1158
|
+
jsx(PageContentEditor, {
|
1157
1159
|
name: "content",
|
1160
|
+
w: editorMaxW,
|
1158
1161
|
maxW: editorMaxW,
|
1159
1162
|
minW: "144"
|
1160
1163
|
}), (editor === null || editor === void 0 ? void 0 : editor.type) == "textarea" && jsx(TextArea, {
|
1161
1164
|
name: editor === null || editor === void 0 ? void 0 : editor.name,
|
1162
1165
|
maxW: editorMaxW,
|
1163
1166
|
minW: editorMaxW,
|
1167
|
+
w: editorMaxW,
|
1164
1168
|
minH: "128",
|
1165
1169
|
rows: 25,
|
1166
1170
|
bgColor: "white",
|