My problem  I want to clean HTML pasted in a rich text editor (FCK 1.6 at the moment). The cleaning should be based on a whitelist of tags (and perhaps another with attributes). This is not primarily in order to prevent XSS, but to remove ugly HTML....
I'm using FCKeditor to edit the contents of a div. This content div has an ID set so my CSS can target the p, li, img, etc tags contained. I want the FCKeditor's contents to look the same as my div's contents. I have @import'd my styl...
i am trying to validate using JavaScript if the fckeditor value is blank or not but with no luck.  i am creating the Editor using javascript :  var oFCKeditor = new FCKeditor('txtMessage');                                                  oFC...
Is it possible to apply a keyboard shortcut to a particular style from Styles drom down in CkEditor? I searched their docs but I could not find a solution for my case.  Here is screenshot.    Here I want to be able to apply a keyboard shortcut to yel...
I am yet to find an actual solution to this problem.  In FCKeditor 2, when using PHP integration method, any html element that is passed to the editor will have the css styling stripped form it.  Therefore this:  <div style="color:#000;backgro...
So I am using FCKeditor and the problem I am having is that when the user writes the document sometimes info is copied from Word, other times it is written directly in the editor and other times it could be done both ways.  What this leaves me with i...
I was wondering if anyone knew if there was a toolbar config name you could add to ckeditor that gave you buttons to wrap content in heading tags?  Just like the bold button for example, highlight the word and click 'h1' or 'h2'?  I&#...
I'm working in Ruby On Rails 2.3.8 and I need to use a text editor in which I could upload images.  Currently, I'm using TinyMCE, but doesn't have that feature. So, I've tried the TinyFCK, but I could not make it work (it uses PHP, so...
I uploaded an image to my server. Now I want to remove style attribute of <img> because I don't want inline styles like height and width, just initial size.  So, is there any method to execute in    window.parent.CKEDITOR.tools.callFunction...
I have this function in my site and i'm getting the erorr Error: TypeError: parent is undefined  is there another way to target the parent frames this worked fine until the upgrade  function MyClass() {     this.UpdateEditorFormValue = function()...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.