@flogeez/angular-tiptap-editor 3.7.0 → 3.8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to `@flogeez/angular-tiptap-editor` will be documented in th
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), with the exception that the major version is specifically aligned with the major version of [Tiptap](https://tiptap.dev).
7
7
 
8
+ ## [3.8.0] - 2026-10-27
9
+
10
+ ### Security
11
+
12
+ - **CSS Injection Through Color Values**: A text color or highlight color carrying extra CSS declarations (e.g. `red; position: fixed; inset: 0`) reached the inline `style` of the rendered marks, from HTML or JSON content, pasted HTML, or `setColor` / `setHighlight` called with untrusted values, and was re-emitted by `getHTML()`. Tiptap fixed it in 3.31.4 by rejecting style values containing `;`, `{` or `}`, and the library now requires that version (see below). Regression tests cover HTML, JSON and command inputs. (#85)
13
+
14
+ ### Changed
15
+
16
+ - **Tiptap 3.31.4 or Later Required**: Every `@tiptap/*` peer dependency now requires `^3.31.4` (previously `^3.0.0`), so apps cannot install the library with a Tiptap version vulnerable to the CSS injection above. Apps that pin an older Tiptap 3 must update it: npm 7+ refuses the install until then, pnpm and yarn warn. It stays within Tiptap 3, so no other change is needed. (#85)
17
+
8
18
  ## [3.7.0] - 2026-10-26
9
19
 
10
20
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flogeez/angular-tiptap-editor",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "A modern, customizable rich-text editor for Angular (18+), built with Tiptap and featuring complete internationalization support",
5
5
  "keywords": [
6
6
  "angular",
@@ -27,17 +27,17 @@
27
27
  "@angular/core": ">=18.0.0",
28
28
  "@angular/forms": ">=18.0.0",
29
29
  "@fontsource/material-symbols-outlined": "^5.0.0",
30
- "@tiptap/core": "^3.0.0",
31
- "@tiptap/starter-kit": "^3.0.0",
32
- "@tiptap/extensions": "^3.0.0",
33
- "@tiptap/extension-superscript": "^3.0.0",
34
- "@tiptap/extension-subscript": "^3.0.0",
35
- "@tiptap/extension-text-align": "^3.0.0",
36
- "@tiptap/extension-highlight": "^3.0.0",
37
- "@tiptap/extension-table": "^3.0.0",
38
- "@tiptap/extension-color": "^3.0.0",
39
- "@tiptap/extension-text-style": "^3.0.0",
40
- "@tiptap/pm": "^3.0.0",
30
+ "@tiptap/core": "^3.31.4",
31
+ "@tiptap/starter-kit": "^3.31.4",
32
+ "@tiptap/extensions": "^3.31.4",
33
+ "@tiptap/extension-superscript": "^3.31.4",
34
+ "@tiptap/extension-subscript": "^3.31.4",
35
+ "@tiptap/extension-text-align": "^3.31.4",
36
+ "@tiptap/extension-highlight": "^3.31.4",
37
+ "@tiptap/extension-table": "^3.31.4",
38
+ "@tiptap/extension-color": "^3.31.4",
39
+ "@tiptap/extension-text-style": "^3.31.4",
40
+ "@tiptap/pm": "^3.31.4",
41
41
  "@intevation/tiptap-extension-office-paste": "^0.1.2",
42
42
  "tippy.js": "^6.3.7"
43
43
  },