Questions tagged [ckeditor]

CKEditor is an ecosystem of Open Source rich text editors with support for real-time collaboration. Use this tag together with the [ckeditor4] and [ckeditor5] tags to indicate the editor version.

CKEditor is an ecosystem of Open Source rich text editors with support for real-time collaboration. The editors can be used to edit HTML documents in the browser. They are written in JavaScript, have a rich JavaScript API and a modular, plugin-based architecture.

CKEditor is software.

You can choose between:

  • - A set of modern ready-to-use rich text editors created with a powerful framework that enables you to create any kind of text editing solution and include real-time collaborative editing inside.
  • - A battle-tested WYSIWYG editor with hundreds of features, from creating rich text content with captioned images, videos, tables, or media embeds to pasting from Word and drag&drop image upload. Supports legacy browsers, too.
  • - A retired product that is not supported anymore. Upgrade is recommended!

CKEditor solutions comply with industry-accepted standards and are supported in a large variety of environments, including mobile and legacy browsers.

Asking questions

When posting a new question, please mention your specific version, build and plugins used. Include information about your integration environment and third-party add-ons.

Note: Tag your questions with , or to indicate the editor version used!

Resources

9282 questions
147
votes
13 answers

CKEditor automatically strips classes from div

I am using CKEditor as a back end editor on my website. It is driving me round the bend though as it seems to want to change the code to how it sees fit whenever I press the source button. For example if I hit source and create a
...
Iain Simpson
  • 8,011
  • 13
  • 47
  • 66
115
votes
8 answers

How can you integrate a custom file browser/uploader with CKEditor?

The official documentation is less than clear - what's the correct way to integrate a custom file browser/uploader with CKEditor? (v3 - not FCKEditor)
Don Jones
  • 9,367
  • 8
  • 39
  • 49
107
votes
7 answers

Integrated Markdown WYSIWYG text editor

In looking for a straightforward WYSIWYG editor for Markdown code, I am not finding a comparible UI to that of CkEditor, TinyMCE, ect. Specifically, the Markdown "WYSIWYG" editors that are often recommended (such as posts like this ) are not pure…
a coder
  • 7,530
  • 20
  • 84
  • 131
101
votes
30 answers

How to set the height of CKEditor 5 (Classic Editor)

In CKEditor 4 to change the editor height there was a configuration option: config.height. How do I change the height of CKEditor 5? (the Classic Editor)
Wiktor Walc
  • 5,280
  • 3
  • 25
  • 31
99
votes
32 answers

CKEditor instance already exists

I am using jquery dialogs to present forms (fetched via AJAX). On some forms I am using a CKEditor for the textareas. The editor displays fine on the first load. When the user cancels the dialog, I am removing the contents so that they are loaded…
jackboberg
  • 1,046
  • 1
  • 9
  • 6
74
votes
10 answers

How do I set a value in CKEditor with Javascript?

I am wondering how I can set a value in CKEditor using Javascript? I have tried the following, but neither of them work... document.[form name].[textarea name].value=data; $('#textareaID').val(data); However, both these work without the editor…
dcp3450
  • 10,959
  • 23
  • 58
  • 110
73
votes
13 answers

Turn off enclosing

tags in CKEditor 3.0

Is there a possibility to turn off the automatic enclosing of all written content within

in CKEditor 3.x? I tried CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR; but this just changes the inline linebreaks to
while leaving the…
Kosi2801
  • 22,222
  • 13
  • 38
  • 45
73
votes
10 answers

How to add a custom button to the toolbar that calls a JavaScript function?

I'd like to add a button to the toolbar that calls a JavaScript function like Tada()? Any ideas on how to add this?
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
58
votes
15 answers

How can I get the content of CKEditor using JQuery?

I'm using CKEditor. I am saving the form values with ajax using page methods. But the content of CKEditor value cannot be saving into the table. I dont postback the page. What can I do for that?
pegasus
  • 953
  • 2
  • 8
  • 18
53
votes
7 answers

How to configure ckeditor to not wrap content in

block?

I am using ckeditor on my website to make it easier for users to input HTML. However, the data I get back from ckeditor is wrapped in

blocks. (Which I don't want.) Is there some configuration setting that forces the editor to not wrap the…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
51
votes
6 answers

How to ajax-submit a form textarea input from CKEditor?

I am using CKEditor, jQuery and jQuery form plugin and I would like to submit contents of the CkEditor form via an Ajax query. Here is my code:
fabien7474
  • 16,300
  • 22
  • 96
  • 124
50
votes
8 answers

Getting the textarea value of a ckeditor textarea with javascript

I'm a learner as far as JS goes and although I've spent a good few hours reading through tutorials which has helped lots but I'm still having problems figuring out exactly how I find out what a user is typing into a ckeditor textarea. What I'm…
Didju Juzphart
  • 513
  • 1
  • 4
  • 7
50
votes
7 answers

CKEditor strips Tag

I'm trying to find a solution to avoid CKEditor, but also the older FCKeditor strips out any tag from previously inserted content to the db. Case: I insert html content to the db, some content contain the elements. I do this with the…
HenryW
  • 3,551
  • 1
  • 23
  • 23
48
votes
10 answers

CKEditor unwanted   characters

How can I disable CKEditor to get me every time  , when i don't want them? I'm using CKEditor with jQuery adapter. I don't want to have any   tags.
V.Rashkov
  • 1,527
  • 4
  • 18
  • 31
48
votes
4 answers

What toolbar buttons are available in CKEditor 4?

The CKEditor docs mention item by item toolbar configuration here, but where is a list of the names of the buttons in the different groups? There is a similar question here, but the answer is for a previous version of CKEditor. Some of the button…
Rob N
  • 15,024
  • 17
  • 92
  • 165
1
2 3
99 100