Click here to Skip to main content
15,891,529 members
Everything / CKEditor

CKEditor

CKEditor

Great Reads

by Ozesh Thapa
Converting Docx To Html to Docx
by Minh Tuan Do
In this article, I will show you how to create a customized command button in CKEditor, go along with an example project to help you understand and imagine what can we do with CKEditor.

Latest Articles

by Minh Tuan Do
In this article, I will show you how to create a customized command button in CKEditor, go along with an example project to help you understand and imagine what can we do with CKEditor.
by Ozesh Thapa
Converting Docx To Html to Docx

All Articles

Sort by Score

CKEditor 

22 Dec 2016 by Ozesh Thapa
Converting Docx To Html to Docx
7 Jul 2019 by Minh Tuan Do
In this article, I will show you how to create a customized command button in CKEditor, go along with an example project to help you understand and imagine what can we do with CKEditor.
9 Mar 2020 by Richard Deeming
The documentation explains the JavaScript configuration required, and how the dropped image is sent to the server: Uploading Dropped or Pasted Files - CKEditor 4 Documentation[^] The server-side code will essentially be a standard file upload...
15 Jan 2024 by Richard MacCutchan
This is not a programming issue, you need to get help from CKEditor 5 | Powerful Framework with Modular Architecture[^].
6 Mar 2014 by Gregory Gadow
I am adding CKEditor to a website, using the ASP.Net version rather than the plain JavaScript one. I have it configured with the toolbar elements I want, my own stylesheets, etc. But....I would like to replace the text in the Format drop-down from the default -- Header 1, Header 2, Address,...
1 Jul 2014 by Nischal Bhatt
Hi! AllI'm trying to update the text of CKEditor using my ADO.Net code:I followed this link[^] to setup the ckeditor in my application.I'm calling the following method from the update button click event.Following is my codepublic void updatetext(){SqlConnection _SqlConnection =...
2 Jul 2014 by Nischal Bhatt
I did not mention IsPostback in Pageload and that's why it wasn't updating my values.
22 Jul 2014 by Niranjan Chouhan
Hello,I want to make formatting of contents in ckeditor persist even after page loaded.If we make any change in contents of ckeditor then all changes should persists.I am calling following function on an onkeyup event of input field. everytime when user change the value in input field...
30 Oct 2014 by HardikPatel.SE
I am New in customizing CKEditor. I want to bind templates from database in Templates popup.I have added two testing templates statically in default.js file shown as below :/*Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.For licensing, see LICENSE.md or...
14 Nov 2014 by Member 11233440
How can I insert data to database, from ckeditor.
14 Nov 2014 by Afzaal Ahmad Zeeshan
You need to get the data (content) from the editor and then save that in your database. From their documents[^], you can use this code,// editor1 is the instance ID of the editor. var data = CKEDITOR.instances.editor1.getData();Now once taken, you can use the variable data in...
14 Nov 2014 by Member 11233440
ok thnks for this solution one more thing if i want to get data from database to crystal report then what i have to do .............plz describe it diply..plz with code
23 Jan 2015 by Member 11398981
Data coming from the description you want to print the CKEditor..I need your help..Thanks..sb.Append(""); sb.Append("").Append(item.UrunAdi).Append(""); sb.Append("").Append(item.Fiyati).Append("");
24 Mar 2015 by Sebastiaan Meijerink
You could bother to read the documentation.http://www.tinymce.com/wiki.php/Configuration:toolbar[^]
13 Apr 2015 by atel22
I'm using CkFinder in CkEditor image search and upload in my ASP.NET MVC 5 project. In my local IIS does not any problem but in the remote server has System.Web.HttpException: Failed to Execute URL error when I browse images with CkFinder in CkEditor.Error details as...
13 Apr 2015 by atel22
The error is "0x80004005", it is a permissions problem. I changed IIS "pipeline mode" from "classic" to "integrated" to be fixed.
4 Jul 2015 by Sergey Alexandrovich Kryukov
Please see:http://docs.cksource.com/CKEditor_3.x/Developers_Guide/ASP.NET/Integration_Advanced[^],http://ckeditor.com/download[^],http://download.cksource.com/CKEditor/CKEditor.NET/CKEditor.NET%203.6.6.2/ckeditor_aspnet_3.6.6.2.zip[^].—SA
23 Jul 2015 by Member 11808085
i have built one application in which i am loading html pages in ck editor for edit and then save it. but latter when i am retrieving the saved file all the format is lost. so now i am trying to load the original word document into ck editor. i really don't know whether it is possible or not. so...
23 Jul 2015 by F-ES Sitecore
Try DocXhttps://docx.codeplex.com/[^]C#: Create and Manipulate Word Documents Programmatically Using DocX[^]Or the Open XML SDK.
22 Sep 2015 by Christopher Fernandes
I added CKFinder to CkEditor and it works fine
10 Oct 2015 by Ankita1391
Button for block quote (") is not working in ckeditor." " are not appearing in final output text which is saved after text adding by CKEditor.Other buttons are working quite well.I also have downloaded latest full version from their site. Still having same problem.Please help.
4 Jan 2016 by Gaurav_Chaudhary
Hi,I want to Upload user files through Ckeditor's(CKEditor.com | The best web text editor for everyone[^]) CKFinder plugin on AWS bucket unlike at the web server.Could anyone provide a helpful link that could do the trick in ASP.Net C#Thanks!
18 May 2016 by Member 11236750
Hi All,Currently I have integrated Ckeditor in Html page of my windows form application.I have called the Html page using navigate method to fire webBrowser document like this: string Currentpath = Directory.GetCurrentDirectory(); ...
19 Oct 2016 by Ranjeeth Kumar Vootukuri
In my application i am using Ckeditor, by default ckeditor first letter is not capital, So i need to convert first letter to upper case, that is automatically change lower to upper, for that i am using jquery Keyup event, and i tried with below code:What I have tried:...
7 Nov 2016 by Member 12836055
I am using CKEditor tool integrated in asp.net application for one of my project to update html files. By using that application client updates html files using toolbar and other features available in CKEditor tool and preview it. Now Client has a requirement that just like html files he also...
7 Nov 2016 by Kornfeld Eliyahu Peter
There is a plugin, that should do just that...XML | CKEditor.com[^]CKEditor 4 Documentation[^]
4 Jan 2017 by Andy07
I made project use asp.net mvc and CKEditor inline. I want to save my editable text area field in HTML file to database. I still don't know how to do that. I tried to use inlinesave plug in but its confused. Could some body help me?What I have tried:I want to save my editable text area...
4 Jan 2017 by Saineshwar Bageri
Please Check Documentation Link will HelpCKEditor 4 Documentation[^] Inline Editing in Action! The "div" element that contains this text is now editable. var data =...
5 Jan 2017 by Andy07
I made 10 editor form in my project and I want to save data to my database. How I can detect or know the active editor that I want to edit the content and get the ID and the data before I save them?What I have tried:I had used "getselection()", but its can't detect the selected document
5 Jan 2017 by Member 11471318
Hi can you share a screenshot.you can get value from ck-editor using it id please try this code to get the text entered on ck-editor text areahere i implement ck-editor so for getting the value from it just try below codevar ckdataedit=$("#cke_fileTextEditor...
2 Feb 2017 by dan!sh
There is a plugin for that. Have you tried it yet? You can find it here: Word Count & Char Count Plugin | CKEditor.com[^]
3 Feb 2017 by Member 12324523
I need to display the word count while giving the text in ck editor only but with my above code i am able to get the word count on button click.How to display the word count directly while giving text in ck editor instead of button click
3 Feb 2017 by Pete O'Hanlon
As you can see, your current code is written in C#, so it's running on the server side - what you are going to have to do is rewrite your logic in JavaScript and then bind it in to the change logic using the ck event listener logic. You can find an example of listening to the onChange event here[^].
3 Feb 2017 by Avi_Shinde
Hi,use textchange event of CKEditor1. ontextchange event write the same logic which you have written in button_click event
9 Nov 2020 by Member 12035413
I'm using JSP and CKEditor to get website's content DEMO CKEDITOR
3 Aug 2017 by Kornfeld Eliyahu Peter
CKEditor is a HTML based editor. All the richness you see gained using HTML tags and their attributes... If you remove the HTML part you get plain text...
4 Aug 2017 by Richard Deeming
If I've understood your comment correctly, the problem is not with editing the HTML, but with displaying it again. When you use: @Model.LongDescription1 the output is automatically HTML-encoded. This is to protect against cross-site scripting vulnerabilities. So, if you've entered: "This is...
17 Nov 2017 by Leonardo Hernández
In this code for each of the inframe's that are placed in the HTML, another html containing the ckeditor is called.
16 Nov 2017 by Laxmidhar tatwa technologies
I solved your demo page contain page like the demo page var myApp =...
17 Nov 2017 by Laxmidhar tatwa technologies
//I send the two pages that works well //Demo var myApp = angular.module('myApp', ['ngCookies']); myApp.controller('TinyMceController', ['$scope', '$http', '$cookies', '$cookieStore', function ($scope, $http, $cookies, $cookieStore) ...
26 Jul 2018 by Chris Maunder
Here's an undocumented hack you might want to play around with: var selection = editor.getSelection(); var bookmarks = selection.createBookmarks(true); // change / replace / delete text in editor var range = selection.getRanges()[0]; range.moveToBookmark(bookmarks[0]); range.select();
12 Dec 2018 by Afzaal Ahmad Zeeshan
I would suggest you visit CKEditor's documentation and try what is provided there, Drag and Drop Integration - CKEditor 4 Documentation[^]. Keep reading. If you want to find a good solution, Google is the place to ask for such queries. Google yeilds, Drag and Drop Image Uploads |...
29 May 2020 by Member 14063588
I am having 7 ckeditor in my page and a side menu containing the name/title provided to the ckeditor.I want to set the cursor/setfocus to the selected ckeditor by clicking the title/name of the ckeditor from side menu. What I have tried: var element = editor.document.getById('id'); var range; ...
1 Apr 2019 by Member 14063588
I am not able to set focus to the ckeditor on basis of id. Please help me out I am stuck on this from past 2 month. What I have tried: I have tried javascript setfocus() and focus() methods too but those didn't helped me. And also tried this.But didn't worked for me var selection =...
9 Mar 2020 by Member 14767261
Just to check how can I paste image to a text area using ck editor as my plugin in PHP? Is there any ready source that I can use as reference? When I try to drag 'n drop an image in it, I'll see a green bar saying upload successful and for...
21 Apr 2022 by Member 10651775
I had integrated CKEditor in the asp.net project but When I tried to store it in the database it gives an error, " A potentially dangerous Request.Form value was detected from the client (Post_Content="Test "). " In order to overcome the...
15 Jan 2024 by Red Kipling
I have installed ckeditor5 in my forum But the issue is after submit a css code for example (shown correctly in editor) it is shown like a plain text (code block plugin is installed) The table is not shown after submit but it is shown...
22 Jan 2024 by Red Kipling
I'm trying to insert custom bbcode in ckeditor5 by adding a button like in this image If i click on image there's nothing inserted in ckeditor5 bbcode insert i would like to insert the correspendant bbcode in ckeditor5 to show the code after...
22 Jan 2024 by Red Kipling
thanks for help problem resolved
26 Jul 2018 by Jems_007
I want to set cursor position manually to specific position in ckeditor. I have implemented short keys on some key press i am adding text using set data in ckeditor(ex. if i type "RnD+Space", it will replace with "research and development "). The problem is that after set data cursor will set to...
3 Dec 2015 by Member 12180835
I am using the below code to set focus of cursor in ckeditor but the cusor does not blink in the ckeditor..please guide.. var editor = CKEDITOR.instances['textarea1']; editor.focus();
28 May 2015 by Member 11718302
i want to compare two text file form 2 textbox and i success to compare it but problem that i face now is unable to highlight the different of two text file...ps : i extended CKEditor to use as my textboxBelow is my coding for compare 2 text fileProtected Sub btnCompare_Click(ByVal...
20 Sep 2015 by Christopher Fernandes
I am developing a Website using Asp.Net C# .Net Framework 4.0 I have been able to integrate CKEditor 3.6.6 for ASP.net into an aspx file using the ckeditor.dllI want to be able to select/browse/upload images in CkEditor and save the CkEditor content to database table in SQL Server...
7 Mar 2017 by harichander
you can get the value of the text in the editor using $_POST["editor"], and try to save accordingly.
26 Sep 2021 by ShikhaSC
Hi, I am searching for paid/unpaid Drag and drop plugin for form designer in CKEditor. Plugin should drop controls like input, multiselect, checkbox list, radio list, etc.. and every control should have a label on left. The properties of the control can be easily modifiable through UI. ...
4 Aug 2017 by ddgjgj
Please find attached the html code and the printscreen of my problem. When I write something in ckeditor, and apply styling with html tags, it saved the text with HTML tags, and not just the text itself, in this case just CONTENT SAMPLE TEXT. It also applies the styling for certain html tags in...
4 Jul 2015 by Msdx45
Hello ! I have a asp .net project. And I want to use ckeditor in this project and at this ckeditor has code snippet plugin. But I don't understand that show to ckEditor content(with code : example html or css) in literal in asp .net.Can you give me an simple example this about and an clean...
10 Feb 2015 by dirtyshooter
Note: For particulars, i just want the bold, italic and bullet properties.
23 Jul 2015 by Mario Z
First regarding the saved file loosing all the formatting, I presume you are referring to HTML file format. Well unfortunately without more information I cannot say for sure why this issue occurs to you but I presume the problem may be that your output file uses external css, have you tried...
9 Sep 2015 by pogo_sumit
Hi All, I don't want my CKeditor to add to content. Please help me ho to prevent CKeditor for adding tag.Thanks in Advance.
4 Nov 2016 by kav@94
Below is my code which compares the text entered in two ck editors and display the text in third ckeditor by highlighting the error text.that means i will give some text in ckeditor1 and CKEditorControl1 and when i click button compare i will show the highlighted error text in third ckeditor.But...
2 Feb 2017 by kav@94
After typing some text in ckeditor i am able to see the word count on button click but i need to view the word count while typing only.How can i do this.Below is my code which gives the word count on button click ...
29 May 2020 by Member 14847436
addCkeditorData = function(appendtext) { try { const viewFragment = ckEditor.data.processor.toView(appendtext); const modelFragment = ckEditor.data.toModel(viewFragment); ckEditor.model.insertContent(modelFragment,...
26 Sep 2021 by Member 15372401
Hey, did you find any solution for same?