Hi
I made node and comment edit page appears in popup, but Bueditor doesn't show up. I tried add:

'additionalJavascript' => array(drupal_get_path('module', 'bueditor') .'/bueditor.js'),

but this didn't help, anyone made this working?

CommentFileSizeAuthor
#4 doublebueditorteaser.png143.69 KBv8powerage
#3 popups.js_.patch638 bytesufku

Comments

v8powerage’s picture

Category: task » bug
v8powerage’s picture

Title: How to make Bueditor work on popup node and comment pages? » How to make Bueditor works on edit forms?
ufku’s picture

Status: Active » Needs review
StatusFileSize
new638 bytes

BUE 2.x worked with Popups 2.x however some buttons reported infinite loop or some other errors. Then i noticed an eval(script) in popups js that evaluates script dataType, which seems to be not necessary as jQuery loads the scripts evaluated. The below patch removes the eval and as far as i tested it works as expected.
ps: Not being familiar with popups API, still i'm not sure if it's the right diagnosis here.

v8powerage’s picture

StatusFileSize
new143.69 KB

Hi
With Bueditor 2x and popups 2x it's working (I had 1x Bueditor before), but I'm getting buttons double (look at screenshot attached), perhaps it's because of teaser?

ufku’s picture

yes they are teaser buttons. In normal view they appear with the teaser textarea when the "split content at cursor" is clicked, however this feature is broken in popups.(Not related to bueditor)
You may exclude edit-js-teaser in bueditor visibility settings.

v8powerage’s picture

Thank You very much, it works (but it's actually edit-teaser-js).