Opened 9 years ago
Closed 8 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
- on Button click, i used to append text to the editor.
- select one word and trying to change Font size. it is changed as per expectation
- 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)
Change History (4)
comment:1 Changed 9 years ago by
Status: | new → pending |
---|
Changed 9 years ago by
Attachment: | index -edit.html added |
---|
I have the file in the location, c:\ckeditor_4.5.6_6b8a8ce955b3\ckeditor\samples
comment:2 Changed 9 years ago by
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 8 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Please provide reduced and working sample html file showing this problem in code.