Markdown editor switching

This commit is contained in:
Cássio Zen
2016-08-11 18:21:32 -03:00
parent 994d969247
commit 474abd8f78
4 changed files with 81 additions and 7 deletions

8
src/actions/editor.js Normal file
View File

@ -0,0 +1,8 @@
export const SWITCH_VISUAL_MODE = 'SWITCH_VISUAL_MODE';
export function switchVisualMode(useVisualMode) {
return {
type: SWITCH_VISUAL_MODE,
payload: useVisualMode
};
}