-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[editor] Introduce a proper annotationEditorMode
option/preference (PR 15075 follow-up)
#15113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[editor] Introduce a proper annotationEditorMode
option/preference (PR 15075 follow-up)
#15113
Conversation
…(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.
…ars DOM elements As far as I can tell, this is completely unused and can thus be removed.
…older text Now 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.
annotationEditorMode
option/preference (PR 15075 follow-up)annotationEditorMode
option/preference (PR 15075 follow-up)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you.
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/1365024cc0d6936/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/8c26b2eded5e1fa/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/8c26b2eded5e1fa/output.txt Total script time: 4.72 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/1365024cc0d6936/output.txt Total script time: 7.59 mins
|
@Snuffleupagus, there is a leftover: Line 44 in ce63663
|
Oops; I'll fix that, and also ensure that the default value is handled correctly in the |
[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.