ckeditor

How to customize the CKEditor's Styles menu in Joomla?

In a Joomla website, I have enabled the CKEditor as default text editor. I want to define some custom styles, that will be displayed in the Styles menu. I have found documentation of the CKEditor that describes how this should work, but I cannot figure out how to implement this in my Joomla site. As per the documentation, I have tried t...

Changing content CSS on the run in TinyMCE or CKEditor

Hi! I have a form in which I want to edit a HTML template. It has 2 textareas, one for the HTML and another one for the CSS. I'd like to use either TinyMCE or CKEditor for the HTML textarea. Is there any way to change the content CSS in either of them to match the CSS in the CSS textarea on the run, so when I change the CSS it is auto...

wysiwyg editor opensource

Hey I am looking for a Ck editor Ck finder that is free and open source. http://ckeditor.com/ MIT License would be the best XD but even a GPL one would be awsome. Personally For my site I use Ck and love it but I want to release it as a framework : / ...

Why is my DotNetNuke page jumping to CKEditor rich text input box?

I am having a problem with this page in Firefox (Chrome and IE seem OK): http://beta.vomero.co.uk/Guestcomments.aspx When the page loads, Firefox jumps to position the rich text box (CKeditor) at the bottom of the page. I don't think this is related to the jQuery Accordion because if I add rich text boxes on other pages the same jump o...

Ckeditor toolbar buttons, how do you get a button to wrap heading tags.

Hello. 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've looked in the docs but I cant seem to find a comprehensive list of all the possible toolbar but...

Why can't I put block elements inside block elements using CKEditor?

Why can't I put block elements inside block elements using CKEditor? Unless I use the code view and do it manually I can't seem to do it. Reading on a forum I read the quote "Block level elements inside block level elements is against the W3C spec" is this true? ...

How can I add the table function buttons to the toolbar in CKEditor?

How can I add buttons to the toolbar of CKEditor to do some of the common <table> functions, such as "Insert Row After", "Merge Cells", etc.? Specifically I'm just looking for the short names that generate these buttons. So fill in the blanks below: config.toolbar_Custom = [ ['Bold', 'Italic', '-', 'Table', '????', '????', '????',...

How to prevent CKEditor from stripping < and > (greater-than/less-than)

Every time I enter < or > in a CKEditor window, save, and then come back to it, CKEditor replaces them with whatever was typed within the brackets and the accompanying end tag. For example: if I type <configuration details>, CKEditor will assume it is an HTML tag and put <configuration details></configuration details> in the html source...

WYSIWYG Editor for a task manager (checklist)

Hi, I am looking to develop an html task manager where users can have multiple tasks in groups. I currently allow them to define their tasks in a textarea. E.g. :Group 1 task 1 task 2 :Group 2 task 3 task 4 :Group 3 task 5 task 6 I am looking for a WYSIWYG editor that can make it more intuitive for users to enter many task or ...

Why do my dynamic CMS forms not load everytime?

I'm using CKEditor to created the portion of my CMS for the user to input content. My CMS is a bar/menu at the top with the sections of the site for the user to create, update, or delete an entry. When the user selects an option I send the request for the form items to php using jquery AJAX $.post. The function returns the code and I us...

CKEditor PHP integration

Hello! I am using CKEditor with PHP. Using the sample PHP where the $code variable gets echoed printing the code that triggers the CKEditor to show. I do the same only in a real layout and the what happens is the Editor engulfs the surroding HTML inside it as if it was the initialValue for it. Any idea why I am getting this, please? ...

Regex to replace FLV PLayer in PHP for CKEditor.

So I've got the following HTML code: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="quality" value="high" /><param name="movie" value="/uploads/flash/test1.flv" /><embed pluginspage="http://www.macromedia.com/...

Why does my jQuery UI Dialog lose the focus when it finishes the open effect?

I'm using jQuery UI Dialog for adding some news to my site. Every time I click add news button, the dialog should open with the text area. Actually, I'm using ckeditor replacing the textarea and it happens that I can't type inside the text editor due to focus issue (at least I think this is the problem). Check it out. As just as I clic...

uncaught exception: [CKEDITOR.editor] The instance already exists

I've included the CKEditor on my site. Everything works even though I get this JS error: uncaught exception: [CKEDITOR.editor] The instance "simple_editor" already exists. The code below is contained inside a PHP file which I include where ever I want the editor. I only have one instance of the editor per page. <textarea class='ckedit...

CKEditor add CSS styling to Preview and Editor

Hello! Is it possible to add CSS to style the Editor text as well as the Preview? The CMS has a different set of CSS files from the public part of the website and I want the editor to try (at least) and reflect the way it would look in the site. For example, all tags with a class of .floatLeft{float:left;margin:0 10px 10px 0;} I want...

CKEditor read contents + set uiColor dynamically

Hello! I want to validate a form where I use CKEditor for one of the inputs. When an input is wrong, I set its border and background to colors of red. Using JavaScript, how can I read the contents of the CKEditor? Also, how can I make the editing textarea red background and red border? Thank you. ...

How do I set a value in CKEditor with Javascript?

document.[form name].[textarea name].value=data; does not work $('#textareaID').val(data); does not work. These work without the editor applied. How can I set the value of the editor using javascript? ...

CKEditor with CKFinder - disable FileBrowser, Keep Upload functionality

Hello! I am using CKFinder integrated in CKEditor. I want to keep the Upload feature active, but scrap the Browse Server option as I don't want users doing this. How can I do this? Thank you. ...

CKEditor prevent the <p> at the begining

Hello! I am using CKEditor and what it does is add by default a at the begining of the content. Even if I set enterMode to be , it will only affect what the Enter key does, and keep the starting . The problem I have with that is that if a text starts with an tag, it will wrap the around that and the float:left on the image has no e...

Body persitant inline style in ckEditor

I'm trying all day to set up a peristant style attribute to the body tag of the ckeditor instance. I could not find something like bodyStyle in ckeditor.config api (only bodyId and bodyClass). So I was trying it myself, with the following solution (jQuery is used): $(this).find('textarea.editor').ckeditor().ckeditorGet().on( 'instanceRe...