Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 Piotrek Koszuliński

Status: newconfirmed

comment:2 Changed 10 years ago by Artur Delura

Owner: set to Artur Delura
Status: confirmedassigned

comment:3 Changed 10 years ago by Artur Delura

Changes in branch:t/13118.

comment:4 Changed 10 years ago by Artur Delura

Status: assignedreview

comment:5 Changed 10 years ago by Piotrek Koszuliński

Resolution: fixed
Status: reviewclosed

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 Piotrek Koszuliński

After closing the ticket I realised that the test does not check the return value - fixed with git:d51baff.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy