Skip to content

Commit

Permalink
<Editor/> - move settings to the right nesting level
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesare committed Aug 2, 2022
1 parent d42a0be commit 96f48d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/components/Editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ const bindings = {
handler: formulaHandler
},

clipboard: {
matchers: msWordPasteMatchers
}

// blurOnEsc: {
// key: 'Escape',
// handler: () => {
Expand Down Expand Up @@ -213,8 +209,12 @@ class Editor extends React.Component {
bindings
},

// https://github.com/zenoamaro/react-quill/issues/250
clipboard: { matchVisual: false },
clipboard: {
// https://github.com/zenoamaro/react-quill/issues/250
matchVisual: false,
// https://github.com/lakesare/memcode/pull/163
matchers: msWordPasteMatchers
},
imageResize: {
modules: ['Resize']
},
Expand Down

0 comments on commit 96f48d7

Please sign in to comment.