#13118 closed Bug (fixed)
Editor.getSelectedHtml() throws error when called in source mode
Reported by: | Piotrek Koszuliński | Owned by: | Artur Delura |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.5.0 |
Component: | General | Version: | 4.5.0 Beta |
Keywords: | Cc: |
Description
It should return null
as it returns in WYSIWYG mode when there's no selection.
Change History (6)
comment:1 Changed 10 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 10 years ago by
Owner: | set to Artur Delura |
---|---|
Status: | confirmed → assigned |
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
Status: | assigned → review |
---|
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
Fixed on major with git:fbfd310.
Remember that changing mode is an asynchronous action and that a test should clean up after itself.
comment:6 Changed 10 years ago by
After closing the ticket I realised that the test does not check the return value - fixed with git:d51baff.
Changes in branch:t/13118.