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 25 additions and 6 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 { .ck.ck-toolbar {
border: none; border: none;
justify-content: center; justify-content: center;
@ -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;

View File

@ -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",

View File

@ -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

View File

@ -2863,10 +2863,10 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=
"@requarks/ckeditor5@12.4.0-wiki.16": "@requarks/ckeditor5@19.0.1-wiki.1":
version "12.4.0-wiki.16" version "19.0.1-wiki.1"
resolved "https://registry.yarnpkg.com/@requarks/ckeditor5/-/ckeditor5-12.4.0-wiki.16.tgz#ac025edac283df1cbb5dd9f838b5fe06d0a93e84" resolved "https://registry.yarnpkg.com/@requarks/ckeditor5/-/ckeditor5-19.0.1-wiki.1.tgz#257b5b38e2fe9138474656856ce0d20bd99c8fda"
integrity sha512-EVVxnbXU9PXGuBo58xSZziTzFQebYimczZOswQSPRIvJqaK0Xc1mqDmND6BSrUIAdue2j71+zukLudgYeKMKWQ== integrity sha512-q5l3I7rnL3zeIFqpI4ymMaQ0XJg4h0E7zbuuQt6JSGjTmZooiAIDLIguE2t4T6BdQjkATPw0THyfgyPGylMfgg==
"@root/acme@^3.0.2": "@root/acme@^3.0.2":
version "3.0.9" version "3.0.9"