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

Setting a default width for inserted image?

$
0
0

Forums: 

I've got CKEditor and CKFinder installed and working on my server. My question is, when a user is inserting an image to the news item and uploading it etc, you are given the width and height of the image as it will be inserted on the page, i want to force this to 640px wide and let it work out the height automatically, is there any way i can do this?

Thanks in advance

Andy


Problem with IE8 X-UA-Compatible meta tag

$
0
0

Forums: 

As main browser my customer use IE8, running in Compatibility mode.
In my site we have added <META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=8"/>
Works as it is supposed. When my editors open CKeditor, the editor runs in Compatibility mode.

We have tried to add <META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=8"/> into the iframe but did not change the behaviour for the browser.
Any ideas on how to proceed?

 

[Bug] Unwanted special characters added automatically

$
0
0

Forums: 

Hi everyone,

we've been using CKEditor for a while. Somewhere during last year, we upgraded our version (we were using a really old version). We started having some problems I will describe later.

Last friday, I installed the very last version, and now I have even more problems:
Inputing a line break, or using the bold/italic/underline button will write: â€‹
White spaces are replaced by: Â

I tried changing the entire site's encoding (files were in ANSI,  charset windows-1252, tried all utf-8). It doesn't seem to fix the problem (or caused other problems, such as the language file having question marks symbols instead of accented characters.

Do you know what would be the better way to fix all this? We have a lot of websites using CKEditor, having more and more problem as people switch to IE10 (even if my actual problem is on every browsers).

If you have a solution,  I would be truly grateful.

Thanks a lot, Antoine

How do I change the user name and password from my FCKeditor intro panel?

$
0
0

Forums: 

Hello Guys,

 

nice to meet you. I have a great problem.

Some years back, in 2008, a web designer created a website for me, andreas-krauss.com

He also build the site manager belonging to it. And because I asked him back then, he made certain it was very simple and had only the functions I needed at the time, for which I am still very grateful.

But unfortunately, there's no function in the site manager for changing the administrator name, the password I sign in with into my site manager or to add new administrators, should I need them.

This has become a great problem, because that older designer who originally build the website seemed to vanish for several years or at least I couldn't even contact him via the link in my site manager.

Several weeks ago, I hired another designer for updating my site manager and the website. It was an indian worker, not an American.

Originally, prior to me hiring him, he promissed to finish the whole project in 4-5 day. That was 19 days before, even though none of the tasks were changed and the whole project was outlined and detailed for him even before he bid his fee.

Any way, in order for him to be able to work on my website, I gave him the unchangeable password and user name.

But now not only doesn't he do the promissed whole work I detailed for him before picking him (for example, I am still waiting for him to equip the site manager with a function that generates PDF files from each sub page), but, far worser, he's begun to delete the content of several sub pages (WITHOUT my permission or even my prior knowledge; I only found out about it today, when I rechecked his progress.

Since I made no backup, that content is likely gone forever.

Now I want to change the user name and password of my site manager, until this situation is cleared.

But I don't know how to do it, because there seems to be no buttons for doing so.

But there must be a such function in my site manager. Can you tell how I change my site manager user name or password? And how to add additional administrator accounts and limit them so that the problem I'm wrestling with right now doesn't happen again?

Best wishes,
Andreas

Wrong instructions for CK Editor. Need accurate information to install please.

$
0
0

Forums: 

I'm just wanting to install CKEditor. I've had it before and ran in to this problem, and don't remember where I obtained the correct instructions for 2.3.1.

Here's the instructions I have:

Step 1
-------
Go to ckeditor.com  and download the latest Editor Release (CK Editor, which has superseded FCK Editor)...
_______
Step 2.
-------
Unzip it all, then upload the fckeditor folder and all it's contents to your admin directory.
_______
Step 3.
-------
Amend /public_html/admin/includes/template_top.php 
__________
FIND THIS:
----------
<script language="javascript" src="includes/general.js"></script>
_____________
ADD AFTER IT:
-------------
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
_______
Step 4.
-------
Amend /public_html/admin/categories.php
__________
FIND THIS:
----------
tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15',    (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));
___________
CHANGE FOR 
-----------
tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),' class="ckeditor"');
_______
Step 5.
-------
Upload it and refresh the category (prodcut adding/editing) page. You should see the newly installed Editor. Enjoy!


