New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kolkov/angular-editor

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kolkov/angular-editor

A simple native wysiwyg editor for Angular 6+

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34K
decreased by-31.35%
Maintainers
1
Weekly downloads
 
Created
Source

AngularEditor

A simple native wysiwyg editor for Angular 6+

Getting Started

Installation

Install via npm package manager

npm install @kolkov/angular-editor --save

Usage

Import angular-editor module

import { AngularEditorModule } from '@kolkov/angular-editor';

@NgModule({
  imports: [ AngularEditorModule ]
})

Import font-awesome into your application

Then in HTML

<angular-editor [placeholder]="'Enter text here...'" [(ngModel)]="htmlContent"></angular-editor>

or

<angular-editor formControlName="htmlContent" [config]="editorConfig"></angular-editor>

where

import { AngularEditorConfig } from 'angular-editor';

...

editorConfig: AngularEditorConfig = {
    editable: true,
    spellcheck: true,
    height: '25rem',
    minHeight: '5rem',
    placeholder: 'Enter text here...',
    translate: 'no'
  };

For ngModel to work, you must import FormsModule from @angular/forms, or for formControlName, you must import ReactiveFormsModule from @angular/forms

Demo

Demo is here demo

Working example at stackblitz example

Keywords

FAQs

Package last updated on 02 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc