mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-18 04:21:32 +08:00
client: Change design of editor settings slightly
This commit is contained in:
parent
7c342aed9e
commit
15b4eacdca
@ -4,17 +4,12 @@ import OptionsWidget from "../options_widget.js";
|
|||||||
|
|
||||||
const TPL = `
|
const TPL = `
|
||||||
<div class="options-section">
|
<div class="options-section">
|
||||||
<h4>${t("editor.title")}</h4>
|
<h4>${t("editing.editor_type.label")}</h4>
|
||||||
|
|
||||||
<div class="form-group row">
|
<select class="editor-type-select form-select">
|
||||||
<div class="col-6">
|
<option value="ckeditor-balloon">${t("editing.editor_type.floating")}</option>
|
||||||
<label>${t("editing.editor_type.label")}</label>
|
<option value="ckeditor-classic">${t("editing.editor_type.fixed")}</option>
|
||||||
<select class="editor-type-select form-select">
|
</select>
|
||||||
<option value="ckeditor-balloon">${t("editing.editor_type.floating")}</option>
|
|
||||||
<option value="ckeditor-classic">${t("editing.editor_type.fixed")}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
export default class EditorOptions extends OptionsWidget {
|
export default class EditorOptions extends OptionsWidget {
|
||||||
|
@ -1518,8 +1518,8 @@
|
|||||||
"editing": {
|
"editing": {
|
||||||
"editor_type": {
|
"editor_type": {
|
||||||
"label": "Formatting toolbar",
|
"label": "Formatting toolbar",
|
||||||
"floating": "Floating (appears near the cursor)",
|
"floating": "Floating (editing tools appear near the cursor)",
|
||||||
"fixed": "Fixed (appear in the \"Formatting\" ribbon tab)"
|
"fixed": "Fixed (editing tools appear in the \"Formatting\" ribbon tab)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user