mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
8201188d7be9ada5dee894e4726df3b47bbff9cc
determine walkability around annotations via the TextPositionFilter. - In checkLeftRight, now that positions to the left and right of an annotation are walkable by default, block the position to the right of an annotation if there is a grouping element (span, annotation highlight, etc) to the right. - Thus, now you can step to both the left and right of a rangeless annotaiton. If the annotaiton has a highlighted range, the cursor won't be able to step between the <office:annotation> element and it's annotationHighlight, so there can be no strange text insertion there, and no rewrapping is required over the newly inserted text as it goes straight into the highlighted span like everywhere else. * Add tests to OdtDocumentTests for cursor positions around annotations. * Add tests to operationtests.xml (mostly bumping up the positions of SplitParagraph operations after adding annotations, now that 1 new position is exposed.
WebODF
WebODF is a JavaScript library created by KO GmbH.
It makes it easy to add Open Document Format (ODF) support to your website and to your mobile or desktop application. It uses HTML and CSS to display ODF documents.
- Visit the project homepage at: WebODF
- Want a live demo? Visit: WebODF Demo
Languages
JavaScript
91.6%
HTML
2.2%
C
2%
CMake
1.4%
Objective-C
0.7%
Other
1.9%