简体   繁体   中英

Rails 4.2.2 - How to implement annotator feature?

In rails 4.2.2, I am trying to implement annotations feature. I have referred this http://annotatorjs.org , but I am not getting like how to save annotations? Please suggest some more plugins(with full documentation) which will helps me to create this feature.

Well, docs on the annotatorjs.org say that you need to implement a backend for store plugin . There'a also an implementation in Python that you can look at and a working service (it seems it uses that backend implementation).

I'd just go on the http://annotateit.org/ , open the web developer console, made some saving and see what requests will be generated. After that you just need to replay it via Rails yourself.

Have a nice day!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM