Answer the question
In order to leave comments, you need to log in
How to move a tag in a text field in Angular JS?
It is necessary to implement the movement (drag-n-drop) of the tag in the text.
The field itself is of type contenteditable. The user can enter text and insert an unlimited number of tags. Tags are added in the controller.
Answer the question
In order to leave comments, you need to log in
Maybe someone will come in handy. Solved this problem using ui-sortable. Parsed the text, found each word and wrapped it in a tag (in my case it's a span).
The module I used is here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question