1.4.0 • Published 8 months ago
@dytab/ngx-blocknote v1.4.0
ngx-blocknote
This project is an Angular implementation of BlockNote. It aims to provide the same functionality and appearance as the original React project but with the added benefit of being fully integrated into the Angular framework.
Installation
npm install @dytab/ngx-blocknote
Basic Setup
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { BnaEditorComponent } from '@dytab/ngx-blocknote';
@Component({
standalone: true,
imports: [CommonModule, BnaEditorComponent],
template: ` <bna-editor (contentChanged)="readTextFromEditor($event)" /> `,
})
export class BasicSetupExample {
editorContent!: Block[];
readTextFromEditor(blocks: Block[]) {
this.editorContent = blocks;
}
}
Further Examples
For more examples and detailed guides, please visit the documentation website.
Features
Blocks | Status |
---|---|
Headings | ✅ |
Basic Blocks | ✅ |
Table | ✅ |
Media | ✅ |
Emojis | ❌ |
Formatting Toolbar | Status |
---|---|
Block Type Select | ✅ |
Bold | ✅ |
Italic | ✅ |
Unterline | ✅ |
Strikethrough | ✅ |
Align text left | ✅️ |
Align text center | ✅ |
Align text right | ✅️ |
Text Colors | ✅️ |
Nest Block | ❌ |
Unnest Block | ❌️ |
Create Link | ✅️ |
License
This project is distributed under the terms of the MIT License.
1.3.5
8 months ago
1.4.0
8 months ago
1.3.4
8 months ago
1.3.3
9 months ago
1.3.2
9 months ago
1.3.1
9 months ago
1.3.0
9 months ago
1.2.1
9 months ago
1.2.0
9 months ago
1.1.0
9 months ago
1.0.3
9 months ago
1.0.2
9 months ago
1.0.1
9 months ago
1.0.0
10 months ago
0.20.0
10 months ago
0.19.0
10 months ago
0.18.1
10 months ago
0.18.0
10 months ago
0.17.0
10 months ago