codexly-ui 0.12.39 → 0.12.41
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/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -9037,10 +9037,10 @@ class ClxEditorComponent {
|
|
|
9037
9037
|
* needing to know about that app's catalog backend. Resolve to undefined/null to cancel. */
|
|
9038
9038
|
imagePicker = input(undefined, ...(ngDevMode ? [{ debugName: "imagePicker" }] : /* istanbul ignore next */ []));
|
|
9039
9039
|
/** Adds an extra toolbar button (only rendered when provided) that inserts a raw HTML block at
|
|
9040
|
-
* the cursor — e.g. an ERP's "
|
|
9041
|
-
*
|
|
9042
|
-
*
|
|
9043
|
-
*
|
|
9040
|
+
* the cursor — e.g. an ERP's own "insert product card" flow, where the result is a whole
|
|
9041
|
+
* <table> block, not a single <img>, so imagePicker's fixed <img>-only output doesn't fit. The
|
|
9042
|
+
* returned html is inserted as-is via insertHTML, no sanitization beyond what
|
|
9043
|
+
* insertHTML/_sanitizePaste already does for pasted content. */
|
|
9044
9044
|
blockPicker = input(undefined, ...(ngDevMode ? [{ debugName: "blockPicker" }] : /* istanbul ignore next */ []));
|
|
9045
9045
|
// ── View ─────────────────────────────────────────────────────────────────
|
|
9046
9046
|
_bodyEl;
|
|
@@ -9499,7 +9499,7 @@ class ClxEditorComponent {
|
|
|
9499
9499
|
|
|
9500
9500
|
<div class="clx-editor-divider mx-1"></div>
|
|
9501
9501
|
|
|
9502
|
-
<!-- Custom HTML block insert (e.g. an ERP's "insert
|
|
9502
|
+
<!-- Custom HTML block insert (e.g. an ERP's "insert product card" flow) -->
|
|
9503
9503
|
@if (blockPicker(); as picker) {
|
|
9504
9504
|
<button
|
|
9505
9505
|
clx-button
|
|
@@ -9705,7 +9705,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
9705
9705
|
|
|
9706
9706
|
<div class="clx-editor-divider mx-1"></div>
|
|
9707
9707
|
|
|
9708
|
-
<!-- Custom HTML block insert (e.g. an ERP's "insert
|
|
9708
|
+
<!-- Custom HTML block insert (e.g. an ERP's "insert product card" flow) -->
|
|
9709
9709
|
@if (blockPicker(); as picker) {
|
|
9710
9710
|
<button
|
|
9711
9711
|
clx-button
|