@bloklabs/angular 1.11.0 → 1.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloklabs/angular",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "Angular block editor — official Angular bindings for Blok, the headless Notion-like rich text editor. Standalone components that render blocks and save to JSON (APF partial-Ivy bundle).",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JackUait",
@@ -36,7 +36,7 @@
36
36
  "@angular/common": ">=20 <23",
37
37
  "@angular/core": ">=20 <23",
38
38
  "@angular/forms": ">=20 <23",
39
- "@bloklabs/core": "1.11.0"
39
+ "@bloklabs/core": "1.13.0"
40
40
  },
41
41
  "module": "fesm2022/bloklabs-angular.mjs",
42
42
  "typings": "./index.d.ts",
@@ -145,6 +145,19 @@ declare class BlokEditorComponent implements AfterViewInit, DoCheck, ControlValu
145
145
  private appliedInlineToolbar?;
146
146
  private seededEditor;
147
147
  private renderChain;
148
+ /** One collaboration warning per component instance (see the data effect). */
149
+ private collaborationWarned;
150
+ /**
151
+ * The `collaboration` the live editor was CONSTRUCTED with. The key is
152
+ * mount-fixed, so dropping it from `[config]` (`collaboration: on ? {...} :
153
+ * undefined`) cannot turn a live session into a single-player editor —
154
+ * reading the current input instead would let that change fall through into
155
+ * render(), which refuses under collaboration and rejects with nothing
156
+ * surfaced anywhere.
157
+ */
158
+ private constructedCollaboration;
159
+ /** Editor the capture above belongs to (recaptured on recreate). */
160
+ private collaborationCapturedFor;
148
161
  /** Registered by `ControlValueAccessor.registerOnChange` (Angular forms). */
149
162
  private cvaOnChange?;
150
163
  private cvaOnTouched?;