ckeditor

Ckeditor: Using Firefox built in spellchecker

I feel a little caught between a rock and a hard place here. I want to use Firefox's built in spell checking without disabling Ckeditor's context menu as this renders it impossible to work with tables. Is there a way of getting the best of both worlds here? ...

CKEditor Plugin - Insert PHP, variable not included

Hello! I've got a problem with a CKEditor plugin. I need PHP code to make use of a MySQL database and several variables the CMS (WebsiteBaker) gives me. The CKEditor plugin should open a new dialog, gives several links defined in the PHP part you can choose of. In the plugin.js the code CKEDITOR.dialog.add('wbdropletsdlg', this.path + ...

Intercept CKEditor keystroke

Can I intercept a keystroke in CKEditor (the tab key) and replace the default behavior? I want the tab key to insert a div with margin. ...

How to include CKeditor which is outside of your document root

Hi, Is it possible to use CKeditor which resides outside of your document root inside document root application? For e.g. I am having directory structure like: My Documentroot C://xampp/htdocs/example.com My CKeditor is outside and parallel to document root say C://xampp/lib/ckeditor How can I call ckeditor.js whi...

Auto text in CKEditor

How can i change CKEditor for an additional functionality of auto replace text (auto text). For example if I type US, it should automatically get the corresponding word for this acronym and replace it with United States. The values will be maintained in DB. ...

Wrap CKEditor WYSYWG content with additional (non editable) HTML to apply element specific formatting

I am attempting to have the WYSYWG view within CKEDITOR display with the same formatting as it will within the final rendered HTML. I am currently applying the correct CSS through specifying the contentsCss property when loading CKEditor. This works fine for some of the formatting, however a lot of the css formatting is applied to elem...

[ckeditor] apply font size using execCommand

Hi all, var wgetFrame = window.frames[0] wframeDoc = wgetFrame.document; editor.focus(); editor.execCommand('bold'); wframeDoc.execCommand('forecolor',false,'#00ff00'); wframeDoc.execCommand('JustifyCenter', false, null); wframeDoc.execCommand('fontsize', false, 15); (i use the code above as a plugin in CKEditor) bold, forecolor and...

CKEditor dialogs: referencing input fields by ID

Each input field in the CKEditor dialogs are renamed with a unique number, but the number changes depending on what options are visible. I need to reference 'txtUrl' which has an id something like #35_textInput. So far I have discovered that something like this should work: alert(CKEDITOR.instances.myElement.document.$.body.getId('txt...

CKEditor disable HTML transformation

I've got a problem with CKEditor. Especially the br- and img-Tags are transformed to not be valid. In the source-view I see and but when I inspect the rte-source the slashes are gone as well as when submitting the form. Can someone tell me where I can disable this or enable XHTML-conformity? The embedding page is XHTML. Thank to any h...

CKEditor configuration, prefer img tag atrributes over inline style

On su it was suggested to ask this here... Looking for a way to disable a feature in CKEditor that messes with attributes height and width on my and converts them into inline styles. The version of CKEditor is 3.2 and I have access to config files. Along the same lines is there somewhere an overview (or procedure) for changing the way...

CKEditor controls show in IE8 and FireFox but not in Safari or Opera

I have a PHP developer working on a site for me, using CKEditor 3.2, and the editing controls appear perfectly for him in IE8 (Windows) and for me in Firefox 3.5 (Mac). But my other browsers on Mac (Opera 10 and Safari 4) show no editing controls but only the word "FALSE" centered above the text area. The textarea contains the "raw HTML...

Adding CKEditor through javascript onclick event adds a CKEditor to the DOM but does not allow me to enter text into it. Why?

Hi, I'm adding a ckeditor to my form using the onclick functionality - i.e., when the user clicks a button, the ckeditor is added to the form. I'm echoing out the html generated when a ckeditor is added to a page through the javascript function. The ckeditor is added, but the text area cannot be modified. is it because i'm adding the h...

ckeditor using ajax

I am preparing a script. I am using AJAX(load()) with jQuery. I am getting a page which includes textarea with ckeditor by load() jQuery AJAX function. Although I include ckeditor's.js file, loaded page doesn't includes javascript file and shows a normal textarea without ckeditor. How can I load file which includes textarea with ckedi...

Filtering output in CKEditor

I want to change the output of CKEditor whenever something calls getData() to return the contents of the editor frame. In this case I have several 's with the "_cke_code" attribute set with some encoded data that I want to transform when exterior code calls getData(). The documentation for CKEditor is patchy at best so I'm kinda stabbi...

Problem inserting JavaScript into a CKEditor Instance running inside a jQuery-UI Dialog Box

Hello Overflowers! Here's what's going on: I'm building an app (using PHP, jQuery, etc), part of which lets users edit various bits of a web page (Header, Footer, Main Content, Sidebar) using CKEditor. It's set up so that each editable bit has an "Edit Content" button in the upper right that, on click, launches an instance of CKEditor...

Safari Jquery Dialog and Ckeditor

Hi I am using a CKEditor in a Jquery Dialog... and in Safari the first time it loads it works but each subsequent time it is blank and no buttons or anything else works in the ckeditor... I have looked at http://stackoverflow.com/questions/2539855/ckeditor-instance-in-a-jquery-dialog and added the suggested dialog-patch.js but it does...

Referencing text input fields in CKEditor dialogs

Hi, I've been playing around with this for a couple of weeks now with no success... In a CKEditor dialog, text input fields are renamed with a unique number - e.g. id: 'txtUrl' will become something like id='27_textinput'. How do I reference this? // I feel it should be something like: var myfield = CKEDITOR.instances.myElement.docum...

ckeditor file browser

I've lost the link to free file browser which can be integrated with ckeditor. It has the number '4' and .NET in the title and it's written in PHP. Does anyone know the name of this program? ...

CKEDITOR - Is there anyway to prevent formatting code in SOURCE mode?

I've spent the good portion of my day trying to figure this out, and I figured I'd finally just give in and ask. How can you prevent ANY automatic formatting when in SOURCE mode? I like to edit HTML source code directly instead of using the WYSIWYG interface, but whenever I write new lines, or layout tags how I would indent them, it al...

How to add language plugin to ckeditor?

I was trying to add Hindi input in Ckeditor but I did not get that.Then I found indic plugin to language selection from ther you can select language and input text in that language but i dont know how to add that plugin to CKeditor. Please help on this. ...