static-cms/src/actions/editor.js

9 lines
182 B
JavaScript
Raw Normal View History

2016-08-11 18:21:32 -03:00
export const SWITCH_VISUAL_MODE = 'SWITCH_VISUAL_MODE';
export function switchVisualMode(useVisualMode) {
return {
type: SWITCH_VISUAL_MODE,
payload: useVisualMode
};
}