ckeditor

Drupal / CKEditor and input filtering, how to return clean value?

I have a Drupal set up with CKEditor and CCK, with a custom node which has some additional fields using CKEditor, one field being 'related_news'. I'm trying to figure out the best practice for returning that data safely. What I have right now is: $node = noad_load(35); <h3>Related News</h3> <?php print $node->field_related_news['0']['v...

CKEditor force paste from word?

I have a application using the CK editor, where users typically paste content from word. When the paste from word function is used, then the content is cleaned properly. The problem is with users not using paste from word, then the HTML gets into a state that our application can't clean. Has anyone found out a way of either forcing usin...

Text editors are not working in javascript div pop up

Hi, when i try to integrate the social engine with ckeditor ( social engine style is pop up update ) i load the ckeditor in the pop up but it does not focusing the text area i think the javascript files are conflict with each other is any one kanow please tell me the solution ...

CKeditor: Add a custom tab to a dialog with a "Browse server" button

Hello, I am using CKeditor and I have written a custom filebrowser, which works quite well. At the moment I am trying to modify the image dialog. I want to add a tab, which allows the user to enable prettyPhoto for the image. Therefore I need a button, which calls the filebrowser. I added the filebrowser option to my element, but when I...

CKEditor : How to apply/load automatically a template in the editor ?

Hello everyone, I'm using the WYSIWYG editor CKeditor in one of my websites. In order to be more user friendly, I would like to load automatically a specific template each time the editor is used. The customer has to apply this template in order to have a good integration with the rest of the website (which is designed with content disp...

CKEditor:Custom Tag Wrapper Buttom

Hey, I want to create a custom button in CKEditor. The button should work exactly like "bold" and "italic" buttons. I want to wrap the html with an h2 tag. I know I can use the styles dropdown but I would like to have a special button for it. The button should get a "clicked" icon when the cursor is on a text wrapped in h2 and by clickin...

How can i get content of CKEditor using JQuery?

Hello everyone. 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? ...

How can I listen for the drag/drop event in CKeditor?

I'm building an application that requires the user to drag and drop html elements onto a CKeditor instance. I need to listen for the drop event so I can take action to remove the element that was dropped onto the editor. I see that there's a 'paste' event, but it's not triggered by the drop. Here's my simple test, using the CKeditor jqu...

How to position my custom ckeditor plugin's icon on right top of the ckeditor toolbar.

How to position my custom ckeditor plugin's icon on right top of the ckeditor toolbar. ...

Create a dropdown selection box like "size" in CKeditor

Hello. I want to create a drop down menu in CKeditor like size drop down menu to determinate the line space in text editor. How to construct this plugin. Please Help Me ...

Body Color using CKEditor

Hello, I have a situation on CKEditor that I would like to resolve. I use a jQuery color picker to add background color to a DIV tag. Then I allow the user to edit the Div tag contents using CKEditor. However, I noticed that there isn't a simple way to take the div tag's background color and then make that as the background color of the ...

[rails3] permanentredirect s3 for unspecified endpoint

I'm experimenting with s3 but im running into a permission problem (i think). Output: AWS::S3::PermanentRedirect in CkeditorController#create The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. I'm using ckeditor. My Ckeditor::Picture class includ...

Text Editor(ckeditor) not working inside my DIV box

Hi I have a div box that opens on my page and then loads a html file which contains CKeditor to deal with the text area. The problem is that if I view the html file in my browser everything works well and I have all the editing options. When I use it in my JS script I get nothing. Can anyone help me please ? The JS code that does this ...

CKEditor API questions

I'm integrating the CKEditor in a WinForms application and I would like to know how can I: add a custom button and open a custom WinForms dialog call 'Cut', 'Copy', 'Paste' from code in order to integrate the commands with my application cut, copy and paste insert some HTML text at the position where the mouse cursor is placed enable t...

webpage css overrides ckeditor 3 style

I've got a page where I load screen.css which contains an evil rule, which for various reasons I cannot remove or modify: a { background: red !important; } I use CKEditor 3.x on the same page and the problem is that, no matter which style I choose (v2, kama, office2003), the buttons of the editor look red. FCKeditor 2.x didn't ha...

Is CKeditor safe for letting end-users submit content?

I am about to let some users publish articles on my site. To make it easier for them, I was thinking of using a CKeditor, let them have links, images, formating, etc ... However I was thinking of javascript. Can someone inject javascript or will CKeditor clean it up? Do I need my own filtering? ...

CKEditor textarea extending out past box in Chrome and Safari

In FF, Opera, IE the CKEditor is working and looks great. But in Chrome and Safari it is not sizing correctly, and is extending past the container that it is inside. I assume this is because Chrome and Safari are currently the most standards compliant. See the images below. Chrome Opera I tried removing all of my CSS files to see ...

HTMLPurifier Breaking Images

I'm trying to run HTMLPurifier on user input from a WYSIWYG (CK Editor) and the images are breaking. Unfiltered Input: <img alt="laugh" src="/lib/ckeditor/plugins/smiley/images/teeth_smile.gif" title="laugh"> After running through purifier with default settings: <img alt="&quot;laugh&quot;" src="%5C" title="&quot;laugh&quot;"> I h...

CKEditor - client side spell checker

CKEditor supports by default server side spell checker. There is any solution to integrate a client-side spell checker? P.S. I'm using CKEditor in a WinForms application. ...

ckeditor in asp.net

I have to use a ckeditor in my application but I dont know how to write the @ Register Assembly="" Namespace="" TagPrefix="" %> From where I could get the assembly? ...