1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

[editor] A couple of small FreeText-related fixes (PR 14976 follow-up)

- Ensure that the modified-warning won't be displayed, when navigating away from the viewer, if the user has added custom Annotations and then *removed all* of them.
 - Ensure that the *initial* editor-buttons state, i.e. the `toggled`-class, is correctly displayed in the toolbar when then viewer loads.
 - Tweak the CSS-classes for the editor-buttons, such that they use the correct focus/hover-rules (similar to the sidebar-buttons).
 - Remove a no longer accurate comment from the `BaseViewer.annotationEditorMode`-setter.
 - Address a couple of *smaller* outstanding review comments, including some re-formatting changes, from PR 14976.
This commit is contained in:
Jonas Jenwald 2022-06-04 21:32:27 +02:00
parent c8ef87197c
commit 51bf928061
8 changed files with 21 additions and 15 deletions

View file

@ -253,6 +253,7 @@ web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
# Editor
editor_none.title=Disable Annotation Editing
editor_none_label=Disable Editing
freetext_default_content=Enter some text…
editor_free_text.title=Add FreeText Annotation
editor_free_text_label=FreeText Annotation
freetext_default_content=Enter some text…