Commit Graph
5 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau 07a8cf97dc Clean up any empty text nodes created on insertion of annotation elements 2013-09-23 13:34:51 +02:00
Aditya Bhatt 35fcd018f6 Preserve positions of other cursors present at the same position when
inserting an annotation. Also, tests for that.
2013-08-14 19:38:38 +02:00
Aditya Bhatt 67b91bbe44 * OpAddAnnotation: Move the cursor inside the newly created annotation 2013-08-14 19:38:33 +02:00
Friedrich W. H. Kossebau decaaeaf4e use OdtDocument.getDOM() consistently 2013-08-13 00:22:22 +02:00
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