mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
AAE-20506 Rich Text Editor Visual Improvements (#10385)
* [AAE-20506] replace icon with material design icon * [AAE-20506] fix size and position of 'change color' plugin's icon * [AAE-20506] make sure material design's container does not define text color
This commit is contained in:
parent
afc5830c31
commit
60da8634f2
@ -86,7 +86,8 @@ export const editorJsConfig = {
|
|||||||
'Increase/Decrease font size': {
|
'Increase/Decrease font size': {
|
||||||
class: ChangeFontSize,
|
class: ChangeFontSize,
|
||||||
config: {
|
config: {
|
||||||
cssClass: 'plus20pc'
|
cssClass: 'plus20pc',
|
||||||
|
buttonIcon: '<span class="material-icons">format_size</span>'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
inlineCode: {
|
inlineCode: {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* stylelint-disable selector-class-pattern */
|
/* stylelint-disable selector-class-pattern */
|
||||||
.adf-rich-text-editor-container {
|
.adf-rich-text-editor-container {
|
||||||
|
color: var(--theme-text-fg-color, rgba(0, 0, 0, 0.87));
|
||||||
|
|
||||||
.editorjs {
|
.editorjs {
|
||||||
&.readonly {
|
&.readonly {
|
||||||
.codex-editor__redactor {
|
.codex-editor__redactor {
|
||||||
@ -11,11 +13,20 @@
|
|||||||
|
|
||||||
.ce-inline-toolbar {
|
.ce-inline-toolbar {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
|
|
||||||
|
.ce-popover__items {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ce-inline-tool .material-icons {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xy-color-picker {
|
xy-color-picker {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
width: 22px;
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user