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

This commit is contained in:
NGPixel
2020-06-21 14:47:11 -04:00
parent ff4e25d5ca
commit 4cb7f33dcf
4 changed files with 21 additions and 2 deletions

View File

@@ -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 {
border: none;
justify-content: center;
@@ -166,6 +177,10 @@ $editor-height-mobile: calc(100vh - 56px - 16px);
color: #FFF;
}
.ck.ck-toolbar__items {
justify-content: center;
}
> .ck-editor__editable {
background-color: mc('grey', '100');
overflow-y: auto;

View File

@@ -199,7 +199,7 @@
"@babel/preset-env": "^7.10.1",
"@mdi/font": "5.3.45",
"@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",
"animate-sass": "0.8.2",
"animated-number-vue": "1.0.0",

View File

@@ -158,7 +158,11 @@ router.get(['/e', '/e/*'], async (req, res, next) => {
content: null,
title: null,
description: null,
updatedAt: new Date().toISOString()
updatedAt: new Date().toISOString(),
extra: {
css: '',
js: ''
}
}
// -> From Template

BIN
yarn.lock

Binary file not shown.