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 236862db24..8f4db31045 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 c67e19aa5d..bb10788532 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 }} @@ -600,9 +600,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;}'); @@ -627,8 +629,8 @@ export default { toolbarLocation: 'top', extraAllowedContent: 'table[!summary]; img[style,class,src,referrerpolicy,alt,width,height]; span(*)[*]{*}; span[data-atwho-at-query,data-atwho-at-value,contenteditable]; a[*];i[*];', removeButtons: '', - enterMode: CKEDITOR.ENTER_BR, - shiftEnterMode: CKEDITOR.ENTER_BR, + enterMode: CKEDITOR.ENTER_P, + shiftEnterMode: CKEDITOR.ENTER_P, toolbar: [ { name: 'format', items: ['Format'] }, { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'RemoveFormat'] }, 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 91a56f9a95..c30eaed57e 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') }}