WYSIWYG markdown (patch)
|
4 posts
|
Hi, I’ve made some modifications to my installation of Frog, which gives a side-by-side view of markdown. It also includes a rudimentary image-browser. Since I figured others might find this useful, I’ve created a patch against version 0.94. I tried creating it as a plugin, but it requires changes to various core elements, so I gave up on that. |
|
191 posts
|
Hi troelskn, Do you have any screen shots of what the side-by-side view of Markdown looks like? I use Markdown for all my Frog CMS sites. Any details on what the changed files are? |
|
4 posts
|
Sure:
The changes are fully backwards compatible. Basically, I needed to edit the javascript hook for loading the markdown toolbar/editor, and add a hook to the file manager, that allows to fetch the file list as json. |
|
4 posts
|
I just realised that I left some debug statements in the Javascript code. This means that it won’t work properly, if you don’t have Firebug installed and enabled. To fix, just remove the lines with `console.log` in them |
|
4 posts
|
There was a bug which messed up the editor, if a page has more than one section. I’ve fixed it and uploaded a new patch. |
|
2 posts
|
troelskin, how do you apply that patch? |
|
4 posts
|
|

