|
@@ -45,6 +45,19 @@ export default {
|
|
|
var that = this;
|
|
|
var editor = new E("#bar", "#editor");
|
|
|
editor.customConfig.uploadImgShowBase64 = true;
|
|
|
+ editor.customConfig.colors = [
|
|
|
+ '#00000000',
|
|
|
+ '#000000',
|
|
|
+ '#eeece0',
|
|
|
+ '#1c487f',
|
|
|
+ '#4d80bf',
|
|
|
+ '#c24f4a',
|
|
|
+ '#8baa4a',
|
|
|
+ '#7b5ba1',
|
|
|
+ '#46acc8',
|
|
|
+ '#f9963b',
|
|
|
+ '#ffffff'
|
|
|
+ ];
|
|
|
//editor.customConfig.uploadImgServer = process.env.SERVER_PATH + 'editupload'
|
|
|
//editor.customConfig.uploadFileName = 'file'
|
|
|
editor.customConfig.onchange = function(html) {
|