@flogeez/angular-tiptap-editor 0.1.0 → 0.2.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- # NgxTiptapEditor
1
+ # Angular Tiptap Editor
2
2
 
3
3
  A modern, customizable rich-text editor for Angular applications, built with Tiptap and featuring complete internationalization support.
4
4
 
@@ -16,7 +16,7 @@ A modern, customizable rich-text editor for Angular applications, built with Tip
16
16
  ## 📦 Installation
17
17
 
18
18
  ```bash
19
- npm install angular-tiptap-editor
19
+ npm install @flogeez/angular-tiptap-editor
20
20
  ```
21
21
 
22
22
  ### CSS Styles
@@ -27,7 +27,7 @@ Add the required CSS to your `angular.json` file in the `styles` array:
27
27
  {
28
28
  "styles": [
29
29
  ...
30
- "node_modules/angular-tiptap-editor/src/lib/styles/index.css",
30
+ "node_modules/@flogeez/angular-tiptap-editor/src/lib/styles/index.css",
31
31
  ...
32
32
  ]
33
33
  }
@@ -39,14 +39,14 @@ Add the required CSS to your `angular.json` file in the `styles` array:
39
39
 
40
40
  ```typescript
41
41
  import { Component } from "@angular/core";
42
- import { NgxTiptapEditorComponent } from "angular-tiptap-editor";
42
+ import { AngularTiptapEditorComponent } from "@flogeez/angular-tiptap-editor";
43
43
 
44
44
  @Component({
45
45
  selector: "app-example",
46
46
  standalone: true,
47
- imports: [NgxTiptapEditorComponent],
47
+ imports: [AngularTiptapEditorComponent],
48
48
  template: `
49
- <ngx-tiptap-editor
49
+ <angular-tiptap-editor
50
50
  [content]="content"
51
51
  (contentChange)="onContentChange($event)"
52
52
  />
@@ -66,14 +66,14 @@ export class ExampleComponent {
66
66
 
67
67
  ```typescript
68
68
  import { Component } from "@angular/core";
69
- import { NgxTiptapEditorComponent } from "angular-tiptap-editor";
69
+ import { AngularTiptapEditorComponent } from "@flogeez/angular-tiptap-editor";
70
70
 
71
71
  @Component({
72
72
  selector: "app-advanced",
73
73
  standalone: true,
74
- imports: [NgxTiptapEditorComponent],
74
+ imports: [AngularTiptapEditorComponent],
75
75
  template: `
76
- <ngx-tiptap-editor
76
+ <angular-tiptap-editor
77
77
  [content]="content"
78
78
  [toolbar]="toolbarConfig"
79
79
  [bubbleMenu]="bubbleMenuConfig"
@@ -117,15 +117,15 @@ export class AdvancedComponent {
117
117
  ```typescript
118
118
  import { Component } from "@angular/core";
119
119
  import { FormControl, ReactiveFormsModule } from "@angular/forms";
120
- import { NgxTiptapEditorComponent } from "angular-tiptap-editor";
120
+ import { AngularTiptapEditorComponent } from "@flogeez/angular-tiptap-editor";
121
121
 
122
122
  @Component({
123
123
  selector: "app-form",
124
124
  standalone: true,
125
- imports: [NgxTiptapEditorComponent, ReactiveFormsModule],
125
+ imports: [AngularTiptapEditorComponent, ReactiveFormsModule],
126
126
  template: `
127
127
  <form>
128
- <ngx-tiptap-editor
128
+ <angular-tiptap-editor
129
129
  [formControl]="contentControl"
130
130
  placeholder="Enter your content here..."
131
131
  />
@@ -222,13 +222,13 @@ The editor supports English and French with automatic browser language detection
222
222
 
223
223
  ```typescript
224
224
  // Force English
225
- <ngx-tiptap-editor [locale]="'en'" />
225
+ <angular-tiptap-editor [locale]="'en'" />
226
226
 
227
227
  // Force French
228
- <ngx-tiptap-editor [locale]="'fr'" />
228
+ <angular-tiptap-editor [locale]="'fr'" />
229
229
 
230
230
  // Auto-detect (default)
231
- <ngx-tiptap-editor />
231
+ <angular-tiptap-editor />
232
232
  ```
233
233
 
234
234
  ## 🔧 Development
@@ -265,16 +265,16 @@ Contributions are welcome! Please feel free to submit a Pull Request.
265
265
 
266
266
  ## 📞 Support
267
267
 
268
- - 🐛 [Report Issues](https://github.com/flogeez/ngx-tiptap-editor/issues)
269
- - 💡 [Feature Requests](https://github.com/flogeez/ngx-tiptap-editor/issues)
270
- - 📖 [Documentation](https://github.com/flogeez/ngx-tiptap-editor#readme)
268
+ - 🐛 [Report Issues](https://github.com/flogeez/angular-tiptap-editor/issues)
269
+ - 💡 [Feature Requests](https://github.com/flogeez/angular-tiptap-editor/issues)
270
+ - 📖 [Documentation](https://github.com/flogeez/angular-tiptap-editor#readme)
271
271
 
272
272
  ## 🔗 Links
273
273
 
274
274
  - 🎮 [Live Demo](https://flogeez.github.io/angular-tiptap-editor/)
275
275
  - 📖 [Tiptap Documentation](https://tiptap.dev/)
276
276
  - 🅰️ [Angular Documentation](https://angular.dev/)
277
- - 📦 [NPM Package](https://www.npmjs.com/package/angular-tiptap-editor)
277
+ - 📦 [NPM Package](https://www.npmjs.com/package/@flogeez/angular-tiptap-editor)
278
278
 
279
279
  ---
280
280
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flogeez/angular-tiptap-editor",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
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",
@@ -26,6 +26,7 @@
26
26
  "@angular/common": ">=19.0.0",
27
27
  "@angular/core": ">=19.0.0",
28
28
  "@angular/forms": ">=19.0.0",
29
+ "@fontsource/material-symbols-outlined": "^5.0.0",
29
30
  "@tiptap/core": "^2.0.0",
30
31
  "@tiptap/starter-kit": "^2.0.0",
31
32
  "@tiptap/extension-placeholder": "^2.0.0",
@@ -1,4 +1,5 @@
1
1
  @import "./bubble-menu.global.css";
2
+ @import "./material-symbols.css";
2
3
 
3
4
  /* Styles pour les liens */
4
5
  .tiptap-link {
@@ -0,0 +1,16 @@
1
+ .material-symbols-outlined {
2
+ font-family: "Material Symbols Outlined";
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ font-size: 24px;
6
+ line-height: 1;
7
+ letter-spacing: normal;
8
+ text-transform: none;
9
+ display: inline-block;
10
+ white-space: nowrap;
11
+ word-wrap: normal;
12
+ direction: ltr;
13
+ -webkit-font-feature-settings: "liga";
14
+ -webkit-font-smoothing: antialiased;
15
+ font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
16
+ }