{"repo":"lula/ngx-summernote","free":true,"listed":false,"github":"https://github.com/lula/ngx-summernote","clone":"git clone https://github.com/lula/ngx-summernote.git","description":"Summernote editor for Angular :sunglasses:","language":"TypeScript","stars":106,"topics":["angular","angular6","angular7","angular8","angular9","summernote","summernote-editor","wysiwyg-editor","ngx-summernote"],"license":"MIT","category":"ui-components","readme_excerpt":"NgxSummernote Summernote editor for Angular :sunglasses: Installation Install ngx-summernote and dependencies: npm install --save ngx-summernote summernote jquery Compatibility: Angular ngx-summernote ------- -------------- \\ 19 1.1.0 \\ 14 1.0.0 (Ivy support) \\ 14 0.9.0 13 0.8.8 12 0.8.5 11 0.8.4 10 0.8.x 9 0.7.x 8 0.7.x 7 0.6.x 6 0.5.4 Editor Add JQuery and Summernote scripts and styles to the angular.json file: Add NgxSummernoteModule to the app.module.ts file OR to the subcomponent module.ts file if using lazy loading: Use [ngxSummernote] directive on an element to init Summernote editor: You may also configure Summernote with your own config: See Summernote available initialization options here. Viewer Use [ngxSummernoteView] directive on an element to set innerHTML of an element: Upload images to server If you want to upload images to server and use remote paths in editor, you need to set uploadImagePath option in config: API call response is expected to be like: If the reponse does not follow the above structure then the image is inserted as data URL. To remove images from server when deleted from HTML, use (mediaDelete) : Add custom button In your component setup summernote config and code for the custom button, e.g.: See detailed info on custom buttons here. Development To use the test application, first build the lib: Then serve the test application and open it in your browser: Contributors - Ishan Mahajan - NickShcherba - Mathis Hofer - James Manners - Tim Börner - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/lula","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lula/ngx-summernote/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."}