This is a pretty intense one so please bear with me.
I love the Koenig Editor which Ghost Admin provides me with. It’s sleek and hot af, especially due to it’s minimalist design. Recently, I have been doing a project which requires a cool editor with Markdown, Images and Services like Twitter/YouTube embedding support and I was wondering why not use the stylesheet and functionality of the Koenig Editor.
All I need is the Koenig Editor generating the HTML markup which Ghost uses internally. I have started looking into the Ghost’s Admin Repository. It seems like there are two main files here - vendor.js and ghost.js both of which are pretty much 25-30K lines of code which seems very hard to parse.
I was wondering if there was already a markup available for just the Koenig Editor with no ties with Ghost’s Admin? Maybe it was present in an old commit or so?
I have been struggling with this for days now; can someone please help me here?
[PS - The Koenig Editor is present under lib of Ghost Admin, here’s the link - Admin/lib/koenig-editor at main · TryGhost/Admin · GitHub ]