{"repo":"worktile/slate-angular","free":true,"listed":false,"github":"https://github.com/worktile/slate-angular","clone":"git clone https://github.com/worktile/slate-angular.git","description":"Angular view layer for Slate","language":"TypeScript","stars":188,"topics":["slate","angular","rich-text-editor","slate-angular"],"license":"MIT","category":"ui-components","readme_excerpt":"slate-angular [![Coverage Status][coveralls-image]][coveralls-url] [coveralls-image]: https://coveralls.io/repos/github/worktile/slate-angular/badge.svg?branch=master [coveralls-url]: https://coveralls.io/github/worktile/slate-angular Angular view layer for Slate 中文文档 Introduction Slate is a completely customizable framework for building rich text editors, including the model layer and view layer, but the slate only provides the view layer based on react, slate-angular is a supplement to the slate view layer, to help you use angular to build rich text editor. slate-angular is inspired by slate-react, and try to keep the style of slate and angular, friendly to Chinese input, start your slate-angular journey. Demo Try out our live demo Feature - Support element front and rear cursor scheme - Support custom component/template rendering Element - Support custom component/template to render Text - Support custom component/template rendering Leaf - Support decorate decoration - Support void element Compatible browser Chrome、Edge、Safari、Firefox、QQ Browser Usage 1. Install dependencies 2. Loading SlateModule in AppModule 3. Import index.scss src/styles.scss 4. Add text-mark component 5. Use slate-editable component Template TS 6. Startup basic demo Before starting, you need to declare the DemoTextMarkComponent component in NgModule You can checkout a stackblitz implementation of the readme usage Start the demo and you will get the following interface Currently, there is no toolbar. Y","default_branch":null,"files":null,"tree":[],"storefront":"/r/worktile","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/worktile/slate-angular/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}