client: Change design of editor settings slightly

This commit is contained in:
Elian Doran 2024-11-09 21:35:37 +02:00
parent 7c342aed9e
commit 15b4eacdca
No known key found for this signature in database
2 changed files with 7 additions and 12 deletions

View File

@ -4,17 +4,12 @@ import OptionsWidget from "../options_widget.js";
const TPL = `
<div class="options-section">
<h4>${t("editor.title")}</h4>
<h4>${t("editing.editor_type.label")}</h4>
<div class="form-group row">
<div class="col-6">
<label>${t("editing.editor_type.label")}</label>
<select class="editor-type-select form-select">
<option value="ckeditor-balloon">${t("editing.editor_type.floating")}</option>
<option value="ckeditor-classic">${t("editing.editor_type.fixed")}</option>
</select>
</div>
</div>
<select class="editor-type-select form-select">
<option value="ckeditor-balloon">${t("editing.editor_type.floating")}</option>
<option value="ckeditor-classic">${t("editing.editor_type.fixed")}</option>
</select>
</div>`;
export default class EditorOptions extends OptionsWidget {

View File

@ -1518,8 +1518,8 @@
"editing": {
"editor_type": {
"label": "Formatting toolbar",
"floating": "Floating (appears near the cursor)",
"fixed": "Fixed (appear in the \"Formatting\" ribbon tab)"
"floating": "Floating (editing tools appear near the cursor)",
"fixed": "Fixed (editing tools appear in the \"Formatting\" ribbon tab)"
}
}
}