Description
slate-angular is the Angular view layer for Slate, a framework for building rich text editors. Slate supplies the model layer, but its official view layer is for React, so slate-angular fills that gap for Angular projects. The README describes it as inspired by slate-react and built to suit Angular's style, with attention to Chinese input. Setup has six steps: install the dependencies, load SlateModule in the app module, import the stylesheet, add a text mark component, and use a slate-editable component in a template with its TypeScript class. A basic demo is available on StackBlitz. Features listed include a cursor scheme for elements, custom components or templates for elements, text and leaf rendering, decorations and void elements. The README names Chrome, Edge, Safari, Firefox and QQ Browser as supported browsers. There is no toolbar by default, so developers add one with their own icon library. It suits teams that want to build a rich text editing area into an Angular product.…
Highlights
- Angular view layer for Slate editors
- Custom element, text and leaf rendering
- Decorations and void elements
- Friendly to Chinese input
- StackBlitz basic demo
Ratings & Reviews
No ratings yet
Be the first to rate slate-angular.
People also visit
slate-angular FAQ
What is slate-angular?
An Angular library that renders Slate rich text editors, providing the view layer that Slate does not include for Angular.
Does it come with a toolbar?
No. The README says there is no toolbar by default, so you add toolbars and their functions with your own icon library.
How do I set it up?
Install the dependencies, load SlateModule in AppModule, import the index stylesheet, then add a text mark component and a slate-editable component.
Which browsers work?
The README lists Chrome, Edge, Safari, Firefox and QQ Browser.
What are the best slate-angular alternatives?
Popular alternatives to slate-angular include domternal, ngx-wig and angular-markdown-editor. See all slate-angular alternatives
















