Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14893 closed Bug (invalid)

Text Color and styles buttons are visible but stops working after post back in asp.net other styles like Bold, Italic works fine

Reported by: Satish.Trivedi Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: Satish.Trivedi@…

Description

Steps to reproduce

  1. Created a div whith contenteditable='true' and apply InLine CkEditor which having Basic style(Bold, Italic), Text Color and styles combo(H1, h2)
  2. It's working fine on pageload but on post back Text Color and styles are visible but stops working.

Expected result

Text Color and styles should working after post back in asp.net

Actual result

Text Color and styles buttons are visible but stops working after post back in asp.net other styles like Bold, Italic works fine

Change History (3)

comment:1 Changed 3 years ago by Satish.Trivedi

There is updatePanel applied in page

comment:2 Changed 3 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.11

CKEditor has nothing to do with post back. This JavaScript application so whenever page gets reloaded CKEditor will be reloaded as well. I would rather look for a mistake in your impleentation.

If you are uing .NET control, please upgrade client side to latest version. Just download CKEditor 4.5.11 (if you haven't done so already), unpack it to ckeditor folder and and replace the old ckeditor folder in ASP.NET control.

I'm closing this ticket as invalid for now, but if you don't agree, please leave a comment and provide small sample application which could allow me to reproduce this issue.

comment:3 Changed 3 years ago by Satish.Trivedi

Thanks j.swiderski.

After few changes its working fine. On PostBack it was creating duplicate "divs", now we are removing those divs on postBack using $('div[id = "cke_"]').remove() and then applying CKEditor

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