Needs review
Project:
Markdown editor for BUEditor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2012 at 03:46 UTC
Updated:
15 Mar 2013 at 11:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
frjo commentedI only tested the Drupal 7 version from http://ufku.com/drupal/bueditor/contributions/imagecache but that works without problem on a local test site together with Markdown Editor.
There is no reason it should not work since it simply is a BUEditor button. All the Markdown Editor module does is provide a number of BuEditor buttons so it should in no way integer with other buttons.
Comment #2
siefca commentedSure, it works, but since image styles are kind of default way of scaling images in D7, wouldn't it be ok to use that in button that already exists?
Comment #3
siefca commentedI know an admin could include own js, but imho it's worth to give some default compatible with Markdowneditor and ready to use.
(Haven't tested button part, but the JS works ok.)
Comment #4
siefca commentedBTW, (almost) the same but copy/paste version if someone will need it.
sites/all/libraries/markdowneditor/styled-images.js:Button code:
Under admin/config/content/bueditor/[selected_editor] there is a tab "Editor paths" and a field "editor specific library files".
Line to add there:
sites/all/libraries/markdowneditor/styled-images.jsComment #5
minoroffense commentedI can also suggest using the Media module with BUEditor and markdown editor. Once you get the text filter order down it works very nicely. Plus it takes care of the image styles question by using the view modes on the image file entity. Not necessarily a direct line to your image styles but you can configure the necessary view modes as needed.