[PLUGIN ADDED] Monaco Editor

User avatar
mjxl
Posts: 43
Joined: Thu Jan 30, 2020 4:57 am

[PLUGIN ADDED] Monaco Editor

Post 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 !
Last edited by mjxl on Mon Mar 02, 2020 4:20 pm, edited 2 times in total.

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Monaco Editor !

Post 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

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Monaco Editor !

Post 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

User avatar
mjxl
Posts: 43
Joined: Thu Jan 30, 2020 4:57 am

Re: Monaco Editor !

Post 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

User avatar
mjxl
Posts: 43
Joined: Thu Jan 30, 2020 4:57 am

Re: Monaco Editor !

Post 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

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Monaco Editor !

Post 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 :) )

OneManLaptop
Developer
Posts: 68
Joined: Tue Mar 16, 2021 3:29 pm

Re: [PLUGIN ADDED] Monaco Editor

Post by OneManLaptop »

This is fantastic work. I'll be sure to check this out, great stuff. :)

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: [PLUGIN ADDED] Monaco Editor

Post by wiz »

OneManLaptop, happy new year and to a healthy and successful 2022! :)

OneManLaptop
Developer
Posts: 68
Joined: Tue Mar 16, 2021 3:29 pm

Re: [PLUGIN ADDED] Monaco Editor

Post 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

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: [PLUGIN ADDED] Monaco Editor

Post by wiz »

Hahahahaha:)
Thank you, appreciate it! It seems we're progressing in a wonderful way :D

Post Reply