ckeditor

Rails CKeditor Plugin Validation Errors

I'm using the Rails ckeditor plugin which includes swfupload. I've also installed the paperclip plugin to handle the actual files (though I don't think it's part of the problem). I've gotten everything working except that there's no message displayed to the user if it fails validation -- like a file is larger than the specified file si...

CKEDITOR, Image Upload in jsp pages

Hello. I've been looking for a tutorial on this matter but all of them are using php. I need to integrate an image uploader for ckeditor in jsp pages using java code. if someone could help me out or direct me to a tutorial, I'll be very thankfull. ...

Allow empty html tags in ckeditor

I am using ckeditor 3.1 in an MVC application. If an html tag is empty then it places &nbsp; in it. i want to allow div tag as empty(<div></div>), and no   to be get inserted(<div>&nbsp;</div>) . I have also used the latest code for ckeditor(3.3.1) but the same probelm persist. Do we have to make some manual change in any particular file...

CKeditor inside Iframe problem

Hello, When we place the new editor (version 3) in a iframe the dialog window open only inside the iframe and not outside. In version 2 the dialog (any dialog: image, link and more) was open all over the page and not inside the editor. There is any solution for this problem? Thanks, Noam ...

Adding WYSIWYG to a site that is not your own?

This website that I use has a WYSIWYG that ONLY works in IE. And I refuse to use IE or to tell my non-tech team to use IE. I was wondering if there is a user script or browser plugin that would enable anyone to inject a WYSIWYG such as CKeditor.com onto any site textarea? Edit: I would also be willing to work on it myself if anyone wan...

How to update div with a CKEDITOR?

I have a page on which I have a div that I need to be able to update with several different pieces of code. I'm using an onClick event in a different div, which calls a js function to load in the appropriate code. When I first bring up the page, the div has only one line: <textarea name="editor1" rows="35">&lt;p&gt;Edit Area.&lt;/p&gt...

Calling a function in CKEditor from a SWF file in a plugin dialog

Hi there, How would I go about calling a function in CKEditor from a SWF file in a plugin dialog that closes the dialog after adding an image to the editor? ...

Ckeditor external font problem in IE 8

Hi I am using an external fonts for ckeditor. I have added the font face using addCss function for ckeditor content iframe and also added a css file for font listing dropdown iframe. The fonts are listing properly with font preview in font listing dropdown and style is also being added in the content writing iframe. In FF and IE 7 the fo...

How do I specify the default font sizer in CK Editor v3

How do I specify the default font size for CKEditor. I tried changing contents.css (body -> font-size) and I tried changing config.js (config.fontSize_defaultLabel) without any success. Does anyone know where i should be looking? ...

CKEditor 3.x Plugin Development Question, contextmenu

So far I have figured out how to make dialogs, return values and insert new html and elements. My comment sections are as follows: <span id="comment4" comment="this is a comment"> <p> This is some HTML. </p> </span> I'm having a difficult time getting the editor to recognize that a particular section has a comment and adding ...

CKEditor: Text box in link dialog

I'm trying to interact with a text box in the Link dialog (get the value and set the value). Started with what's already there but it's not working... CKEDITOR.dialog.add('link', function (a) { var b = function () { var s = this.getDialog(), z = s.getContentElement('info', 'txtUrl'); z.setValue('asda...

CKEDITOR, Bind to ALERT anytime the user MousesOver an element with class = findme

Hello. With CKEDITOR, I'd like to know when a user moves their mouse over an element with a class name of "findme". I can get this to work when the user clicks, but not with a mouseover/hover type event. Any ideas? this.document.on( 'click', function(e) { var editordata = CKEDITOR.instances.meeting_notes.getData(); element...

How to use custom keyboard shortcuts within CKeditor with jQuery?

I have replaced the textarea my users use to edit content with CKeditor. Before this change, users were used to save there text by pressing CTRL + S. This is done through the jQuery Hotkeys Plugin. Since CKeditor puts its text editor within an iframe the shortcut does not work when editing text. I hope someone can help me find a soluti...

Passing data from CKeditor window instance

Hi, I have a requirement where a user (while editing the content in a CKeditor instance) can click a preview button to show the page as it would be with all the headers and logo's etc. The user doesn't like the 'preview' function in CKeditor (which I thought would be adequate), so I was hoping to open the new window and then retrieve t...

CKEditor running in Flex 3?

I'm interested in integrating CKEditor into my Flex 3 application so that users can generate full HTML documents. After some quick googling, I am interested in using CKEditor, but I can't find any home-run success stories on using it with Flex 3. For example, I found: http://blog.aboutme.be/2009/10/25/ckeditor-running-in-flex-and-air/...

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: <form id="article-form" name="article-form" method="post" action="/myproject/save"> <textarea name="bodyText" style="visibility: hidden; display: none;"></textarea> <script type="text/javas...

Multiple CKEDITOR instances with different config files in IE broken

I'm trying to place multiple CKEDITOR instances on the same page, each one loading a different config file. It works fine in FF, but in IE the config file from the last instance on the page is applied to all instances. Each instance has a unique base element name. I'm using the following code to add the instances, with the customConfig, ...

How to hide and show a CKEditor using jQuery?

The following code should allow to hide/show the CKEditor form <a onClick="$('#form1').hide();">Hide</a> <a onClick="$('#form1').show();">Show</a> <form action="sample_posteddata.php" method="post" id="form1"> <textarea id="editor1" name="editor1">blabla</textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor1' ); <...

How can I restrict access/view images of other user uploaded using CK Editor

I am using CK Editor, in my application every user have his separate email templates. I want to store images to user specific and user should not view other user uploaded images when browse to Server to upload images Thanks ...

How to check whether CKEditor has some text in it?

I have a HTML form with a few fields and one of them is textarea managed by CKEditor. When the user wants to submit the form, I want to check whether he entered values in all the fields. I know how I can check if CKEditor control has anything in it, but those could be "empty" HTML tags, without any text in it. How do I check for text? ...