mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -724,7 +724,7 @@ class MarkdownEditor extends React.Component {
|
||||
if (mode === 'rich') {
|
||||
window.seafileEditor.switchToRichTextEditor();
|
||||
} else if (mode === 'plain') {
|
||||
window.seafileEditor.switchToPlainTextEditor();
|
||||
window.seafileEditor.switchToPlainTextEditor();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user