2
rox79
4y

How much it is difficult to embed Live JS Editor in a website. Pretty easy right? specially when a lot of coding editor like code pen, jsbin etc are available. But all seems bullshit when it comes to show result in console or they are pretty much expensive.

Seems I have to do work my own. Any suggestion , I just want live code editor for my WordPress website. I am working with Ace but anything better that can help me out

Comments
  • 0
    Use Function("...")() to execute the code(like eval but better), redefine `console.log` to a different function that lets you capture all the logging, like shown here https://stackoverflow.com/questions...

    If you want more I honestly wouldn't bother, beyond those very basic implementations you're probably looking at a world of complexity and pain.
  • 0
    @deadlyRants I just want editor and console thats it.
Add Comment