Skip to content

chore(release): 3.3.0 - #646

Merged
kolkov merged 3 commits into
mainfrom
release/3.3.0
Sep 30, 2026
Merged

kolkov merged 3 commits into
mainfrom
release/3.3.0

Conversation

@kolkov

@kolkov kolkov commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • feat(sanitizer): Add AE_SANITIZER injection token for custom HTML sanitization
    • provideEditorSanitizer() convenience function for app-level or per-component override
    • Fixes non-ASCII character encoding (Cyrillic, Chinese, Arabic preserved with DOMPurify)
    • Zero new library dependencies — users bring their own sanitizer
    • New public API: AeSanitizeFn, AE_SANITIZER, provideEditorSanitizer()
  • docs(demo): Showcase DOMPurify sanitizer and custom button with reactive formattingState

Test plan

  • Build: npm run build-prod:lib — clean
  • Tests: 221 pass (Vitest)
  • Lint: 0 errors
  • Manual: DOMPurify preserves Cyrillic in Form Value
  • Manual: Custom "U?" button highlights with reactive state

…itization

- Add AeSanitizeFn type, AE_SANITIZER InjectionToken with DomSanitizer factory default
- Add provideEditorSanitizer() convenience function for app-level override
- Replace direct DomSanitizer calls with injected sanitizer in 4 places
- Support per-component override via Angular hierarchical injector
- Add 7 new tests for custom sanitizer (221 total)
- Document custom sanitization with DOMPurify example in README
…tate

- Add provideEditorSanitizer with DOMPurify to demo app module
- Add custom button with reactive formattingState (underline indicator)
- Add section headings describing each editor's features
- Add dompurify as dev dependency for demo app
@codecov

codecov Bot commented Sep 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.79%. Comparing base (0b74fa4) to head (cb407bb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #646      +/-   ##
==========================================
+ Coverage   82.24%   82.79%   +0.55%     
==========================================
  Files          14       14              
  Lines         901      901              
  Branches      219      213       -6     
==========================================
+ Hits          741      746       +5     
+ Misses        137      134       -3     
+ Partials       23       21       -2     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kolkov
kolkov merged commit 718a3c8 into main Sep 30, 2026
3 checks passed
@kolkov
kolkov deleted the release/3.3.0 branch September 30, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant