All Projects → HstarComponents → ngx-ckeditor

HstarComponents / ngx-ckeditor

Licence: MIT license
The CKEditor component for angular

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to ngx-ckeditor

Ngx Datatable
✨ A feature-rich yet lightweight data-table crafted for Angular
Stars: ✭ 4,415 (+19095.65%)
Mutual labels:  angular4, angular-components
Angularconcepts
Key Angular Concepts using Latest Angular version 5
Stars: ✭ 31 (+34.78%)
Mutual labels:  angular4, angular-components
Angular Commerce
Angular components for scaffolding online store
Stars: ✭ 526 (+2186.96%)
Mutual labels:  angular4, angular-components
Angular-Firebase-Sortable-Table
Angular Firebase Sortable Table is a module that makes tables creation with firebase an easy task.
Stars: ✭ 28 (+21.74%)
Mutual labels:  angular4, angular-components
Ng Drag Drop
Drag & Drop for Angular - based on HTML5 with no external dependencies. 🎉
Stars: ✭ 233 (+913.04%)
Mutual labels:  angular4, angular-components
Angular Interview Questions
Most extensive Angular interview questions based on your level.
Stars: ✭ 354 (+1439.13%)
Mutual labels:  angular4, angular-components
Nebular
💥 Customizable Angular UI Library based on Eva Design System 🌚✨Dark Mode
Stars: ✭ 7,368 (+31934.78%)
Mutual labels:  angular4, angular-components
Angular Admin
🔏Admin client for surmon.me blog powered by @angular and Bootstrap4
Stars: ✭ 352 (+1430.43%)
Mutual labels:  angular4, angular-components
Learn Angular From Scratch Step By Step
Angular step by step tutorial covering from basic concepts of Angular Framework to building a complete Angular app using Angular Material components. We will go through the main building blocks of an Angular 7 application as well as the best practices for building a complete app with Angular.
Stars: ✭ 140 (+508.7%)
Mutual labels:  angular4, angular-components
Ng Simple Slideshow
A simple, responsive slideshow for Angular 4+.
Stars: ✭ 119 (+417.39%)
Mutual labels:  angular4, angular-components
angular2-cookie-law
Angular2+ component that provides a banner to inform users about cookie law
Stars: ✭ 38 (+65.22%)
Mutual labels:  angular4, angular-components
Ng Select
⭐ Native angular select component
Stars: ✭ 2,781 (+11991.3%)
Mutual labels:  angular4, angular-components
Angular Prest
pREST component for Angular
Stars: ✭ 16 (-30.43%)
Mutual labels:  angular4, angular-components
Awesome Angular
📄 A curated list of awesome Angular resources
Stars: ✭ 8,160 (+35378.26%)
Mutual labels:  angular4, angular-components
Ngx Quill Editor
🍡@quilljs editor component for @angular
Stars: ✭ 234 (+917.39%)
Mutual labels:  angular4, angular-components
Angular4-seed
Angular 4 Seed for Angular Forms
Stars: ✭ 37 (+60.87%)
Mutual labels:  angular4, angular-components
ngx-webuploader
Angular for Baidu WebUploader
Stars: ✭ 12 (-47.83%)
Mutual labels:  angular-components
awesome-angular-components
This project is no longer supported.
Stars: ✭ 25 (+8.7%)
Mutual labels:  angular-components
nz-schema-form
ng-zorro-antd form generation based on JSON-Schema
Stars: ✭ 40 (+73.91%)
Mutual labels:  angular-components
paper-dashboard-angular
Angular version of the original Paper Dashboard.
Stars: ✭ 142 (+517.39%)
Mutual labels:  angular4

ngx-ckeditor

Travis CI Status

The CKEditor 4.x component for angular

If you used the ckeditor 5.x, please see: https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html#quick-start

Usage

Installation

  • Import CKEditor js file
<script src="//cdn.ckeditor.com/4.7.1/full/ckeditor.js"></script>
  • Install ngx-ckeditor
npm i -S ngx-ckeditor

Sample

Import CKEditorModule module in your main module:

// app.module.ts

import { CKEditorModule } from 'ngx-ckeditor';

@NgModule({
  imports: [
    // ...
    CKEditorModule
  ],
  // ...
})
export class AppModule {

}

Then use it in your component:

// app.component.html

<ck-editor name="editor1" [(ngModel)]="editorValue" skin="moono-lisa" language="en" [fullPage]="true"></ck-editor>
// app.component.ts

@Component({
  selector: 'app',
  templateUrl: 'app.component.html'
})

export class AppComponent implements OnInit {

  public editorValue: string = '';

  ngOnInit() { }
}

CKEditorComponent Options

Type Name DataType Default Value Description
Input readonly boolean false Enabled / disable readonly on editor
Input skin string 'moono-lisa' Set the editor skin
Input language string 'en' Set the editor language
Input fullPage boolean false Enalbed /disable fullPage mode on editor
Input config object {} CKEditor's config object, see more
Input inline boolean false Set the inline mode
Two-way ngModel string Two-way binding value

Version Rules (Imports)

In order to match angular version, the ngx-ckeditor version no will same as angular majar version.

  • 0.2.x: for angular 2.x ~ 4.x
  • 0.4.x: for angular 5.x ~ 7.x
  • 8.x.x: for angular 8.x
  • 10.x.x: for angular 10.x
  • 11.x.x: for angular 11.x
  • 12.x.x: for angular 12.x

How to develop?

git clone https://github.com/HstarComponents/ngx-ckeditor.git

# install deps
npm i

# run dev
npm start

# build demo
npm run build:ngx-ckeditor-examples

# build lib
npm run build:ngx-ckeditor

# test
npm test

# Upgrade angular version
ng update 
ng update @angular/core@12 @angular/cli@12

# Package Publish
npm run build:ngx-ckeditor
cp README.md dist/ngx-ckeditor/README.md && cp CHANGELOG.md dist/ngx-ckeditor/CHANGELOG.md && cd dist/ngx-ckeditor
npm publish

# Update Docs Site
npm run build:ngx-ckeditor-examples
# replace docs/index.html content

FAQ?

1、Metadata version mismatch found version 4, expected 3

A: That because the lib is build for angular 5.x, it will throw the error when your used angular version is 4.x, please use [email protected] for angular 4.x.

Issues

Create an issue

[Changelog]

Changelog

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].