ckeditor

CKEditor throws exception: 'n' is null or not an object

I have traced the root of this exception to the sourcearea plugin of CKEditor v3.0.1. It occurs (occasionally) after the user has entered content into the editor and he then clicks on the small arrow in the upper right hand of the editor (close toolbar arrow). Has anyone seen this problem? We are using IE6. onResize(){ textarea.hi...

How to make CKEditor render text with a CSS ?

I have a CKEditor used to edit a text in a web-page. In the web-page, the text renders in its context and therefore follows the page CSS formatting. My question is how to tell CKEditor to apply a CSS style-sheet to the editor rendering ? Without of course changing the generated source ? My code : <textarea class="ActuContent" name...

ckeditor echo php variables?

Hello All, Using the wysiwyg CKEditor I stored the following into MySql: <p> Here is the information that we would like to have show</p> <p> &nbsp;</p> <p> Project:<?php echo $project; ?></p> I need to echo this content as $content and have the $project variable populate from _POST data. When I do this however the result looks l...

Can any of the rails wysiwyg plugins easily submit all images to a controller rather than a file upload path?

I've tried ckeditor and fckeditor plugins, and while easy-fckeditor works rather nicely, it drops my files in a common directory. If I have overloaded image names or versions, they get clobbered. FCKEditor is great at the present time, but I'll would prefer to be able to capture the image upload into a controller, similar to paperclip,...

Changing toolbar size, enlarging icons in CKEditor

I want to enlarge CKEditor's icons to 32x32 pixels. I am working on it right now, taking one of the standard skins, changing all the dimensions, converting buttons.png's offsets and hoping there are not too many side effects. Before I spend half a day or more re-inventing the wheel: Does something like this already exist? I don't care a...

using CKEditor with jQuery validation plugin not working

I'm using CKeditor and the jQuery validation plugin from basistance. My textarea (with the CKEditor on it) is being validated by jQuery, but that only works after the second click on my submit button. In short: the first time I submit the form when data is entered in the CKEditor, it says "field is empty". The second time it says it's o...

CKeditor integration with FCKeditor filebrowser

Hi everybody. I'm using CKeditor 3 and I need integrate a filebrowser/uploader. It need to be free. I tried to integrate the one what come with FCKeditor but I allways got and xml error: http://pastie.org/743024 I'm trying to do it in this way: <script type="text/javascript"> window.onload = function(){ CKEDITOR.config.language='es...

jQuery validation plugin + CKEditor - validate when typing

Hi! I'm using CKEditor on a textarea and the jQuery validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) With the jQuery plugin it's possible to mark a field as empty or required. When a field e.g. "product name" is empty the field will be marked as invalid when submitting the form. But, while typing in a...

How to insert image/area map into picture from CKEDITOR 3.0

how to insert an IMAGE/AREA MAP in an image of CK EDITOR such site http://martinezdelizarrondo.com/imagemaps/ Thanks ...

Where is the dialogs' source code in CKEditor?

Could somebody with experience in CKEditor give me some pointers where to edit the structure and contents of the "insert Link" and other dialogs? At the moment, I want to modify the width of the link window, so that changing tabs doesn't result in the dialog being resized every time. I'm sifting through both the minified and unminified...

Where can I get SCAYT documentation, or algorithm?

Hi, I am using CK editor, now I want to understand SCAYT, but the scayt plug-in provided by SPellchecker.net is minified, and not well documented but I need to understand some of the features. Can anyone provide me with such type of document or any algorithm related to this. thanks in advance. ...

Variable outside event handler's scope

I am having a Javascript kerfuffle that goes beyond my knowledge of the language. I am creating a custom plugin for CKEditor. The plugin is an IFrame that opens in a DIV generated by CKEditor. Inside the IFrame, I am displaying a number of images. If the user selects one of those images, the HTML code necessary to display that image i...

Disabiling CKEditor, Re-enabling with JS

Hello, I have the following: POST page that allows users to write text in CKEditor VIEW Page, that views the text in CKEditor How can I make CKEditor in the view page READ only, meaning the user can not edit the text in the note? The reason I want to use CKEditor in the view page is for 2 reasons: 1. I can use JavaScript to move the ed...

CKEDITOR, AutoFocus on the text editor onLoad

Anyone know how to autofocus on the CKEDITOR text area on page load? Currently the user has to click in the text area before they can start typing. Like Google, I'd like the page to load and the user can immediately start typing w/o having to click the text area. Here is the current code that initiated CKEDITOR <script type="text/jav...

JQUERY BInding to an iFRAME

Hello, I'm trying to build a "JS Confirm Below leaving the page function" The issue I'm having is that on the page I need this confirmation func I'm using CKEDITOR which creates an iframe for the text editor. // Javascript code that controls the onbeforeunload event function setConfirmUnload(on) { window.onbeforeunload = (on) ? un...

Get computed font size for DOM element in JS

Is it possible to detect the computed font-size of a DOM element, taking into consideration generic settings made elsewhere (In the body tag for example), inherited values, and so on? A framework-independent approach would be nice, as I'm working on a script that should work standalone, but that is not a requirement of course. Backgro...

CKEditor, AJAX Save

Can you provide an example on how to setup CKEditor to save via AJAX using the Save button in the CKEditor toolbar? I'm interested in creating a CKEditor AJAX save page but am not seeing any examples on their site. Thanks! ...

CKEditor, 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? ...

Why would some buttons in CK Editor not work?

I am usuing CKEditor (version 3.0.2) in a site that I built. I have used it before in other sites and never had any issues. In the current site any of the buttons that would have opened a JavaScript Popup will not work. Thinks like Bold, Source, Save all work fine. But thinks like Add Image, Link, Anchor, Table, Smiley, Special Character...

Keyboard shortcuts JQUERY - Command+S, Control+S

I have a text editor on my site and I want users to be able to use keyboard shortcuts to save, just like they would in Microsoft Word. For the Mac: Command + S For the PC: Control + S What is the best way to accomplish this in JQUERY? Also, this will be used to save content in CKEDITOR, which uses an iFrame, not sure if that's an issue...