diff --git a/notes-webapp/src/main/webapp/skin/less/notes/editor.less b/notes-webapp/src/main/webapp/skin/less/notes/editor.less index 236862db2..8f4db3104 100644 --- a/notes-webapp/src/main/webapp/skin/less/notes/editor.less +++ b/notes-webapp/src/main/webapp/skin/less/notes/editor.less @@ -4,8 +4,17 @@ blockquote { font-weight: 400 !important; - margin-top: 0 !important; - margin-bottom: 0 !important; + padding: 10px 0 0 10px !important; + border-left-color: @primaryColor !important; + margin: 0 0 10px 0 !important; + + p { + margin-bottom: 0 !important; + } + + strong { + font-weight: bold; + } } a { @@ -13,7 +22,7 @@ } ol, ul, dl { - margin: 0 0 10px 40px; + margin: 0 0 10px 0px; padding: 0 40px; } @@ -102,7 +111,7 @@ } img { - margin: 0 10px 10px 0 !important; + margin: 10px !important; } } diff --git a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue index c67e19aa5..55acab3c9 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue @@ -24,7 +24,7 @@ {{ noteFormTitle }} @@ -323,6 +323,10 @@ export default { if (this.spaceId) { this.init(); } + console.log(`${eXo.env.portal.userName} is editing me`); + }, + beforeDestroy() { + console.log(`${eXo.env.portal.userName} exited editing me`); }, methods: { init() { @@ -600,9 +604,11 @@ export default { CKEDITOR.addCss('h1, h2, h3 { font-weight: 500; line-height:1.2; }'); CKEDITOR.addCss('p,li { font-size: 16px; line-height:1.4}'); CKEDITOR.addCss('p, li, blockquote { font-size: 16px;}'); - CKEDITOR.addCss('ol, ul, dl {margin: 0 0 10px 40px;padding: 0 40px;}'); + CKEDITOR.addCss('ol, ul, dl {margin: 0 0 10px 0px;padding: 0 40px;}'); CKEDITOR.addCss('ul li {list-style: revert; list-style-type: inherit !important;}'); - CKEDITOR.addCss('blockquote {font-weight: 400;}'); + CKEDITOR.addCss('blockquote {font-weight: 400; padding: 10px 0 0 10px !important; margin: 0 0 10px 0!important;}'); + CKEDITOR.addCss('table {margin-bottom: 10px !important; margin-top: 0 !important;}'); + CKEDITOR.addCss('img {margin:10px !important; }'); CKEDITOR.addCss('.cke_editable { font-size: 14px; line-height: 1.4 !important;}'); CKEDITOR.addCss('.placeholder { color: #5f708a!important;}'); CKEDITOR.addCss('ol li {list-style-type: decimal !important;}'); diff --git a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/TranslationsEditBar.vue b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/TranslationsEditBar.vue index 91a56f9a9..c30eaed57 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/TranslationsEditBar.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/TranslationsEditBar.vue @@ -18,7 +18,7 @@ color="primary" class="ma-1" small - :outlined="!!selectedTranslation?.value" + :outlined="!!selectedTranslation.value" @click="changeTranslation({value: ''})"> {{ $t('notes.label.translation.originalVersion') }}