ui: editor: change default mode to sv

This commit is contained in:
undefined committed 2021-04-26 23:26:56 +08:00
1 parent ebaa3f290b
commit 6924875ec9
5 files changed
+4 -8

No files matched your search

@@ -6,9 +6,9 @@ export const config = {
'emoji', 'headings', 'bold', 'italic', 'strike', 'link', '|',
'list', 'ordered-list', 'check', 'outdent', 'indent', '|',
'quote', 'line', 'code', 'inline-code', 'table', '|',
'upload', 'edit-mode', 'content-theme', 'code-theme', 'export',
'upload', 'edit-mode', 'fullscreen', 'export',
],
mode: UserContext.preferedEditorType || 'ir',
mode: UserContext.preferedEditorType || 'sv',
toolbarConfig: {
pin: true,
},
@@ -107,7 +107,6 @@ export default class Tab extends DOMAttachedObject {
.addClass('section__tab-header-wrapper')
.appendTo($container);
const $contentWrapper = $(document.createElement('div'))
.addClass('section__tab-content-wrapper')
.appendTo($container);
this.$header = $(document.createElement('ul'))
.addClass('section__tab-header')
@@ -73,9 +73,6 @@
background: $secondary-color
content: ''
.section__tab-content-wrapper
overflow: hidden
.section__tab-content
position: relative
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.6.18",
"version": "4.6.19",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
+1 -1
View File
@@ -88,7 +88,7 @@ preferedEditorType:
sv: Split View
family: markdown
category: preference
value: ir
value: sv
showInvisibleChar:
type: boolean
family: highlight