Unplanned
Last Updated: 30 Jan 2023 12:53 by ADMIN
Manasavalli
Created on: 23 Jan 2023 19:49
Category: Kendo UI for jQuery
Type: Feature Request
0
Editor: Obtain the cursor position as an integer offset with respect to the text displayed in the editor

Require an Editor method to provide the cursor position as an integer representing the offset of the current cursor position from the start of the document with respect to the text displayed in the editor.

For example consider an editor displaying 'This is text content'. The underlying html will be <p><span>This is text content</span></p>. When cursor is placed after 'text', I would like to obtain the cursor position as 12 i.e. the offset based on the text displayed irrespective of the underlying html.

1 comment
ADMIN
Ianko
Posted on: 30 Jan 2023 12:53

Hi Manasavalli,

Thank you for the feedback. Such an API method sounds reasonable. 

Regards,
Ianko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.