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

[Editor] Add a button to explicitly add an image (bug 1848108)

The main stamp button will be used to just enter in a add/edit image mode:
 - the user can add a new image in using the new button.
 - the user can edit an image in resizing, moving it.
In image mode, when the user clicks outside on the page but not on an editor,
then all the selected editors will be unselected.
This commit is contained in:
Calixte Denizet 2023-08-09 14:07:15 +02:00
parent d57e3ebbe4
commit 659fbc5020
13 changed files with 140 additions and 34 deletions

View file

@ -245,8 +245,8 @@ editor_free_text2.title=Text
editor_free_text2_label=Text
editor_ink2.title=Draw
editor_ink2_label=Draw
editor_stamp.title=Add an image
editor_stamp_label=Add an image
editor_stamp1.title=Add or edit images
editor_stamp1_label=Add or edit images
free_text2_default_content=Start typing…
@ -256,6 +256,8 @@ editor_free_text_size=Size
editor_ink_color=Color
editor_ink_thickness=Thickness
editor_ink_opacity=Opacity
editor_stamp_add_image_label=Add image
editor_stamp_add_image.title=Add image
# Editor aria
editor_free_text2_aria_label=Text Editor