Skip to content

v1.40.0

Latest

Choose a tag to compare

@gildas-lormeau gildas-lormeau released this 20 Nov 23:21
· 2 commits to main since this release

Changes

  • New button "Edit the infobar message" in the toolbar of the annotation editor. It edits the message displayed in the infobar of the saved page, i.e. the text produced by the option "Infobar > template of the infobar content" or entered at save time with "Infobar > open a prompt dialog to edit the infobar content". A line break is written \n in the prompt, and an empty text removes the message. The button also works when the infobar is not displayed in the editor, and it is hidden when the page does not carry the comment SingleFile writes at the top of a saved page (#2065)

Fixes

  • Saving a selection no longer saves the unselected text written directly in the elements that hold the selection. The selection was marked on elements only, so text that is in no element of its own was kept: on a page writing its content as bare text of <body>, every saved selection came with all of that text. The content script now records which text of a partly selected element is selected (attribute data-single-file-selected-text) and the rest is removed (#2066)
  • "Save selected links" no longer misses the first link when the selection starts inside the text of a link, and a selection made inside the text of a single link finds that link instead of nothing (#2068)
  • The toolbar of the annotation editor can be dragged again when it does not fit in the window, e.g. on a small screen in portrait orientation. On a single page the limit of the drag was computed from a hidden button and the toolbar did not move (regression in 1.23.0)
  • Translated the labels added in 1.39.0 and in this version in 14 languages, updated the Russian (#2064) and Polish (#2067) translations
  • Updated single-file-core to 1.15.0