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': {
|
||||
class: ChangeFontSize,
|
||||
config: {
|
||||
cssClass: 'plus20pc'
|
||||
cssClass: 'plus20pc',
|
||||
buttonIcon: '<span class="material-icons">format_size</span>'
|
||||
}
|
||||
},
|
||||
inlineCode: {
|
||||
|
@ -1,5 +1,7 @@
|
||||
/* stylelint-disable selector-class-pattern */
|
||||
.adf-rich-text-editor-container {
|
||||
color: var(--theme-text-fg-color, rgba(0, 0, 0, 0.87));
|
||||
|
||||
.editorjs {
|
||||
&.readonly {
|
||||
.codex-editor__redactor {
|
||||
@ -11,11 +13,20 @@
|
||||
|
||||
.ce-inline-toolbar {
|
||||
transform: scale(1);
|
||||
|
||||
.ce-popover__items {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ce-inline-tool .material-icons {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xy-color-picker {
|
||||
position: relative;
|
||||
background-color: transparent;
|
||||
width: 22px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user