Download & Extend

BUEditor buttons just disappeared?

Project:BUEditor
Version:5.x-1.1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Everything used to work fine, but then BUeditor buttons just disappeared from edit boxes, whenever I am creating new node or editing existing one.

In HTML source I can still see that BUEditor JavaScript is being loaded:

<script type="text/javascript" src="/sites/all/modules/bueditor/bueditor.js"></script>
<script type="text/javascript" src="/files9/bueditor/6d4130b7a16a52cb3b1a0313f65200fb.js"></script>
<script type="text/javascript" src="/sites/all/modules/bueditor/library/default_buttons_functions.js"></script>

Has this happened to someone before or not?

Thanks,
k.

Comments

#1

Category:bug report» support request

Try opening this file directly
your-domain/files9/bueditor/6d4130b7a16a52cb3b1a0313f65200fb.js

If fails try cleaning the files9/bueditor directory and setting directory permissions to 777

#2

When I open it I have

editor.path="/sites/all/modules/bueditor/";editor.buttons=[ [ "Insert/edit image", "js:\nvar B = eDefBrowseButton(\'/imce/browse\', \'attr_src\', \'Browse\', \'image\');\nvar form = [\n {name: \'src\', title: \'Image URL\', suffix: B},\n {name: \'width\', title: \'Width x Height\', suffix: \' x \', getnext: true, attributes: {size: 3}},\n {name: \'height\', attributes: {size: 3}},\n {name: \'alt\', title: \'Alternative text\'}\n];\neDefTagDialog(\'img\', form, \'Insert/edit image\', \'OK\');\n", "image.png", "M" ], [ "Insert/edit link", "js:\nvar B = eDefBrowseButton(\'/imce/browse\', \'attr_href\', \'Browse\', \'link\');\nvar form = [\n {name: \'href\', title: \'Link href\', suffix: B},\n {name: \'title\', title: \'Title text\'}\n];\neDefTagDialog(\'a\', form, \'Insert/edit link\', \'OK\');\n", "link.png", "L" ], [ "Bold", "\x3cstrong\x3e%TEXT%\x3c/strong\x3e", "bold.png", "B" ], [ "Italic", "\x3cem\x3e%TEXT%\x3c/em\x3e", "italic.png", "I" ], [ "Ordered list. Converts selected lines to a numbered list.", "js: eDefSelProcessLines(\'\x3col\x3e\\n\', \' \x3cli\x3e\', \'\x3c/li\x3e\', \'\\n\x3c/ol\x3e\');", "ol.png", "O" ], [ "Unordered list. Converts selected lines to a bulleted list.", "js: eDefSelProcessLines(\'\x3cul\x3e\\n\', \' \x3cli\x3e\', \'\x3c/li\x3e\', \'\\n\x3c/ul\x3e\');", "ul.png", "U" ], [ "Center", "\x3ccenter\x3e%TEXT%\x3c/center\x3e", "Center", "" ], [ "Link", "\x3cb\x3e\x3ca href=\"\"\x3e%TEXT%\x3c/a\x3e\x3c/b\x3e", "Link", "" ], [ "p-nbsp", "\x3cp /\x3e\x26nbsp;", "p-nbsp", "" ], [ "Teaser break", "\x3c!--break--\x3e", "teaserbr.png", "T" ], [ "CTA", "\x3ccenter\x3e\x3cb\x3e\x3cspan style=\"font-size: 1.2em\"\x3e\x3ca href=\"\"\x3e%TEXT%\x3c/a\x3e\x3c/span\x3e\x3c/b\x3e\x3c/center\x3e", "CTA", "" ], [ "Blue bold", "\x3cb style=\"color: #0054A8\"\x3e%TEXT%\x3c/b\x3e", "Blue bold", "" ], [ "H2", "\x3ch2\x3e%TEXT%\x3c/h2\x3e", "H2", "" ], [ "Red bold", "\x3cb style=\"color: #B34444\"\x3e%TEXT%\x3c/b\x3e", "Red bold", "" ], [ "Preview textarea content.", "js: eDefPreview();", "preview.png", "P" ] ]

#3

I forgot to mention.... I have multi site Drupal installation... and on the other site I also have BUEditor enabled and it works there.....

#4

Do you get any javascript error?
If not this could be a theme issue.
try adding this to your theme's css
.editor-container{float: left; clear:both;}

#5

Still doesn't work mate.

The only thing I recall that I changed is adding template.php file with this content in it:

<?php
function _phptemplate_variables($hook, $vars) {
  if (
$hook == 'page') {
   
drupal_add_js(path_to_theme() .'/3images.js', 'theme');
   
$vars['scripts'] = drupal_get_js();
    return
$vars;
  }
  return array();
}
?>

because I wanted to add certain JS file to my Drupal site .... but I don't think this somehow interfered with BUEditor module.

#6

do you have panels installed? I was having this problem until I upgraded to the newest panels

#7

Do you use yhe latest "tabs" module and cck_fielgroup_tabs? I noticed that when i uploaded these 2 modules, the BUEditor bar disappaer on multilines text fields which are inside tabs..

I think in the vissibilty settings, you'll have to add something like content_tabs/js_add_more/* or so

if someone could help

#8

Status:active» closed (fixed)
nobody click here