How to connect Toast UI Editor with Next.js

  • provides Markdown mode and WYSIWYG mode.
  • Depending on the type of use you want like production of Markdown or maybe to just edit the Markdown.
  • Offers Markdown mode and WYSIWYG mode, which can be switched any point in time.
console.log(editorRef.current);
  • useRef returns a mutable ref object whose .current property is initialized to the passed argument (initialValue). The returned object will persist for the full lifetime of the component.
  • This works because useRef() creates a plain JavaScript object. The only difference between useRef() and creating a {current: …} object yourself is that useRef will give you the same ref object on every render.
getHTML() Maximum call stack error- https://github.com/nhn/tui.editor/issues/1587
Image uploads twice error
- https://github.com/nhn/tui.editor/issues/1624
- I need to start checking its version and issues from github once I cannot find an error in Google. It took more than a day to figure out why my codes are not working...🤯
  1. Two issues that I mentioned earlier.
  2. If I copy a table from Microsoft Excel to TUI, it attaches as a picture, but if I copy a table from Google Spreadsheet, it attaches as a table but does not maintain its style, which is one of the important factor in our company’s project.
  3. I also need to check with Window since I only check through Mac.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store