Page 1 of 3

[PLUGIN ADDED] Monaco Editor

Posted: Fri Feb 21, 2020 12:09 pm
by mjxl
Hope you guys have some time to checkout another plugin, because here is plugin #2, this time it's Microsofts Monaco Editor.

https://github.com/mjuksel/wondercms-monaco !

Image
  • Opened automagically on pageload now. Yay!
  • Save via Ctrl + S or via Commands (F1) -> Save :)
Some options i've set as default:
  • Language = HTML.
  • Dark theme.
  • Minimap disabled.
  • Tabsize of 2.
  • Font is 'Fira Code' with Ligatures.
Todo?:
  • Menu?
  • Linters/formatters?
  • Live preview?
  • a jQuery version?
Enjoy !

Re: Monaco Editor !

Posted: Sat Feb 22, 2020 2:34 pm
by wiz
For anyone interested in the link and giving this a run: https://github.com/mjuksel/wondercms-monaco

I'm driving this for a spin right now :) awesome mjxl

Re: Monaco Editor !

Posted: Sat Feb 22, 2020 2:35 pm
by wiz
Tried installing this and editing content, but nothing happens.

Get the following error message in the browser console: TypeError: document.createel is not a function

Re: Monaco Editor !

Posted: Sat Feb 22, 2020 3:30 pm
by mjxl
wiz wrote: Sat Feb 22, 2020 2:35 pm Tried installing this and editing content, but nothing happens.

Get the following error message in the browser console: TypeError: document.createel is not a function
Doh , again uploaded with a type LOL
Thanks for linking it ! Consider it fixed.

edit: yep, just installed it on my domain from Git :0 works again.
I've already did too many tweaks and hacks afterwards hehe XD

I've updated it to 3.0.2 :) all should be good to go

Re: Monaco Editor !

Posted: Thu Aug 27, 2020 8:02 pm
by mjxl
Fixed saving on this one too, some small tweaks :) 3.0.3 is up!

//edit: removed the need for jQuery on $.post and $().show()/fadeout() -> 3.0.4

Re: Monaco Editor !

Posted: Sat Jan 15, 2022 5:06 pm
by wiz
Hello mjxl!

Replied to your fixes here: https://github.com/mjuksel/wondercms-monaco/issues/1
I'll say the last part here again:

Great job and thank you for contributing! Can you please share your first/last name, so we can add it to https://www.wondercms.com/contributors (if we already haven't, the list is getting long :) )

Re: [PLUGIN ADDED] Monaco Editor

Posted: Tue Jan 18, 2022 12:58 pm
by OneManLaptop
This is fantastic work. I'll be sure to check this out, great stuff. :)

Re: [PLUGIN ADDED] Monaco Editor

Posted: Tue Jan 18, 2022 5:17 pm
by wiz
OneManLaptop, happy new year and to a healthy and successful 2022! :)

Re: [PLUGIN ADDED] Monaco Editor

Posted: Wed Jan 19, 2022 9:39 am
by OneManLaptop
wiz wrote: Tue Jan 18, 2022 5:17 pm OneManLaptop, happy new year and to a healthy and successful 2022! :)
You too bud, here's to a lot of "wonderful" developments. :D

Re: [PLUGIN ADDED] Monaco Editor

Posted: Wed Jan 19, 2022 9:47 am
by wiz
Hahahahaha:)
Thank you, appreciate it! It seems we're progressing in a wonderful way :D