expose openEditInWindow as an option

This commit is contained in:
tophf 2017-08-27 16:41:29 +03:00
parent d1924c1d63
commit 5620ef606e
2 changed files with 16 additions and 0 deletions

View File

@ -437,6 +437,14 @@
"message": "Shift-click or right-click opens manager with styles applicable for current site", "message": "Shift-click or right-click opens manager with styles applicable for current site",
"description": "Tooltip for the 'Manage' button in the popup." "description": "Tooltip for the 'Manage' button in the popup."
}, },
"popupOpenEditInWindow": {
"message": "Open editor in a new window",
"description": "Label for the checkbox controlling 'edit' action behavior in the popup."
},
"popupOpenEditInWindowTooltip": {
"message": "Also enabled by detaching editor tab from a browser window,\nand disabled by attaching a single editor tab into another window.",
"description": "Label for the checkbox controlling 'edit' action behavior in the popup."
},
"popupStylesFirst": { "popupStylesFirst": {
"message": "Styles before commands", "message": "Styles before commands",
"description": "Label for the checkbox controlling section order in the popup." "description": "Label for the checkbox controlling section order in the popup."

View File

@ -65,6 +65,14 @@
<span i18n-text="optionsPopupWidth"></span> <span i18n-text="optionsPopupWidth"></span>
<input type="number" id="popupWidth" min="200" max="800"> <input type="number" id="popupWidth" min="200" max="800">
</label> </label>
<label>
<span i18n-text="popupOpenEditInWindow"
i18n-title="popupOpenEditInWindowTooltip"></span>
<span class="onoffswitch">
<input type="checkbox" id="openEditInWindow">
<span></span>
</span>
</label>
<label> <label>
<span i18n-text="popupStylesFirst"></span> <span i18n-text="popupStylesFirst"></span>
<span class="onoffswitch"> <span class="onoffswitch">