Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Prev Previous commit
Next Next commit
test log again
  • Loading branch information
alvinjurianto committed Nov 2, 2020
commit 1b528b8e69c27d4beda0588a733ac7b0baaa9717
5 changes: 3 additions & 2 deletions draftjs-web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ function App() {
};

const blurTextEditor = () => {
_draftEditorRef.current && _draftEditorRef.current.blur();
console.log("blurkeun lur");
_draftEditorRef.current &&
_draftEditorRef.current.blur() &&
console.log("blur");
};

const setEditorBlockRenderMap = renderMapString => {
Expand Down