@flogeez/angular-tiptap-editor 0.2.1 → 0.2.3

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": "@flogeez/angular-tiptap-editor",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "A modern, customizable rich-text editor for Angular (19+), built with Tiptap and featuring complete internationalization support",
5
5
  "keywords": [
6
6
  "angular",
@@ -22,33 +22,19 @@
22
22
  color: #854d0e;
23
23
  }
24
24
 
25
- /* Styles pour les alignements de texte */
26
- .tiptap-editor p[style*="text-align: center"] {
27
- text-align: center;
28
- }
29
-
30
- .tiptap-editor p[style*="text-align: right"] {
31
- text-align: right;
32
- }
33
-
34
- .tiptap-editor p[style*="text-align: justify"] {
35
- text-align: justify;
25
+ /* Styles pour les alignements de texte - Tiptap utilise des classes */
26
+ .ProseMirror .has-text-align-left {
27
+ text-align: left;
36
28
  }
37
29
 
38
- .tiptap-editor h1[style*="text-align: center"],
39
- .tiptap-editor h2[style*="text-align: center"],
40
- .tiptap-editor h3[style*="text-align: center"] {
30
+ .ProseMirror .has-text-align-center {
41
31
  text-align: center;
42
32
  }
43
33
 
44
- .tiptap-editor h1[style*="text-align: right"],
45
- .tiptap-editor h2[style*="text-align: right"],
46
- .tiptap-editor h3[style*="text-align: right"] {
34
+ .ProseMirror .has-text-align-right {
47
35
  text-align: right;
48
36
  }
49
37
 
50
- .tiptap-editor h1[style*="text-align: justify"],
51
- .tiptap-editor h2[style*="text-align: justify"],
52
- .tiptap-editor h3[style*="text-align: justify"] {
38
+ .ProseMirror .has-text-align-justify {
53
39
  text-align: justify;
54
40
  }
@@ -10,6 +10,7 @@
10
10
  white-space: nowrap;
11
11
  word-wrap: normal;
12
12
  direction: ltr;
13
+ font-feature-settings: "liga";
13
14
  -webkit-font-feature-settings: "liga";
14
15
  -webkit-font-smoothing: antialiased;
15
16
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;