Neither of the codes it tells you to find to replace exist in either of those files in oscommerce 2.3.1. Anyone have the correct install for this? Not sure why it says for 2.3.1 in the oscommerce addons when it's clearly not accurate.
Here is the link to the one with the wrong instructions that I'm talking about:
http://addons.oscommerce.com/info/7112

Forcing img tag to use width and height attributes instead of style

$
0
0

Forums: 

I am trying to force CKEditor to set image width and height as attributes, not styles. When using allowedContent, it filters out all the other tags. When using extraAllowedContent, I am able to use border, hspace and vspace as attributes, but the height and width are constantly being forced back into the style attribute of the image tag.

I also tried adding code to the config.js file to replace the width and height defined in the style with the width and height attributes, but it doesn't work - it keeps getting reset to the style.

Any help would be greatly appreciated!

F.

mvc 4 + CKeditor doesn't filter out script tags

$
0
0

Forums: 

Hello,

I am trying to get my CKeditor secured from javascript tags, but the editor doen't remove the tags automatically (as in the examples that are given on the site) This means people can put in working javascript in my pages. Is there anything i can do to get this feature in my .net web application?

I think it is because i just get the text from the textarea by calling the element from my code instead of using the javascript function editor.getData(); (not shure)

Any tips on this would be great.

dynamic link dialog with elements obtained through an AJAX request

$
0
0

Forums: 

Hi,

 

I have to customize the link dialog and display on a new tab some elements. The elements that I display are decided by a logic in an AJAX request.

 

The ajax request will give me information on what elements to show and so on.

The problem is that I did not figure out how to show the elements.

 

I have something like

 

CKEDITOR.on('dialogDefinition', function (ev) {
    // Take the dialog name and its definition from the event
    // data.
    var dialogName = ev.data.name;
    var dialogDefinition = ev.data.definition;
    var dialog = e.data.definition.dialog;
    //    Check if the definition is from the dialog we're interested on (the "Link" dialog).
    if (dialogName == 'link') {

        dialogDefinition.onShow = function () {

 

I have tried the onShow, onLoad events but the elements do not show.

 

Can someone help me? Thanks


Is there any way to prevent CKEDITOR to add image dimensions completely for Responsive design?

$
0
0

Forums: 

Hi all,

I`ve been searching through the forum about a way to prevent CKEditor to add a style in total to any image you upload. Responsive Design is becoming a big trend now and for this a fixed width and height for any image is a no go.

Is there a way to prevent CKEditor to add a style to any uploaded image so you get a complete clean upload like:

<img src=''name.jpg" alt="image description" />

For responsive design I use the image tag in CSS:

img{
display: block;
border: 0;
height: 100%;
max-width: 100%;
 width: auto\9; /* ie8 */
}

Thanks in advance!!

With kind regards,

Pascal

Dropdown in form seems to be screwing with ckeditor instance

$
0
0

Forums: 

Hi there everyone!

This problem was causing me heartache with an older version of ckeditor so I downloaded the latest via the handy "standard" download link but the problem persists.

In latest stable firefox, the editor is in it's proper position until I touch the dropdown box.  Once I touch it though, it falls down the page.  With latest stable chrome, it starts it's life already dropped down the page.

The only difference between the old and new version of the editor is the old version showed a plain textarea where the new version just shows blank space where the editor used to be when it drops down the page.

I've saved the page so you could see what it's doing: http://husaberg.org/ckeditortest.html

Any thoughts on how I might be able to resolve this would be greatly appreciated!

Thanks for your time!

cant copy paste images within editor eg from within editor to another place within editor

$
0
0

Forums: 

 

can do this in demo?

http://ckeditor.com/demo

but cant do it in my install of the latest version

can copy paste text fine just not images

 

basically say copying an image that has been inseerted in the bottom of the eeditor 

copy and paste it to the top of thje editor 

doesnt work

doesnt appear to copy to clipboard

doesnt work with ctrl-c / v 
OR using icons in editor

anyone else have this issue

using Chrome latest version

CKEditor stripping style attribute data from images

$
0
0

Forums: 

Hi guys!

I'm using Uploadcare for uploading and storing images, which is working.

However, it appears CKEditor 4.1.1 is choking on these images.

1. Adding an image via CKEditor.

The initial placement of the image is as expected. However, when the data is saved, CKEditor is clearly doing something weird, prior to committing the data.

In several tests, during the formatting and rearrangement of the HTML, CKEditor is stripping out the "style" image attribute and the first opening double quote, which I can see in the text data on the database itself.

This behavior is entirely reproducible.

2. Editing an image via CKEditor.

Initially, the image looks fine. But when I view the source, the HTML for the image is sanitized to render as text, and not to render as an image object.

3. Disabling 3rd party Plugins.

As mentioned previously, I'm using Uploadcare, in addition to Word Count & Char Count. I disabled both Plugins, but this didn't change anything.

Thoughts.

During the saving process, I merely cleanse the data via the $this->db->escape() function in CodeIgniter, which cannot to circumvented, or the data won't commit and I receive an error.

Just to be clear, during testing, the errors occured with any type of image object; either added manually, or via Uploadcare.

If anyone has any advice as to how I can coax CKEditor into handing images, I'd be happy for any advice.

 

how do I save custom toolbars so multiple pages can refererence them?

$
0
0

Forums: 

how do I save custom toolbars so multiple pages can refererence them?

"Browser Server" button... how to add what image is being referenced in my custom image browser?

$
0
0

Forums: 

I have a custom image browser and it works well. The one thing I'd wish I could do is when I select an image in CKeditor, and click the image button, and click "Browse Server" to replace this image, is that I can know what image was selected (if any) so I can have my browser automatically navigate to that folder. How can I have CKeditor pass this in a GET ?

CKeditor's logo - are they available?

$
0
0

Forums: 

Greetings,

I wish to advertise on my website that as a developper I use CKe so that my customers can edit their content with this awesome editor.

Are there available do download files of the logo (in a vectorial format), please?

Matth.


CKEditor ascx Problem

$
0
0

Forums: 

Hi,

I am using ckeditor with it's own folder that includes javascript, css... etc. It is very well with aspx page but when I use it in ascx page and then reference from aspx, it doesn't work. How can I use ckeditor with ascx page in .net?

Thanks...

CKEditor.NET Dll Shortcut Customization

$
0
0

Forums: 

Hi,

When I use CKEditor with normal it's own javascript, I can modify shortcut as below;

CKEDITOR.replace('editor', {
                     on: {
                        key: function(event) {
                         
                             if (event.data.keyCode == CKEDITOR.CTRL + 83) { // CTRL + S

                                 // my codes
                                 return;         
                             }
                         }
                     }
                 });

But when I use CKEditor.NET DLL, how can I customize shortcuts?

Thanks...

when are the v4 dll's for asp.net to be released?

$
0
0

Forums: 

The current version of CKEditor.dll is 3.6.4 which has problems in IE10. When will there be available a version 4 of the dll?

Plone 3 + FCKEditor --> Plone 4 + CKEditor

$
0
0

Forums: 

I'm about to migrate a Plone 3 site (with a customized FCKEditor) to Plone 4, for which an CKEditor integration is available (but only of Version 3.6, AFAIK). In this context ...

  • Is there a digest of what feature was introduced in what version of CKEditor?
    I have read the release messages for versions 4, 4.1 and 4.1.1, but don't know very much about 3.6.
    Magic-line, code snippets, rich text pasting ...?
  • Does CKEditor support everything FCKEditor did (respectively did properly)?
  • Is there a digest which gives a brief overview of features and their configuration in the old (FCK) and the new editor?
  • Will it be worth the effort to replace 3.6 by 4.1.1 in the Plone integration,
    and is this expected to be easy?

Font Size, Text Color and BGColor Problem

$
0
0

Forums: 

Hi, 

I use ckeditor in aspx pages but I have a problem about Font Size, Text Color and BGColor components of the toolbar. when I click on them, they don't work. Then I realised that there is a tag in aspx page<!DOCTYPE when I remove this, it works fine but I don't wanna remove this tag because it affects another thing in the page. 

Is there any way to solve this problem?

Thanks...

Viewing all 2058 articles
Browse latest View live