You need to sign in or sign up before continuing.
Commit 4cb7f33d authored by NGPixel's avatar NGPixel

feat: visual editor code + sub/sup + table props

parent ff4e25d5
...@@ -159,6 +159,17 @@ $editor-height-mobile: calc(100vh - 56px - 16px); ...@@ -159,6 +159,17 @@ $editor-height-mobile: calc(100vh - 56px - 16px);
} }
} }
.contents {
table {
margin: inherit;
}
pre > code {
background-color: unset;
color: unset;
padding: .15em;
}
}
.ck.ck-toolbar { .ck.ck-toolbar {
border: none; border: none;
justify-content: center; justify-content: center;
...@@ -166,6 +177,10 @@ $editor-height-mobile: calc(100vh - 56px - 16px); ...@@ -166,6 +177,10 @@ $editor-height-mobile: calc(100vh - 56px - 16px);
color: #FFF; color: #FFF;
} }
.ck.ck-toolbar__items {
justify-content: center;
}
> .ck-editor__editable { > .ck-editor__editable {
background-color: mc('grey', '100'); background-color: mc('grey', '100');
overflow-y: auto; overflow-y: auto;
......
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
"@babel/preset-env": "^7.10.1", "@babel/preset-env": "^7.10.1",
"@mdi/font": "5.3.45", "@mdi/font": "5.3.45",
"@panter/vue-i18next": "0.15.2", "@panter/vue-i18next": "0.15.2",
"@requarks/ckeditor5": "12.4.0-wiki.16", "@requarks/ckeditor5": "19.0.1-wiki.1",
"@vue/babel-preset-app": "4.4.1", "@vue/babel-preset-app": "4.4.1",
"animate-sass": "0.8.2", "animate-sass": "0.8.2",
"animated-number-vue": "1.0.0", "animated-number-vue": "1.0.0",
......
...@@ -158,7 +158,11 @@ router.get(['/e', '/e/*'], async (req, res, next) => { ...@@ -158,7 +158,11 @@ router.get(['/e', '/e/*'], async (req, res, next) => {
content: null, content: null,
title: null, title: null,
description: null, description: null,
updatedAt: new Date().toISOString() updatedAt: new Date().toISOString(),
extra: {
css: '',
js: ''
}
} }
// -> From Template // -> From Template
......
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment