Hufe921 / canvas-editor

rich text editor by canvas/svg
https://hufe.club/canvas-editor-docs
MIT License
3.7k stars 553 forks source link

Insert area goes always to bottom of document, ignoring cursor position #898

Closed lehno closed 3 days ago

lehno commented 4 days ago

version

0.9.97

Link to minimal reproduction

No response

Steps to reproduce

Put cursor between 2 paragraphs and insert area element

image

What is expected?

It inserts the area between the 2 paragraphs

What is actually happening?

It inserts always at the end of the document

image

Editor Value

No response

System Info

No response

Any additional comments?

No response

MzoroHaHa commented 3 days ago

sorry, area only insert to the top or bottom.