Quantcast
Channel: CKEditor.com - CKEditor
Viewing all 2058 articles
Browse latest View live

CK Editor 3.3 does not work in IE 10

$
0
0

Forums: 

We are using CK Edior 3.3 in our applications, it is not working in IE 10, works in previous versions of IE and FF and Chrome.  Can you please advise if we should upgrade to the latest version of CK Editor?  The error in IE 10 is a Javascrpt error "Unable to get property 'toLowerCase' of undefined or null reference at getName"
 


directory structure problem

$
0
0

Forums: 

hi

At starting of the given http://docs.ckeditor.com/#!/guide/plugin_sdk_sample_1 tutorial

we assume give directory structure

  • abbr/abbr/ckeditor root/
  •       . plugins/
  •            . abbr/
  •                 .  icons/
  •                       . abbr.png
  •                 . dialogs/
  •                        .  abbr.js
  •                 .  plugin.js

but when i work on above mention structure  didnot work for me  and when i download the file from there i found the givenstructure

  • ckeditor root/
  •       . plugins/
  •            . abbr/
  •                 .  image/
  •                       . abbr.png
  •                .   plugins.js
  •                 .  plugin.js

but still work

CKEDITOR.dialog.add( 'abbrDialog', this.path + 'dialogs/abbr.js' );

 may i know the reason why the above path work and why script is not working with directory structure which is mention in tutorial?

Thanks

How to more than one extra plugin

$
0
0

Forums: 

config.extraPlugins = 'abbr';
config.extraPlugins = 'find' ;
config.extraPlugins = 'timestamp';

what should i do if i want to add all the above mention plugin in project

I asked because if i run  instruction timestamp overwrite find and abbr plugin

any way to stop the auto tag replacement?

$
0
0

Forums: 

I have plug in that inserts a div with nested span tag for formatting ( along with other stuff ). The editor is deleting the div tags. Is there a way to turn off the "Feature" that is screwing up the plugin?

 

How to set position of inline editor's toolbar?

$
0
0

Forums: 

We're using the inline editor on a number of fields. When the toolbar shows, it shows at the top-left of the field that's being edited. is there a way to make it show up at the top-right, or any other position?

Linking CSS to CKeditor on same page

$
0
0

Forums: 

Hi I know there is the ability to link css to the editor with:

CKEDITOR.config.contentsCss = '/mycustom.css';

However, I allow the user to change the CSS on the same page as the content. It polls every 10 seconds and destorys the old ckeditor instance and creates a new one.

The problem is that the css is not saved to a file, it is inline...so how would I add this to ckeditor on each refresh?

I would need to save the css in the css editing window as text, and then parse it to the ckeditor instance. is there a particular method to do this (specifically talking with regards to CKEditor 4).

Would I have to pass the variable like so:

CKEDITOR.config.contentsCss = &myvar;

Is that possible?

Wrong ToolBar location after moving tag that the editor is connected to

$
0
0

Forums: 

I have 2 tables each containing rows with one cell that can edit content using inline CKEditor. When I move rows from one table to the other - toolbar doesn't follow.Whenever the CKEditor is activated the toolbar pops up in the old position (the position it was moved from).

This only happens if the editor has been opened and then moved... I have tried to clear the left, top style properties - but that doesn't help.

Is there any way to "re-initialize" the editor positions?

Attachments: 

ckedior4.1 + jquery ui tab

$
0
0

Forums: 

I am trying to apply inline editing (http://ckeditor.com/demo#inline) to several tabs handled by jquery UI. The inline editor is working perfectly in the first tab, but in the other tabs, although I can see the editor and toolbar pop up in each tab, I found apart from the search icon, all the others have been disabled, also I cannot edit the contents.

It is seemed that the editor is in readonly mode. How can I cancel it?


code tag content not show in editor afer save

$
0
0

Forums: 

Hi there :)

Using CKEditor 4.1.1 Full on Drupal 7.22 with "ckeditor-7.x-1.13" module, when i create a content that have code tags, it's publish succesfully without any error but when i edit that published node, the content of code tags not shown in editor but steal in source.

an example of code tag: <code> -l </code>

see the attachments.

I have a site for Linux Command Line Interface in Persian lannguage at here and this is a big problem :(

 

Attachments: 

Installing magicline plugin

$
0
0

Forums: 

I would like to try the Magicline plugin but I am using CKE 3.5. Is this plugin only usable with CKE 4?

Mike

CKEditor Shortcut Problem?

$
0
0

Forums: 

Hi,

I want to use ckeditor but have questions about it? I was using cleditor and got error about shortcuts. For example in my editor I use Ctrl+S for my special action but after I set richtext editor my special action didn't work. I tried to fix it but couldn't. That's why I wonder If the ckeditor has the same problem? I want to disable richtext editor's some shortcuts like Ctrl+S so my special shortcut on Ctrl+S will work without any problem.

Thanks...

editor remove form fields

$
0
0

Forums: 

I insert the sumple web form into edtor, like this

<form method="post" >
<input name="listid" value="6" type="hidden">
Email:
<input maxlength="80" size="20" name="optin_email" type="text">
<input value="Submit" type="submit">
</form>

Editor remove all <form> and <input> fields.

But I need this form on my page...

Could someone please help me how to configure Editor not removing my web form .

 

 

Disable/remove context menu...Urgent!

$
0
0

Forums: 

I want to have the cut/copy/paste buttons on the toolbar but actually remove the context menu.

When I try doing this

config.removePlugins = 'contextmenu';

I get the following script error

Line: 219
Error: Plugin "contextmenu" cannot be removed from the plugins list, because it's required by "tabletools" plugin.

Is it possible to keep the toolbar buttons but remove the context menu?

Thanks for any help

CKEditor and CKFinder integration problem in form view

$
0
0

Forums: 

Hi everyone,

I have a problem about ckeditor and ckfinder integration in form view.

   protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                FileBrowser fl = new FileBrowser();
                fl.BasePath = "ckfinder/";
                fl.SetupCKEditor(CKEditorControl1);
            }
        }

