Skip to content

Make getSelection()['start'] the default value for [Number Start] #18

@tomsommer

Description

@tomsommer

It would be nice if the Start argument in insertText() and related functions was optional and defaulted to .getSelection()['start']

So one would not have to do

$('#foo').insertText('Bar', $('#foo').getSelection()['start']);

but simply

$('#foo').insertText('Bar');

to insert at current caret position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions