@ixo/editor 1.27.1 → 2.0.0

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/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  useBlocknoteHandlers,
20
20
  useCreateCollaborativeIxoEditor,
21
21
  useCreateIxoEditor
22
- } from "./chunk-YDHPP6BI.mjs";
22
+ } from "./chunk-3BZ6OPAK.mjs";
23
23
  export {
24
24
  ApiRequestBlockSpec,
25
25
  AuthzExecActionTypes,
@@ -21,7 +21,7 @@ import {
21
21
  useCreateIxoEditor,
22
22
  usePanel,
23
23
  usePanelStore
24
- } from "../chunk-YDHPP6BI.mjs";
24
+ } from "../chunk-3BZ6OPAK.mjs";
25
25
  export {
26
26
  ApiRequestBlockSpec,
27
27
  AuthzExecActionTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.27.1",
3
+ "version": "2.0.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/style-core.css CHANGED
@@ -11,6 +11,9 @@
11
11
  }
12
12
 
13
13
  .ixo-editor .bn-editor {
14
+ /* Centered content with max-width constraint */
15
+ max-width: 900px;
16
+ margin: 0 auto; /* Center the content */
14
17
  border-radius: 0px !important;
15
18
  }
16
19
 
@@ -226,7 +229,21 @@
226
229
  }
227
230
 
228
231
  /* Responsive adjustments */
232
+ @media (max-width: 1024px) and (min-width: 769px) {
233
+ .ixo-editor .bn-editor {
234
+ /* On tablets, keep centered with slightly reduced max-width */
235
+ max-width: 90%;
236
+ margin: 0 auto;
237
+ }
238
+ }
239
+
229
240
  @media (max-width: 768px) {
241
+ .ixo-editor .bn-editor {
242
+ /* On mobile, use full width with standard padding */
243
+ max-width: calc(100% - 32px);
244
+ margin: 0 auto;
245
+ }
246
+
230
247
  .ixo-editor .bn-container {
231
248
  padding: 15px;
232
249
  }
package/style-mantine.css CHANGED
@@ -108,6 +108,9 @@
108
108
  }
109
109
 
110
110
  .ixo-editor .bn-editor {
111
+ /* Centered content with max-width constraint */
112
+ max-width: 900px;
113
+ margin: 0 auto; /* Center the content */
111
114
  border-radius: 0px !important;
112
115
  }
113
116
 
@@ -323,7 +326,21 @@
323
326
  }
324
327
 
325
328
  /* Responsive adjustments */
329
+ @media (max-width: 1024px) and (min-width: 769px) {
330
+ .ixo-editor .bn-editor {
331
+ /* On tablets, keep centered with slightly reduced max-width */
332
+ max-width: 90%;
333
+ margin: 0 auto;
334
+ }
335
+ }
336
+
326
337
  @media (max-width: 768px) {
338
+ .ixo-editor .bn-editor {
339
+ /* On mobile, use full width with standard padding */
340
+ max-width: calc(100% - 32px);
341
+ margin: 0 auto;
342
+ }
343
+
327
344
  .ixo-editor .bn-container {
328
345
  padding: 15px;
329
346
  }
package/style.css CHANGED
@@ -108,6 +108,9 @@
108
108
  }
109
109
 
110
110
  .ixo-editor .bn-editor {
111
+ /* Centered content with max-width constraint */
112
+ max-width: 900px;
113
+ margin: 0 auto; /* Center the content */
111
114
  border-radius: 0px !important;
112
115
  }
113
116
 
@@ -323,7 +326,21 @@
323
326
  }
324
327
 
325
328
  /* Responsive adjustments */
329
+ @media (max-width: 1024px) and (min-width: 769px) {
330
+ .ixo-editor .bn-editor {
331
+ /* On tablets, keep centered with slightly reduced max-width */
332
+ max-width: 90%;
333
+ margin: 0 auto;
334
+ }
335
+ }
336
+
326
337
  @media (max-width: 768px) {
338
+ .ixo-editor .bn-editor {
339
+ /* On mobile, use full width with standard padding */
340
+ max-width: calc(100% - 32px);
341
+ margin: 0 auto;
342
+ }
343
+
327
344
  .ixo-editor .bn-container {
328
345
  padding: 15px;
329
346
  }