• Stars
    star
    5,789
  • Rank 7,018 (Top 0.2 %)
  • Language Rich Text Format
  • License
    Other
  • Created over 12 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.

CKEditor 4 - Smart WYSIWYG HTML editor Tweet

npm version GitHub tag Build Status

Join newsletter Follow Twitter

A highly configurable WYSIWYG HTML editor with hundreds of features, from creating rich text content with captioned images, videos, tables, media embeds, emoji or mentions to pasting from Word and Google Docs and drag&drop image upload.

Supports a broad range of browsers, including legacy ones.

CKEditor 4 screenshot

Getting started

Using npm package

npm install --save ckeditor

Use it on your website:

<div id="editor">
    <p>This is the editor content.</p>
</div>
<script src="./node_modules/ckeditor/ckeditor.js"></script>
<script>
    CKEDITOR.replace( 'editor' );
</script>

Using CDN

Load the CKEditor 4 script from CDN:

<div id="editor">
    <p>This is the editor content.</p>
</div>
<script src="https://cdn.ckeditor.com/4.13.0/standard/ckeditor.js"></script>
<script>
    CKEDITOR.replace( 'editor' );
</script>

Integrating with Angular, React and Vue.js

Refer to official usage guides for the ckeditor4-angular, ckeditor4-react and ckeditor4-vue packages.

Manual download

Visit the CKEditor 4 download section on the CKEditor website to download ready-to-use CKEditor 4 packages or to create a customized CKEditor 4 build.

Features

  • Over 500 plugins in the Add-ons Repository.
  • Pasting from Microsoft Word, Excel and Google Docs.
  • Drag&drop image uploads.
  • Media embeds to insert videos, tweets, maps, slideshows.
  • Powerful clipboard integration.
  • Content quality control with Advanced Content Filter.
  • Extensible widget system.
  • Custom table selection.
  • Accessibility conforming to WCAG and Section 508.
  • Over 70 localizations available with full RTL support.

Browser support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Chrome
Chrome (Android)
Safari
Safari
iOS Safari
iOS Safari
Opera
Opera
IE8, IE9, IE10, IE11, Edge latest version latest version latest version latest version latest version latest version

Find out more in the Browser Compatibility guide.


Working with the ckeditor4 repository

Attention: The code in this repository should be used locally and for development purposes only. We do not recommend using it in a production environment because the user experience will be very limited.

Code installation

There is no special installation procedure to install the development code. Simply clone it to any local directory and you are set.

Available branches

This repository contains the following branches:

  • master – Development of the upcoming minor release.
  • stable – Latest stable release tag point (non-beta).
  • latest – Latest release tag point (including betas).
  • release/A.B.x (e.g. 4.0.x, 4.1.x) – Release freeze, tests and tagging. Hotfixing.

Note that the master branch is under heavy development. Its code did not pass the release testing phase, though, so it may be unstable.

Additionally, all releases have their respective tags in the following form: 4.4.0, 4.4.1, etc.

Samples

The samples/ folder contains some examples that can be used to test your installation. Visit CKEditor 4 Examples for plenty of samples showcasing numerous editor features, with source code readily available to view, copy and use in your own solution.

Code structure

The development code contains the following main elements:

  • Main coding folders:
    • core/ – The core API of CKEditor 4. Alone, it does nothing, but it provides the entire JavaScript API that makes the magic happen.
    • plugins/ – Contains most of the plugins maintained by the CKEditor 4 core team.
    • skin/ – Contains the official default skin of CKEditor 4.
    • dev/ – Contains some developer tools.
    • tests/ – Contains the CKEditor 4 tests suite.

Building a release

A release-optimized version of the development code can be easily created locally. The dev/builder/build.sh script can be used for that purpose:

> ./dev/builder/build.sh

A "release-ready" working copy of your development code will be built in the new dev/builder/release/ folder. An Internet connection is necessary to run the builder, for the first time at least.

Testing environment

Read more on how to set up the environment and execute tests in the CKEditor 4 Testing Environment guide.

Reporting issues

Use the CKEditor 4 GitHub issue page to report bugs and feature requests.

License

Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.

For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license

More Repositories

1

ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
Rich Text Format
7,668
star
2

ckeditor4-releases

Official distribution releases of CKEditor 4.
JavaScript
519
star
3

ckeditor5-react

Official CKEditor 5 React component.
JavaScript
379
star
4

github-writer

GitHub Writer - WYSIWYG Rich-Text Editor for GitHub, powered by CKEditor.
JavaScript
327
star
5

ckeditor5-vue

Official CKEditor 5 Vue.js component.
JavaScript
309
star
6

ckeditor5-angular

Official CKEditor 5 Angular 5+ component.
TypeScript
186
star
7

ckeditor5-build-classic

The classic editor build of CKEditor 5.
HTML
136
star
8

