codevdesign 1.0.19 → 1.0.20

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.
@@ -155,6 +155,37 @@
155
155
  theme_advanced_resizing: true,
156
156
  theme_advanced_resizing_use_cookie: false,
157
157
  toolbar: this.toolbarEffective,
158
+ content_style: `
159
+ @page {
160
+ size: 8.5in 11in;
161
+ margin: 0.5in;
162
+ }
163
+
164
+ @media print {
165
+ html, body {
166
+ margin: 0;
167
+ padding: 0;
168
+ }
169
+
170
+ body {
171
+ width: 8.5in;
172
+ min-height: 11in;
173
+ box-sizing: border-box;
174
+ }
175
+
176
+ .mce-content-body {
177
+ max-width: 7.5in; /* un peu plus large si tu veux */
178
+ margin: 0 auto;
179
+ font-size: 11pt;
180
+ line-height: 1.3;
181
+ }
182
+
183
+ img, table {
184
+ max-width: 100%;
185
+ height: auto;
186
+ }
187
+ }
188
+ `,
158
189
 
159
190
  // --- File picker seulement si images permises ---
160
191
  ...(this.autoriserImage ? {} : { file_picker_types: 'image' }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codevdesign",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Composants Vuetify 3 pour les projets Codev",
5
5
  "files": [
6
6
  "./**/*.vue",