fckeditor

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...

Retrieving values from fckeditor in code behind in c#

i am using fckeditor in my page in the code behind file i want to retrieve the value of fckeditor what i am doing is FckEditor objFckEditor = new FckEditor(); string abcd = server.Htmlencode(objFckEditor.value.trim()); i have also imported using FredCK.FCKeditorV2; in the top but it is returning only null value ...

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 ...

hiding controls in FCKEditor

i am using FCKEditor but i dont want all the buttons that are in the toolbar area i want only some of them is there any way to hide them using css or javascript or in any other way. ...

retrieving the value of div

iam using an empty div in which i am assigning values through an external javascript via ajax call iam also using an fck editor what i want to do using an internal javascript i want to set the contents of that div in the textarea of fckeditor but in the internal javascript when iam accessing the contents of that div then it is showing "u...

Using <b> in fckeditor

i want to print some default string value in bold but i am using tag but it is not rendered as bold rather it is showing it is printing the same etc var defaultFCKValue = '----Original Message---- \n'; defaultFCKValue += '<b>From:</b> ' + from + '\n'; defaultFCKValue += '<b>Sent:</b> ' + date + '\n'; ...

fckeditor not working in firefox

var oEditor = FCKeditorAPI.GetInstance("<%=FCKeditorSelfDocument.ClientID %>"); var oDOM = oEditor.EditorDocument; oDOM.body.innerText = 'Hello'; it is working fine in IE and chrome but not working in firefox 3.6.4 ...

add embedded elements in fckeditor plugin

I am try to create a new fckeditor plugin similar to fck flash plugin, that will write html in the following format <object id="id"> </object> <script type="text/javascript"> someJavascriptcode(); </script> I can create object element using e = FCK.EditorDocument.createElement( 'object' ) ; SetAttribute( e, 'id', 'id1' ) ; how ...

Read file containing PHP without parsing PHP

I am using a wysiwyg editor in a web app. It is FCKeditor. In order to edit a file, other than loading javascript, my web form that edits the the file looks like this: <textarea><?php include('myWebDoc.html') ?></textarea> I also tried this: <textarea><?php file_get_contents('myWebDoc.html') ?></textarea> Both attempts end up parsi...

Fckeditor display images issue

Hi guys.. I am trying to get the content from mysql database and display it in my fckeditor. My content management system pages are under my server root/CMS folder... (root/CMS/myCMSpage.php) and my website pages are under root. When I get the root web page content from mysql, since the images folder is under root/images/, the fckedit...

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

photo gallery for CKEditor

I need to integrate a photo gallery to the CKEditor. I have a list of albums to be shown on the page. I need to have an custom icon in the CKEditor, which shows the list of albums on click of that. I need to have an option to select the album and show the album inside the page as like Galleria. I need to be able to show the gallery be...

Microsoft JScript runtime error: 'EditorDocument' is null or not an object

var oEditor = FCKeditorAPI.GetInstance("<%=FCKeditorSelfDocument.ClientID %>"); var oDOM = oEditor.EditorDocument; i am doing something like this for instantiating my fckeditor but some times in IE it is throwing exception like "Editor document is null or not an object" ...

Image uploading problem with FCK editor

I am getting an error server didn't reply for xml request.please check your configuration. Please assist me regarding this. ...

disable adding of <p></p> tags in fckeditor

how to disable automatic adding of <p></p> tags in Fckeditor. When i try to get any post data from fckeditor, it gives me the data wrapped in how do i remove/disable those <p></p> Thanks in advance for any suggestions and reply ...

Which folders can FCKEditor run without?

We have FCKeditor in one of our projects, but we are striving for a stream-lined build process. I've noticed there seems to be a lot of bloat within the FCKEditor (images, HTML files, language.js files etc.) which are probably not used. Does anyone know which folders/files can be removed without affecting its functionality? ...

CKeditor forcePasteAsPlainText not working in 3.2..

I've heard mixed responses about this working/not working . Mine happens to not work since I've upgraded. I upgraded rails by using a rails plugin that install rails 3.2. http://github.com/galetahub/rails-ckeditor For non-rails users, this basically just installs the latest version of CKeditor with an external yaml file for handling...

How do you remove CKeditor's new image properties' photo upload, or browser server properties?

I just upgraded my ckEditor, and it's added a few options I don't want right now. Of them are to browse images from files rather than just include them as urls. How do I remove those options? ...

How to change the style of fck editor

Hi i have php site. And iam using a style_client.css for client side. Suppose,in this , for '<h1>' tag i have given red color. In admin side , i have integrated fckeditor, Suppose if i put a content containing '<h1>test</h1>' in fckeditor, In fckeditor, it shows in red. That means fckeditor has another style sheet with diffeent style...

How to integrate custom css to fckeditor?

Can anyone say How to integrate custom css file to fckeditor or which are the files need to edit and how ...