-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: how to move the cursor to be the end of newly inserted tag? #235
Comments
Hi, @zhaoyao91 In the next version, the cursor moves after the tag inserted by In the current version, you can // @ts-ignore
this.insertNode(node);
// set range---------
this.setRange(node, 1, node, 1); |
I tried this snippet, it didn't work. the cursor just dispeared after inserted. Not hurry for now. There are bunch of features I am expecting for the next version. Do you have a schedule? Just curious, not push~ |
Maybe it didn't work becouse I did test it in the develop brunch. |
:) BTW, I found the user functions are useful, such as uploadImage and insertHTML. but we can't use them in core when writing plugin :( |
I'll be fix to access user functions from the |
The 2.26.0 version has been updated. |
I've made some function to insert a special tag, but the cursor after inserting is before the tag. How to move it to the end of the new tag?
The text was updated successfully, but these errors were encountered: