8000 how can I get the current index position so I can insert content at where the curser is at? · Issue #79 · ghiscoding/angular-markdown-editor · GitHub
[go: up one dir, main page]

Skip to content
how can I get the current index position so I can insert content at where the curser is at? #79
Closed
@SDAdham

Description

@SDAdham

Clear and concise description of the problem

how can I get the current index position so I can insert content at where the curser is at?

Example usage:

this.bsEditorInstance.insertContent(/** How can I get current curser index? */, 'SomeContent to auto add based on key press')

Suggested solution

Maybe something like this:

this.bsEditorInstance.curserIndex

Alternative

No response

Additional context

No response

Validations

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

      0