Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12462 closed Bug (fixed)

Unable to use Ckeditor

Reported by: mdatifshamim Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: mohammedatif.shamim@…

Description

Hi There,

I am unable to use the ckeditor.

  1. i have referenced ckeditor.js in my solution.

<script src="~/Scripts/ckeditor/ckeditor.js"></script>

  1. created a textarea in my page.

<textarea name="editor1" id="editor1" rows="10" cols="80">

This is my textarea to be replaced with CKEditor.

</textarea>

  1. included javascript code

CKEDITOR.replace('editor1');

Still i am getting error in my page

0x800a138f - JavaScript runtime error: Unable to set property 'dir' of undefined or null reference.

Please let me know if i am missing any js or css file reference.

Regards,

Atif

Attachments (1)

ckeditor_error.JPG (242.0 KB) - added by mdatifshamim 5 years ago.
Screenshot of the error

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by mdatifshamim

Attachment: ckeditor_error.JPG added

Screenshot of the error

comment:1 Changed 5 years ago by Jakub Ś

Status: newpending
Version: 4.4.4

This doesn't happen by default thus i think this is your configuration problem.

If you are using ASP.NET, please provide reduced sample application that shows this issue.

If not, please provide reduced sample HTML that can be put in samples of default editor and will show this issue.

comment:2 Changed 5 years ago by mdatifshamim

Cc: mohammedatif.shamim@… added
Resolution: fixed
Status: pendingclosed

comment:3 Changed 5 years ago by mdatifshamim

ckeditor worked when i added all the related js and css in my solution.

Previously i added only ckeditor.js in my solution therefore i didn't work so please remember to add the config,css,js in the ckeditor package in your solution.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy