Ye Joo Park

Results 12 comments of Ye Joo Park

I've spent a few days trying to make `react-monaco-editor` with next.js. It just didn't work :weary:. While next.js has [an example with `react-monaco-editor` ](https://github.com/vercel/next.js/tree/canary/examples/with-monaco-editor) in the official repo, it breaks...

> > @subwaymatch thx, you saved my day! > > [@monaco-editor/react](https://www.npmjs.com/package/@monaco-editor/react) just works out of the box, no need to mess up with next.js config > > Not working for...

> > I've spent a few days trying to make `react-monaco-editor` with next.js. It just didn't work 😩. While next.js has [an example with `react-monaco-editor` ](https://github.com/vercel/next.js/tree/canary/examples/with-monaco-editor) in the official repo,...

`monaco-editor` (the core library used under `monaco-react`) does not come with a code formatter. You'd have to manually implement the functionality by listening to the Shift + Alt + F...

`manaco-editor` does not support code-formatting functionality out-of-the-box. It is something you have to implement yourself. I've implemented a Python formatter using [Black](https://github.com/psf/black), but it required a manual implementation. 🤠 ![image](https://user-images.githubusercontent.com/1064036/170865306-90ee507f-f5b7-4fa6-bac4-f78c7c73a701.png)

Using [Dragula](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&cad=rja&uact=8&ved=0ahUKEwiW5vjD1dLSAhWBvJQKHTcLBp0QFghJMAg&url=https%3A%2F%2Fgithub.com%2Fbevacqua%2Fdragula&usg=AFQjCNHvyZ2ENsWHzSbwPn7sZNSj-HrPyQ&sig2=KKcNT7G7otR1V_5VjNL-ew) to take care of drag & drop via bb859eb3f580c65d4dc0df4addedb9d63c637f8d

Work-in-progress bb859eb3f580c65d4dc0df4addedb9d63c637f8d d7d26643c16de8cb8dc8839af523e949eef154f2 Need to take care of the "add tab" button being a target for draggable element.

Windows 64-bit support via f91e5d0d948593c79279f53d48b8f0679abb391b

Git cloned the directory into /Users/yejoopark/Download/hackbrowser signed in as `root`. Seems to be a permission issue.