@schneiderelli/cms-runtime 0.1.4 → 0.1.6

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.
@@ -171,8 +171,9 @@
171
171
  .csm-markdown :global(img) {
172
172
  max-width: 100%;
173
173
  height: auto;
174
- display: block;
175
- margin: 0.5rem 0;
174
+ display: inline-block;
175
+ vertical-align: top;
176
+ margin: 0.5rem 1rem 0.5rem 0;
176
177
  }
177
178
 
178
179
  /* Float left - text wraps on right */
@@ -186,11 +187,4 @@
186
187
  float: right;
187
188
  margin: 0.5rem 0 0.5rem 1rem;
188
189
  }
189
-
190
- /* Clear floats */
191
- .csm-markdown :global(p)::after {
192
- content: "";
193
- display: table;
194
- clear: both;
195
- }
196
190
  </style>
package/dist/types.d.ts CHANGED
@@ -19,8 +19,10 @@ export interface Page {
19
19
  navTitle?: string;
20
20
  /** Layout-ID (optional) */
21
21
  layoutId?: string;
22
- /** Die Inhalte */
23
- blocks: Block[];
22
+ /** Die Inhalte - NEW: HTML from TipTap */
23
+ content?: string;
24
+ /** OLD: Die Inhalte als Blocks (deprecated, für Migration) */
25
+ blocks?: Block[];
24
26
  /** Metadata */
25
27
  createdAt?: string;
26
28
  updatedAt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schneiderelli/cms-runtime",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Content System Manager Runtime - Shared types and components for CMS editor and website framework",
5
5
  "scripts": {
6
6
  "dev": "vite dev",