ckeditor4-docs-samples

Code samples for the official CKEditor 4 documentation (https://ckeditor.com/docs/ckeditor4/)
HTML
100
star
9

ckeditor4-react

Official CKEditor 4 React component.
TypeScript
97
star
10

ckeditor5-engine

CKEditor 5 editing engine.
JavaScript
93
star
11

ckeditor4-vue

Official CKEditor 4 Vue component
JavaScript
75
star
12

ckeditor5-design

☠ Early discussions about CKEditor 5's architecture. Closed now. Go to https://github.com/ckeditor/ckeditor5 ☠
57
star
13

ckeditor4-docs

The official documentation of CKEditor 4.
JavaScript
57
star
14

ckeditor4-angular

Official CKEditor 4 Angular component.
TypeScript
55
star
15

ckeditor5-collaboration-samples

Collaboration integration examples for CKEditor 5
JavaScript
47
star
16

editor-recommendations

A set of recommendations for modern editing solutions.
HTML
47
star
17

strapi-plugin-ckeditor

CKEditor 5 custom field for Strapi.
JavaScript
46
star
18

ckeditor5-demos

Source codes for demos available at https://ckeditor.com/ckeditor-5/demo/
JavaScript
42
star
19

hanghub

A browser extension that allows you to see the users who are connected to the same GitHub issue as you. It is available for Chrome and Firefox.
JavaScript
39
star
20

ckeditor5-dev

CKEditor 5 development tools packages.
JavaScript
35
star
21

ckeditor5-markdown-gfm

GitHub Flavored Markdown data processor for CKEditor 5.
JavaScript
30
star
22

ckeditor5-build-decoupled-document

The document build of CKEditor 5, featuring the decoupled UI editor implementation.
HTML
28
star
23

ckeditor5-inspector

CKEditor 5 inspector.
JavaScript
26
star
24

ckeditor5-vue2

Official CKEditor 5 component for Vue.js 2.x.
JavaScript
25
star
25

ckeditor5-editor-classic

Classic editor implementation for CKEditor 5.
JavaScript
23
star
26

ckeditor5-core

CKEditor 5 core editor architecture.
JavaScript
21
star
27

ckeditor5-paste-from-office

Paste from Office feature for CKEditor 5.
Rich Text Format
18
star
28

ckbuilder

The development repository of CKBuilder, a command line builder for CKEditor 4.
JavaScript
18
star
29

ckeditor5-image

Image feature for CKEditor 5.
JavaScript
18
star
30

ckeditor4-presets

CKEditor 4 presets builder.
JavaScript
18
star
31

ckeditor5-build-inline

The inline editor build of CKEditor 5.
HTML
17
star
32

ckeditor4-sdk

A set of software development tools for CKEditor 4 along with samples.
JavaScript
16
star
33

ckeditor5-table

Table feature for CKEditor 5.
JavaScript
16
star
34

ckeditor5-ui

The UI framework of CKEditor 5.
JavaScript
16
star
35

ckeditor5-ckfinder

CKFinder file browser integration for CKEditor 5.
JavaScript
15
star
36

ckeditor5-build-balloon-block

The build of CKEditor 5 featuring the balloon and block toolbars.
HTML
14
star
37

ckeditor5-tutorials-examples

JavaScript
14
star
38

ckeditor5-adapter-ckfinder

CKEditor 5's adapter to CKFinder.
JavaScript
12
star
39

ckeditor5-font

Font size and font family features for CKEditor 5.
JavaScript
12
star
40

ckeditor5-hackathon

CKEditor 5 Hackathon
JavaScript
11
star
41

ckeditor5-upload

Upload utils for CKEditor 5.
JavaScript
11
star
42

ckeditor5-react-example

Example configuration of a React app created by create-react-app@2 with CKEditor 5 used from source.
JavaScript
10
star
43

ckeditor5-media-embed

Media embed feature for CKEditor 5.
JavaScript
9
star
44

vite-plugin-ckeditor5

Vite plugin for building CKEditor 5 from source
Vue
9
star
45

ckeditor5-editor-inline

Inline editor implementation for CKEditor 5.
JavaScript
9
star
46

ckeditor5-code-block

Code blocks feature for CKEditor 5.
JavaScript
9
star
47

ckeditor5-link

Link feature for CKEditor 5.
JavaScript
8
star
48

ckeditor5-alignment

Text alignment feature for CKEditor 5.
JavaScript
8
star
49

ckeditor5-build-balloon

The editor with a balloon toolbar build of CKEditor 5.
HTML
8
star
50

ckeditor4-java-samples

The development repository of CKEditor for Java (web application).
Java
8
star
51

ckeditor5-theme-lark

Theme Lark for CKEditor 5.
CSS
7
star
52

ckeditor5-list

Lists feature for CKEditor 5.
JavaScript
7
star
53

ckeditor5-highlight

Text highlight feature for CKEditor 5.
JavaScript
6
star
54

ckeditor5-word-count

Word count feature for CKEditor 5.
JavaScript
6
star
55

ckeditor5-widget

Widget API for CKEditor 5.
JavaScript
6
star
56

ckeditor5-mention

Mention feature for CKEditor 5.
JavaScript
5
star
57

ckeditor4-webpack-template

Simple template for creating CKEditor 4 projects with Webpack.
JavaScript
5
star
58

ckeditor-boilerplate

A boilerplate for modern git based projects
JavaScript
5
star
59

ckeditor5-utils

The utils for CKEditor 5 project.
JavaScript
5
star
60

ckeditor5-editor-balloon

Editor with a balloon toolbar implementation for CKEditor 5.
JavaScript
5
star
61

labs

A place for various experiments, sample code showcased in blog posts and so on.
JavaScript
5
star
62

ckeditor4-integrations-common

JavaScript
4
star
63

ckeditor4-java-core

The development repository of CKEditor 4 for Java (core).
Java
4
star
64

ckeditor5-watchdog

Watchdog for CKEditor 5.
JavaScript
4
star
65

ckeditor5-typing

Typing feature for CKEditor 5.
JavaScript
4
star
66

ckeditor5-cloud-services

CKEditor 5's Cloud Services integration layer
JavaScript
4
star
67

ckeditor5-clipboard

Clipboard (copy, cut, paste) support for CKEditor 5.
JavaScript
4
star
68

ckeditor5-package-generator

A tool for creating a new package for CKEditor 5.
JavaScript
3
star
69

ckeditor5-ui-default

☠ This package has been merged into https://github.com/ckeditor/ckeditor5-ui ☠
JavaScript
3
star
70

ckeditor5-autosave

Autosave feature for CKEditor 5.
JavaScript
3
star
71

ckeditor5-enter

Enter feature for CKEditor 5.
JavaScript
3
star
72

ckeditor5-mermaid

JavaScript
3
star
73

ckeditor5-special-characters

Special characters feature for CKEditor 5.
JavaScript
2
star
74

ckeditor5-essentials

Presets of plugins for CKEditor 5.
JavaScript
2
star
75

ckeditor5-restricted-editing

Restricted editing feature for CKEditor 5.
JavaScript
2
star
76

ckeditor5-autoformat

Autoformat feature for CKEditor 5.
JavaScript
2
star
77

ckeditor5-linters-config

Eslint & Stylelint plugins and configurations for linting the CKEditor 5 code style.
JavaScript
2
star
78

ckeditor5-undo

Undo manager for CKEditor 5.
JavaScript
2
star
79

ckeditor5-easy-image

Easy Image feature for CKEditor 5.
JavaScript
2
star
80

ckeditor5-horizontal-line

Horizontal line feature for CKEditor 5.
JavaScript
1
star
81

vue-template-ckeditor-classic

Create Vue template for CKEditor 5 Classic
Vue
1
star
82

angular-template-ckeditor-classic

Angular CLI template for CKEditor 5 Classic
TypeScript
1
star
83

ckeditor5-page-break

Page break feature for CKEditor 5.
JavaScript
1
star
84

ckeditor5-remove-format

Remove Format feature for CKEditor 5.
JavaScript
1
star
85

ckeditor4-plugin-linkballoon

A simple plugin integrating Balloon Toolbar with the link feature.
JavaScript
1
star
86

stylelint-config-ckeditor5

JavaScript
1
star
87

ckeditor5-labs

CKEditor 5 experiments and integrations.
HTML
1
star
88

ckeditor5-block-quote

Block quote feature for CKEditor 5.
JavaScript
1
star
89

js-nation-workshop

CSS
1
star
90

eslint-plugin-ckeditor5-rules

JavaScript
1
star
91

ckeditor5-paragraph

Paragraph feature for CKEditor 5.
JavaScript
1
star
92

ckeditor5-heading

Heading feature for CKEditor 5.
JavaScript
1
star
93

eslint-config-ckeditor5

JavaScript
1
star
94

ckeditor-cloud-services-core

CKEditor Cloud Services Core API.
JavaScript
1
star
95

cra-template-ckeditor5-classic

Create React App template for CKEditor 5 Classic
JavaScript
1
star
96

ckeditor5-indent

Block indentation feature for CKEditor 5. https://ckeditor.com/ckeditor-5
JavaScript
1
star
97

workflow-tests-PR-10

1
star
98

ckeditor4-benderjs-runner-tests

Rich Text Format
1
star
99

ckeditor4-benderjs-runner

Bender.js runner for CKEditor 4
JavaScript
1
star
100

ckeditor4-workflows-common

Shared CKEditor 4 GitHub workflows.
JavaScript
1
star