setting_area

dev_aliyun2
harry 5 years ago
parent 5e770ff17e
commit 8d53d90863

@ -297,7 +297,6 @@ class EditTab extends React.Component {
{ header: 1 }, { header: 2 }, { header: 1 }, { header: 2 },
// {size: ['12px', '14px', '16px', '18px', '20px', false]}, // {size: ['12px', '14px', '16px', '18px', '20px', false]},
'bold', 'italic', 'underline', 'strike', // 切换按钮 'bold', 'italic', 'underline', 'strike', // 切换按钮
'blockquote', 'code-block', // 代码块
{ align: [] }, { 'list': 'ordered' }, { 'list': 'bullet' }, // 列表 { align: [] }, { 'list': 'ordered' }, { 'list': 'bullet' }, // 列表
{ 'script': 'sub' }, { 'script': 'super' }, { 'script': 'sub' }, { 'script': 'super' },
{ 'color': [] }, { 'background': [] }, // 字体颜色与背景色 { 'color': [] }, { 'background': [] }, // 字体颜色与背景色

@ -98,7 +98,7 @@ const ojForUserReducer = (state = initialState, action) => {
// let curCode = Base64.encode(action.payload); // let curCode = Base64.encode(action.payload);
return { return {
...state, ...state,
userCode: action.payload, editor_code: action.payload,
isUpdateCode: true, isUpdateCode: true,
} }
case types.IS_UPDATE_CODE: case types.IS_UPDATE_CODE:

Loading…
Cancel
Save