mirror of
https://github.com/webodf/WebODF.git
synced 2026-12-01 16:56:05 +01:00
1679bfbeefe324cccee087a21274d43f893561bc
By the serializing logic, the selection <p>text</p> would generate "text\n”. This is slightly unexpected though, as partially selecting two paragraphs (e.g., <p>p1</p><p>p2</p>) the user would expect the text to be "p1\np2”. Easiest way to meet this expectation is to throw away the last new line if it’s present.
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%