In order to get the ajax markup preview to work in BUEditor, I had to edit the preview button code on the BUEditor config screen to:

php: if (function_exists('ajax_markup_on')) ajax_markup_on();
return "js: eDefAjaxPreview();"

Not sure if this is the best way of doing things, but it seems to work.

Comments

ufku’s picture

Status: Active » Fixed

Here is the code updated on the project page:

php: return module_invoke('ajax_markup', 'on') ? 'js: eDefAjaxPreview();' : '';

This will hide the button if the user has no access to ajax markup.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

subhojitmukherjee’s picture

Issue summary: View changes