Set Colors

You can set font color and background color to use editor.config.colors:

const E = window.wangEditor
const editor = new E('#div1')

// set color and background color
editor.config.colors = [
    '#000000',
    '#eeece0',
    '#1c487f',
    '#4d80bf'
]

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2021-07-04 12:51:04

results matching ""

    No results matching ""