fontColor and fontBackgroundColor to hex, to be able to utilized with html-to-docx correctly
This commit is contained in:
parent
a402a54ebe
commit
6cb026aff4
@ -134,8 +134,8 @@ ClassicEditor
|
|||||||
generatePtSetting( 14 ),
|
generatePtSetting( 14 ),
|
||||||
generatePtSetting( 16 ),
|
generatePtSetting( 16 ),
|
||||||
generatePtSetting( 18 ),
|
generatePtSetting( 18 ),
|
||||||
generatePtSetting( 20 )
|
generatePtSetting( 20 ),
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
options: [
|
options: [
|
||||||
@ -170,6 +170,16 @@ ClassicEditor
|
|||||||
mathPanelDestroyOnClose: true,
|
mathPanelDestroyOnClose: true,
|
||||||
openPanelWhenEquationSelected: false,
|
openPanelWhenEquationSelected: false,
|
||||||
},
|
},
|
||||||
|
fontColor: {
|
||||||
|
colorPicker: {
|
||||||
|
format: 'hex',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fontBackgroundColor: {
|
||||||
|
colorPicker: {
|
||||||
|
format: 'hex',
|
||||||
|
}
|
||||||
|
},
|
||||||
} )
|
} )
|
||||||
.then( editor => {
|
.then( editor => {
|
||||||
window.editor = editor;
|
window.editor = editor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user