fckeditor

Inserting at the very end in FCKeditor

FCKeditor has InsertHtml API (JavaScript API document) that inserts HTML in the current cursor position. How do I insert at the very end of the document? Do I need to start browser sniffing with something like this if ( element.insertAdjacentHTML ) // IE element.insertAdjacentHTML( 'beforeBegin', html ) ; else ...

How do use fckEditor safely, without risk of cross site scripting?

This link describes an exploit into my app using fckEditor: http://knitinr.blogspot.com/2008/07/script-exploit-via-fckeditor.html How do I make my app secure while still using fckEditor? Is it an fckEditor configuration? Is it some processing I'm supposed to do server-side after I grab the text from fckEditor? It's a puzzle because...

A sample for jQuery based WYSIWYG Editor demonstrate OOP javascript

Want a WYSIWYG jQuery Editor as an example to illustrate how to use jQuery to built OOP javascript component. P.S. It is so good stackoverflow can use markdown... Would be a heaven if users would love such thing too ...

Stop SubText/FCKEditor messing up the HTML

I'm trying to put together a blog, and have gone with SubText and I've just installed SyntaxHighlighter but it doesn't seem to work properly. SubText or FCKEditor seems to tamper with the HTMl, inlineing everything in the pre tags and placing line-breaks at the end of each line. Bad times! Anyone know how to stop this? ...

Maximum Number of characters with FCKeditor

Have you determined a maximum number of characters allowed in FCKEditor? I seem to have hit a wall. It will display the text to be edited, but changes don't get posted back to the server - only the original text gets posted back to the server. I am assuming that the changed text is not copied back to the hidden input field. This prob...

FCKeditor vs TinyMCE and XHTML Compliance

I'm after (short) opinions on FCKeditor vs TinyMCE and whether either or both are XHTML compliant. In the interest of keeping with the spirit of stackoverflow, if someone has already made your point, just upvote them. Thanks in advance. ...

Is there a textarea and or rich text editor (like FCKEditor) which allows the user to follow links (click them with the left mouse button) that render in them while entering?

For example, the markdown editor in stackoverflow does not allow you to 'click' the links you add as your entering data into the editor. I would like to render a text area pre-populated with some links to lab results that the user can choose to review while making their comments. ...

FCKeditor Plugin Issues

I am a complete beginner trying to develop for FCKeditor so please bear with me here. I have been tasked with developing a custom plugin that will allow users to browse a specific set of images that the user uploads. Essentially the user first attaches images, then uses the FCKeditor to insert those images. So I have my plugin directory...

How do I stop FCKeditor reverting html entities back to their unicode characters

I am having a problem with FCKeditor reverting html entities entered in the source view back to their original unicode representations. For example when I enter € into the source view, switch to html and then back to source view, the entity is replaced by an actual € symbol. The bigger problem, as a result, is that this unicode ch...

How to set the default location of the FCKEditor file browser?

I'm working the the image upload piece of the FCKEditor and I've got the uploading working properly but am stuck with the server file browser. You can see in the dialog above has a Browse Server button which pops up the following dialog The problem is that I have no idea which folder the file browser is pointing at. I've set the U...

How can I enable live preview for FCKeditor in an ASP.Net site?

Over in this question, Scott writes that it is possible to get the current HTML for what's written in the FCKeditor by using FCKeditorAPI.__Instances['instanceNameHere'].GetHTML(); Could someone provide step-by-step instructions on how to accomplish this in an ASP.NET page? All I currently have so far in the .aspx file is this: <%@ Reg...

Internet Explorer: What happens when you select a non-existing file for upload in an HTML form?

On Internet Explorer, the standard HTML file upload form also allows for direct input of the file name (instead of using the file selector dialog). This makes it possible to enter non-existing files. On other browsers (which do not let you do that) I suppose this case can still occur if you delete the file after having selected it. In o...

FCK Editor Alternatives

I've been using the FCK Editor for several of my client sites in the past. Recently due to some new browser security updates(I'm assuming) some of the functionality is now breaking. I was planning on updating those sites to the most recent version, but sometimes I think the FCK is overly complex and tends to confuse my clients more tha...

Submit with JQuery in firefox 3 & opera in a modal dialog box from SimpleModal

I'm trying to submit a form who is rendered in a SimpleModal dialog, but my submit is never called when I'm using FF3 & Opera (Chrome, Safari and IE works). I use the following code: function ShowModal(rendercontainerid, modalcontainerid, url) { if (url == '') return; $.get(url, function(data) { $(rendercontainer...

How do I remove Word markup crap when inserting to a form?

I'm building a CMS in PHP and one dread I have is that the users will have to fill the data in from existing Word (and Excel, but nevermind that) documents. Now, I've seen what happens when they carelessly copy and paste from Word to a textarea: the database got filled with crap markup. Now, I could certainly strip all markup myself, bu...

The server didn't send back a proper XML response...

I'm using FCKEditor in that when "Browse Server" button is clicked the following error is thrown. The server didn't send back a proper XML response. Please contact your system administrator. XML Request error: Not Found(404) Requested URL: /fckeditor/editor/filemanager/connectors/asp/connector.asp?Command=.... I...

Multi-instance of FCK in dotnetnuke.

Hi, I got a problem when I put 2 instances of FckEditor to a page in dotnetnuke. sometimes, I got empty text when I call the text property. Anyone helps? ...

How to set configuration or server to upload image in FCKeditor based on ASP.NET MVC?

I am using FCKeditor as web editor in my asp.net mvc beta application. I inserted FCKeditor in Create.aspx page and every function of FCKeditors works well except image file uploading from my local pc :( I changed some configuration as FCKeditor's document Here's I changed, fckconfig.js var _FileBrowserLanguage = 'aspx' ; // asp ...

Having problems getting images to display within FCKEditor within ASP.NET website.

Hi, I'm having a problem with the FCKEditor html editor for ASP.NET in that when trying to insert an image within the editor and then clicking "browse server" in the Image Properties dialog I get an "page cannot be found" error. I want to get it to show all the files in the "images" folder. The website is set up as follows:- \ Root ...

How do online text editors work?

I am trying to develop an Online editor (like FCKEditor/etc) but I have no idea how they work. I know that the WYSIWYG ones have Javascript and IFrames, but how do they actually work? I'm especially curious about having a real-time preview of what's being typed into the editor. ...