codex-team / codex-team/editor.js

Question: Insert content between cursor position.

Open
#879 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hi,

I`m searching for how to insert text between cursor position, I create some buttons and this buttons need to put the content in the editor, but how?

If I click on the button, the editor lose de focus (ok I can get the block using currentBlockIndex) but I not find how to insert the text between last cursor position.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.