cedar-embeddable-editor 1.4.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+ ## [1.5.0] - - 2025-05-30
8
+
9
+ ### Added
10
+ - Configuration option to control visibility of the preferences-menu.
11
+
12
+ ### Fixed
13
+ - Issue where the preferences menu could override the initial read-only mode configuration.
14
+ - Hide the section-break help icon when no help text is available.
15
+
16
+ ### Changed
17
+ - Text input values now detect HTML context using a DOM parser.
7
18
  ## [1.4.0]
8
19
 
9
20
  ### Added
package/README.md CHANGED
@@ -144,11 +144,13 @@ There are other optional configuration parameters available for controlling vari
144
144
 
145
145
  "collapseStaticComponents": false,
146
146
  "showStaticText": true,
147
-
148
- "readOnlyMode": false
147
+
148
+ "readOnlyMode": false,
149
+ "hideEmptyFields": false,
150
+ "showPreferencesMenu": true
149
151
  }
150
152
  ```
151
-
153
+ Enabling of hiding empty fields is only possible in read-only mode.
152
154
  ## Metadata API
153
155
 
154
156
  CEE Webcomponent includes APIs for exporting metadata externally and importing metadata into CEE.
@@ -287,7 +289,7 @@ In order to use an external language file, specify the config as follows:
287
289
  }
288
290
  ```
289
291
 
290
- In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
292
+ In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
291
293
 
292
294
  In our case the `/assets/i18n-cee/de.json` will be loaded if present.
293
295
 
@@ -295,7 +297,7 @@ If the file is missing, the `/assets/i18n-cee/en.json` will be used.
295
297
 
296
298
  If that file is also missing, the built-in `de` map would be the next. As this does not exist at this moment, the last option, the built-in `en` map will be used.
297
299
 
298
- Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
300
+ Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
299
301
 
300
302
  ### Listening for changes
301
303
 
@@ -316,8 +318,8 @@ An example in Angular is:
316
318
  - `component.ts`:
317
319
  ```typescript
318
320
  logChange(event) {
319
- console.log('CHANGE', event);
320
- }
321
+ console.log('CHANGE', event);
322
+ }
321
323
  ```
322
324
 
323
325
  ### Viewer Mode