Opened 3 years ago

Closed 3 years ago

#14292 closed Bug (expired)

Font Size Dropdown appending Text also

Reported by: GObinath Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 4.5.4
Keywords: Cc:

Description

Steps to reproduce

  1. on Button click, i used to append text to the editor.
  2. select one word and trying to change Font size. it is changed as per expectation
  3. when i click the append button again , the content append on editor as well in the Size drowpdown also.

4.Some times the dropdown will not display the list of size

Expected result

After Change inner html of the Editor by external button, the Font size should get change/size dropdown should display the size list box.

Actual result

It will not load the size list box when append the text / change the html content by $('iframe').contents().find('body').html()

Other details (browser, OS, CKEditor version, installed plugins)

Attachments (1)

index -edit.html (1.2 KB) - added by GObinath 3 years ago.
I have the file in the location, c:\ckeditor_4.5.6_6b8a8ce955b3\ckeditor\samples

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by Jakub Ś

Status: newpending

Please provide reduced and working sample html file showing this problem in code.

Changed 3 years ago by GObinath

Attachment: index -edit.html added

I have the file in the location, c:\ckeditor_4.5.6_6b8a8ce955b3\ckeditor\samples

comment:2 Changed 3 years ago by Jakub Ś

Thank you for the test case file however I don't understand what the problem is.

From what I have read, it looks to me like you style a word, don't move the cursor and then you are trying to appended text so that it is styled the same way as the word.

If that is the case, please not that append method adds text/HTML at the end of element (end of body in this case) and not as the cursor position so in such case the appended text will never be styled.

If that is not the problem, please explain it in more detail.

comment:3 Changed 3 years ago by Jakub Ś

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