When I write these codes in page load and use ckeditor without formview everyting is fine and ckfinder integration works well,
     


But if I use ckeditor in form view I get error... 

            if (!IsPostBack)
            {   
                CKEditorControl cke1 = (CKEditorControl)fw.FindControl("CKEditorControl1");
                FileBrowser fl = new FileBrowser();
                fl.BasePath = "ckfinder/";
                fl.SetupCKEditor(cke1);
            }

ERROR MESG:
 

SetupCKEditor expects an CKEditor instance object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: SetupCKEditor expects an CKEditor instance object.

Source Error:
 

Line 25:                 FileBrowser fl = new FileBrowser();
Line 26:                 fl.BasePath = "ckfinder/";
Line 27:                 fl.SetupCKEditor(cke1);
Line 28:             }
Line 29:         }
I checked the forum and web but couldnt find anything,
Please somebody help about that.

Best regards.

CKEditor is Undefined

$
0
0

Forums: 

I'm using the same config source file in 2 different pages. One loads my editor successfully the other throws a script error 

Line: 6
Error: 'CKEDITOR' is undefined

How could this be when they are loaded in the exact same manner?!


I can not add Syntaxhighlighter to CkEditor

$
0
0

Forums: 

when I add any of the Optional plugin (eg Syntaxhighlighter Interface) CkEditor stops working.

What is wrong? Tell me please.

ckeditor load external css

$
0
0

Forums: 

I am trying to apply external css stylesheet to the contents inside a ckeditor. I tried to apply the ways mentioned in documentation, e.g.:-

//config.js

CKEDITOR.editorConfig = function( config ) {
    config.toolbar = 'TadToolbar';
    config.toolbar_TadToolbar = 
    [
        ['Source','-','Templates','-','Cut','Copy','Paste'],
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
        ['Link','Unlink','Anchor'],
        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
        '/', 
        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        ['Format','FontSize','-','TextColor','BGColor']
     ];
    
///some more config here
    config.extraPlugins = 'stylesheetparser'; 
    contentsCss = 'http://cheaper.com.hk/admin/try.css';
    config.stylesSet = [];
};

and also in the page:-

//test.php

<script>
CKEDITOR.replace('editor_en', {
    fullPage: true,
    allowedContent: true,
    contentsCss : 'http://cheaper.com.hk/admin/try.css'
});
</script>

but the css file still cannot be appled:-

http://cheaper.com.hk/admin/test.php?id=22

is there anything I can do further? Thanks!

Save the text

$
0
0

Forums: 

Hi,

I'm a french student developper and i need of you today.

I would save my text after change.

Per exemple : 

- I have my text with div id="editable" contenteditable="true"

- I change the text

- I save my new text

 

 

My dev :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="php/html" charset="iso-8859-1" />
    <link rel="stylesheet" media="screen" type="text/css" title="index" href="index.css" />
    <title>Accueil</title>
    <meta name="description" content="" />
    <meta name="keywords" content=""  />
    <script type="text/javascript" src="javascript/ckeditor/ckeditor.js"></script>
    
</head>

<body>

<div id="tete">

</div>

<div id="menu">
<?php
include("menu.php");
?>
</div>

<div id="corpsindex">
<div id="editable" contenteditable="true">
    <h1>Inline Editing in Action!</h1>
    <p>The div element that holds this text is now editable.
</div>
<script>
    // Turn off automatic editor creation first.
    CKEDITOR.disableAutoInline = true;
    CKEDITOR.inline( 'editable' );
</script>
</div>

<div id="pied">
<?php
include("pied.php");
?>
</div>

</body>

</html>

 

Thanks !

Can no longer add classes to links!

$
0
0

Forums: 

Hi all,

 

Once reason I've always thought CKEditor was great was because I could do simple things like add classes to links.  It always lacked on the UI side, but now that the UI is looking great, it seems some functionality has been taken away!  I can no longer add classes to links.  In fact, if I add a class manually in source view, when I go back to wysiwyg view, the class has been removed...

This causes issues if I want to create links as buttons by adding a button class.

Can someone please help with this?

MyBB CKEditor Plugin

Viewing all 2058 articles
Browse latest View live