Editor media-library integration

Issue #6 new
Ahmad Khayyat
created an issue

A separate issue for the editor integration with mezzanine's media-library.

I managed to get the 'insert image' button in the current editor (wmd) to open mezzanine's media-library browser (as is the case when using the default TinyMCE editor), but I open the browser in an in-window popup (div, really) instead of a separate window. Selecting an image from the browser inserts the markdown markup in the editor!

It works, but it feels hacky.

The alternative is to use the newer and still-maintained pagedown editor (http://code.google.com/p/pagedown/), which appears to have been started around August 2011, and the last commit as of now was on October 2012. On the other hand, the (current?) OpenLibrary's wmd editor was last updated on June 2010.

The second, and more relevant, advantage of pagedown is its hooks support (http://code.google.com/p/pagedown/wiki/PageDown), particularly the insertImageDialog hook.

I haven't tried anything to do with pagedown yet.

What do you think?

Comments (1)

  1. Log in to comment