Opened 6 years ago

Closed 6 years ago

#10789 closed Bug (invalid)

asp.net CKEditor displaying html tags while page loading

Reported by: rama Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.4
Keywords: Cc:

Description

Hi Team,

In asp.net CKEditor,

  1. While page loading, html tags are appearing in ckeditor then after completion of page load ckeditor displaying content properly without html tags.
  2. Again on button post-back pageload also ckeditor showing html tags for sometime and once pageload completed then it is displaying properly

Please provide solution

See the attachment for reference

Regards, Rama

Attachments (1)

ckeditor_htmltags.JPG (147.7 KB) - added by rama 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by rama

Attachment: ckeditor_htmltags.JPG added

comment:1 Changed 6 years ago by rama

Hi Team,

Please provide solution for this.

Regards, Rama

comment:2 Changed 6 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

What you show us is simple textarea. You see source HTML in textarea before editor loads and once it is loaded it chnages source HTML into something "viewable".

This can't be fixed as this is how it works.


You may use CKE 4.2.1 client-side with CKE ASP.NET 3.6.4 server side.

  1. Go to CKEditor site and download CKEditor 4.2.1 FULL Package
  2. Extract it into ckeditor folder
  3. Go to your_ckeditor_aspnet/_Samples/ and replace existing ckeditor folder with the one you have downloaded.

The only thing you won't be able to set from ASP.NET Control is ACF: http://ckeditor.com/blog/Upgrading-to-CKEditor-4.1
http://ckeditor.com/blog/CKEditor-4.1-RC-Releasedhttp://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addTransformations
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent
which you would have to configure or disable in ckeditor/config.js file.

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