Pixabay/jQuery-tagEditor

It's possible to add a readonly feature ?

pierrelesek opened this issue · 3 comments

Hello,
This javascript library is very great.

I have only 1 suggestion, it's to add a readonly parameters to make the tag not deletable (for a simple user who can't delete tags)

Thank you,
i will try to develop the feature in //

A also looking for a super simple way to prevent editing.

Yes @donalod

i want to prevent editing for some users for example :)

I'm facing the same problem. Did you guys figure out a way for read only? Thanks

Edit: My solution, albeit not an elegant solution, but it gets the job done for my use was to add a class to jquery-tag-editor.css that would set pointer events to none and give the class to the parent div surrounding the tag editor and on the tag editor itself.
.read-only-tags { pointer-events: none; }