@kolkov/angular-editor 2.2.0-beta.0 → 3.0.0-beta.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.
- package/README.md +10 -0
- package/assets/FontAwesome.otf +0 -0
- package/assets/fontawesome-webfont.eot +0 -0
- package/assets/fontawesome-webfont.svg +2671 -0
- package/assets/fontawesome-webfont.ttf +0 -0
- package/assets/fontawesome-webfont.woff +0 -0
- package/assets/fontawesome-webfont.woff2 +0 -0
- package/esm2020/lib/ae-button/ae-button.component.mjs +5 -5
- package/esm2020/lib/ae-select/ae-select.component.mjs +5 -5
- package/esm2020/lib/ae-toolbar-set/ae-toolbar-set.component.mjs +5 -5
- package/esm2020/lib/angular-editor-toolbar.component.mjs +8 -8
- package/esm2020/lib/angular-editor.component.mjs +10 -10
- package/esm2020/lib/angular-editor.module.mjs +7 -5
- package/esm2020/lib/angular-editor.service.mjs +4 -4
- package/fesm2015/kolkov-angular-editor.mjs +31 -29
- package/fesm2015/kolkov-angular-editor.mjs.map +1 -1
- package/fesm2020/kolkov-angular-editor.mjs +31 -29
- package/fesm2020/kolkov-angular-editor.mjs.map +1 -1
- package/{index.d.ts → kolkov-angular-editor.d.ts} +0 -0
- package/lib/ae-button/ae-button.component.d.ts +1 -1
- package/lib/ae-select/ae-select.component.d.ts +1 -1
- package/lib/ae-toolbar-set/ae-toolbar-set.component.d.ts +1 -1
- package/lib/angular-editor-toolbar.component.d.ts +1 -1
- package/lib/angular-editor.component.d.ts +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -126,6 +126,16 @@ editorConfig: AngularEditorConfig = {
|
|
|
126
126
|
```
|
|
127
127
|
For `ngModel` to work, you must import `FormsModule` from `@angular/forms`, or for `formControlName`, you must import `ReactiveFormsModule` from `@angular/forms`
|
|
128
128
|
|
|
129
|
+
To serve the fontawesome files, ensure that your angular.json contains the following asset configuration:
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
{
|
|
133
|
+
"glob": "**/*",
|
|
134
|
+
"input": "./node_modules/@kolkov/angular-editor/assets/",
|
|
135
|
+
"output": "./assets/fonts/"
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
129
139
|
### Custom buttons
|
|
130
140
|
|
|
131
141
|
You can define your custom buttons with custom actions using executeCommandFn. It accepts commands from [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand).
|
|
Binary file
|
|
Binary file
|