From 3fafcf02a4664db5ec513afacac50ec62089a00e Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Thu, 11 Feb 2021 15:41:29 +0200 Subject: [PATCH] add css --- editors/editoria/src/config/config.js | 2 +- editors/editoria/src/layout/EditorElements.js | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/editors/editoria/src/config/config.js b/editors/editoria/src/config/config.js index 03ba626cc..3784d96ed 100644 --- a/editors/editoria/src/config/config.js +++ b/editors/editoria/src/config/config.js @@ -138,6 +138,7 @@ export default { }, services: [ + new CustomTagService(), new DisplayBlockLevelService(), new DisplayToolGroupService(), new TextBlockLevelService(), @@ -176,7 +177,6 @@ export default { new TransformToolGroupService(), new TrackOptionsToolGroupService(), new TrackCommentOptionsToolGroupService(), - new CustomTagService(), new CustomTagInlineToolGroupService(), new CustomTagBlockToolGroupService(), ], diff --git a/editors/editoria/src/layout/EditorElements.js b/editors/editoria/src/layout/EditorElements.js index 53898fb34..28ed6b48b 100644 --- a/editors/editoria/src/layout/EditorElements.js +++ b/editors/editoria/src/layout/EditorElements.js @@ -391,28 +391,24 @@ export default css` } .custom-tag-inline { + display: inline; font-weight: 500; } - .custom-tag-inline:before { - content: ' | '; + custom-tag-inline:before { color: #006f19; + content: ' | '; font-weight: 600; margin-left: 0; } - .custom-tag-inline:after { + custom-tag-inline:after { + color: #006f19; content: ' | '; display: inline; - color: #006f19; font-weight: 600; } - .custom-tag-inline:hover { - cursor: pointer; - color: #006f19; - } - custom-tag-block { display: block; margin-top: 1em; -- GitLab