@bnsights/bbsf-controls 1.2.24 → 1.2.25
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/README.md +35 -11
- package/fesm2022/bnsights-bbsf-controls.mjs +384 -202
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/controls/MarkdownEditor/markdown-editor.component.d.ts +56 -64
- package/lib/modules/bbsf-editors.module.d.ts +7 -9
- package/package.json +34 -6
- package/src/lib/assets/Style.scss +7 -7
- package/src/lib/assets/ace-builds/ace.js +0 -23
- package/src/lib/assets/ace-builds/mode-markdown.js +0 -8
- package/src/lib/assets/ngx-markdown-editor/highlight.js/agate.min.css +0 -17
- package/src/lib/assets/ngx-markdown-editor/highlight.js/highlight.min.js +0 -2
- package/src/lib/assets/ngx-markdown-editor/marked.min.js +0 -6
package/README.md
CHANGED
|
@@ -327,11 +327,19 @@ import { BBSFFormsBasicModule, BBSFUploadsModule } from '@bnsights/bbsf-controls
|
|
|
327
327
|
|
|
328
328
|
---
|
|
329
329
|
|
|
330
|
-
## 🔧 Troubleshooting
|
|
331
|
-
|
|
332
|
-
###
|
|
333
|
-
|
|
334
|
-
|
|
330
|
+
## 🔧 Troubleshooting
|
|
331
|
+
|
|
332
|
+
### Markdown editor assets and behavior
|
|
333
|
+
|
|
334
|
+
`BBSF-MarkdownEditor` is now powered by Tiptap and no longer depends on the previous third-party markdown editor, Ace, runtime markdown scripts, or copied markdown editor assets.
|
|
335
|
+
|
|
336
|
+
The control keeps the BBSF API and form integration, but the old split preview panel, `customRender`, and built-in image upload behavior are no longer provided by the editor engine.
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
### Error: `export 'DOCUMENT' (imported as 'DOCUMENT') was not found in '@angular/core'`
|
|
341
|
+
|
|
342
|
+
**Problem:** This error occurs when using Angular 19+ with the `BBSFEditorsModule` (which uses `@kolkov/angular-editor`). Angular 19's build system tries to process the `@kolkov/angular-editor` package and encounters compatibility issues.
|
|
335
343
|
|
|
336
344
|
**Solution 1: Install @kolkov/angular-editor in your consuming app (Recommended)**
|
|
337
345
|
|
|
@@ -390,11 +398,27 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
390
398
|
|
|
391
399
|
---
|
|
392
400
|
|
|
393
|
-
## Change Log
|
|
394
|
-
|
|
395
|
-
## 1.2.
|
|
396
|
-
|
|
397
|
-
=====================
|
|
401
|
+
## Change Log
|
|
402
|
+
|
|
403
|
+
## 1.2.26 / 15-06-2026
|
|
404
|
+
|
|
405
|
+
=====================
|
|
406
|
+
|
|
407
|
+
- Added explicit package exports for controls SCSS assets so Angular browser and application builders can resolve deep style imports from consuming packages.
|
|
408
|
+
- Kept backward compatibility for extensionless Sass imports such as `@bnsights/bbsf-controls/src/lib/assets/sass/variables`.
|
|
409
|
+
- Marked CSS, SCSS, and packaged assets as side-effectful so published global styles are preserved by consumers.
|
|
410
|
+
|
|
411
|
+
## 1.2.25 / 15-06-2026
|
|
412
|
+
|
|
413
|
+
=====================
|
|
414
|
+
|
|
415
|
+
- Replaced the BBSF MarkdownEditor engine with a Tiptap-powered markdown editor while keeping the existing `BBSF-MarkdownEditor` selector, options model, form integration, validation, and `BBSFEditorsModule` export.
|
|
416
|
+
- Removed the old markdown editor runtime asset dependency path, including Ace and copied markdown editor assets.
|
|
417
|
+
- Added Tiptap and PrimeIcons dependencies for the new MarkdownEditor toolbar and markdown serialization.
|
|
418
|
+
|
|
419
|
+
## 1.2.24 / 14-06-2026
|
|
420
|
+
|
|
421
|
+
=====================
|
|
398
422
|
|
|
399
423
|
- Add new file-upload props for override labels
|
|
400
424
|
{
|
|
@@ -421,7 +445,7 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
421
445
|
- Fixed package stylesheet imports for Angular esbuild application builder compatibility.
|
|
422
446
|
- Replaced webpack-era `/node_modules/...` SCSS imports in `src/lib/assets/Style.scss` with relative package imports.
|
|
423
447
|
- Removed `.css` extensions from SCSS imports so Sass resolves and inlines vendor styles instead of leaving CSS `@import` statements for esbuild.
|
|
424
|
-
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input,
|
|
448
|
+
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input, markdown editor styles, and angular-datetime-picker styles.
|
|
425
449
|
|
|
426
450
|
## 1.2.22 / 06-05-2026
|
|
427
451
|
|