Skip to content

Commit

Permalink
Merge pull request #20 from dev-cj/fix-text-paste
Browse files Browse the repository at this point in the history
Remove styles when pasting text
  • Loading branch information
AlexanderLourenco authored Apr 4, 2023
2 parents e666331 + 2b8f01d commit 49c83a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/pages/playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ class EditorWrapper extends React.Component {
onChange={(editorState: any) => {
setEditorState(editorState)
}}
stripPastedStyles
/>
)
}
Expand Down Expand Up @@ -1030,4 +1031,4 @@ export default function Playground() {
</div>
</div>
)
}
}

0 comments on commit 49c83a4

Please sign in to comment.