Commit Graph
3 Commits
Author SHA1 Message Date
Aditya Bhatt 825a44affc * OpAddAnnotation that lets you create annotations. This only creates an
annotation-end node if the length of the selection > 0.
* Adds a button to the editor to add an annotation at the given cursor position
or selection
* A bad hack in AnnotationViewManager: The dc:creator of
a created annotation is initially empty because the operation has no
way to access the user model even if it knows the memberid. The
SessionView has a new rule for editinfo:memberid attributes that sets
the CSS content: attribute to the user name. AnnotationViewManager,
for now, will read this CSS property and set the text of dc:creator to
that; at least till we have a better way to access the usermodel in
the future
* Rerenders annotations when an annotation is added for tracking (like upon creation)
* SessionView gets a way to concretely specify the CSS pseudo-class for a rule (:before, :after, etc)
* enableAnnotations only allows handles annotations if the allow value
changes
* Add translation strings for annotate
2013-08-05 19:16:32 +02:00
Aditya Bhatt b8b5e9a68d * Dox for modifyAnnotations
* Cache only the annotation node name instead of the node
2013-08-01 18:58:34 +02:00
Aditya Bhatt 281b9675d2 * Rename AnnotationManger to AnnotaitonViewManager,
* label constants, improve jsdoc
* Remove unused call this.forgetAnnotation
* set the annotation.end as null if no end was found
2013-08-01 17:16:30 +02:00