#6217 fix missing styling of tinymce (#6236)

* #6217 fix missing styling of tinymce

* #6217 remove unused css imports
This commit is contained in:
masterwendu
2021-06-14 16:24:17 +02:00
committed by GitHub
parent 39198952bb
commit 2174d9e971
3 changed files with 7 additions and 8 deletions

View File

@@ -38,7 +38,7 @@
"@popperjs/core": "^2.9.2",
"@rollup/plugin-yaml": "^3.0.0",
"@sindresorhus/slugify": "^2.1.0",
"@tinymce/tinymce-vue": "^4.0.0",
"@tinymce/tinymce-vue": "^4.0.3",
"@types/base-64": "^1.0.0",
"@types/bytes": "^3.1.0",
"@types/codemirror": "^5.60.0",

View File

@@ -6,7 +6,6 @@
:disabled="disabled"
model-events="change keydown blur focus paste ExecCommand SetContent"
v-model="internalValue"
@change="onChange"
@onFocusIn="setFocus(true)"
@onFocusOut="setFocus(false)"
/>
@@ -344,9 +343,6 @@ export default defineComponent({
closeCodeDrawer,
saveCode,
sourceCodeButton,
onChange(a: any) {
console.log(a);
},
};
function setup(editor: any) {
@@ -374,9 +370,12 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
@import 'tinymce/skins/ui/oxide/skin.css';
@import './tinymce-overrides.css';
</style>
<style lang="scss" scoped>
@import '@/styles/mixins/form-grid';
.body {

4
package-lock.json generated
View File

@@ -458,7 +458,7 @@
"@popperjs/core": "^2.9.2",
"@rollup/plugin-yaml": "^3.0.0",
"@sindresorhus/slugify": "^2.1.0",
"@tinymce/tinymce-vue": "^4.0.0",
"@tinymce/tinymce-vue": "^4.0.3",
"@types/base-64": "^1.0.0",
"@types/bytes": "^3.1.0",
"@types/codemirror": "^5.60.0",
@@ -57185,7 +57185,7 @@
"@popperjs/core": "^2.9.2",
"@rollup/plugin-yaml": "^3.0.0",
"@sindresorhus/slugify": "^2.1.0",
"@tinymce/tinymce-vue": "^4.0.0",
"@tinymce/tinymce-vue": "^4.0.3",
"@types/base-64": "^1.0.0",
"@types/bytes": "^3.1.0",
"@types/codemirror": "^5.60.0",