[editor] Introduce a proper annotationEditorMode
option/preference (PR 15075 follow-up)
#15113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[editor] Introduce a proper
annotationEditorMode
option/preference (PR 15075 follow-up)This replaces the boolean
annotationEditorEnabled
option/preference with a "proper"annotationEditorMode
one. This way it's not only possible for the user to control if Editing is enabled/disabled, but also which specific Editing-mode should become enabled upon PDF document load.Given that Editing is not enabled/released yet, I cannot imagine that changing the name and type of the option/preference should be an issue.
[editor] Remove the unused
name
-property from the editorParamsToolbars DOM elementsAs far as I can tell, this is completely unused and can thus be removed.
[editor] Slightly shorten the en-US
freetext_default_content
placeholder textNow that it's possible to change the font-size, this placeholder string feels a little bit long (especially for larger font-sizes).
Given that Editing is not enabled/released yet, I hope that it should be fine to update this without changing the l10n-id.