Accesskeys in Internet Explorer:
Pressing an accesskey(Alt+KEY) when there is a selection, deselects it preserving the caret position.
Accesskeys in Firefox:
If there are multiple editors in the page, accesskeys(Shift+Alt+KEY) will work on only the first editor instance.
This is because FF does not allow dynamic adjustment of accesskeys.
CTRL shortcuts:
Do not use A(select all), C(copy), V(paste), X(cut) keys as they are text operation keys by default.
Do not use F(find), O(open), P(print) keys in IE and Safari as they will always fire their default actions.
New line character:
Since new line is represented by different characters (\r, \r\n, \n) on different platforms, there may be some
unexpected behaviour of the editor in some platform-browser combos regarding the cursor position after text
insertion/replacement. Specify new line characters as "\n", if you have to use any in your scripts.
POST variable limit:
Although it's a rare case, you may have to increase your server post variable limit if you have problems while adding too many buttons in admin interface.
Preview button
Preview doesn't seem to work with any added capabilities. For example, putting in a font button to change the font, size or color; preview doesn't show the effects, even though the button has worked and effects will show up when the area is actually used.
- Halfelven
selection or the whole content
Preview button previews the selected text in the editor. If there is no selection the whole content is previewed.
To preview the effect of a html tag, the complete tag must be selected.
Hi there, I've tried adding
Hi there,
I've tried adding a Code button to the toolbar, but the ending code tag appears to be placed immediately before the paragraph tag instead of at the end of my selected text.
I was hoping to use the code tag as a quote box in a forum, but this will result in only the first paragraph of selected text being boxed up.
Cheers,
Matt
How can I use Bueditor to
How can I use Bueditor to create yellow page directory?
Hi, I've noticed with
Hi, I've noticed with BUEditor that I have to add <br> and <p> tags to the allowed HTML for the Filtered HTML input format for the drupal linebreak converter to work properly. Is that due to BUE or something else?
Thanks!
Hi I am geting a very strange
Hi
I am geting a very strange effect using Buedit with Drupal 6.x
For example, If I try to "Add new comment" under "Comments", it does not appear 1 row of Buedit options but many rows starting from about 14 on top reaching the bottom with a row of 1 item which corresponds to the Interrogation icon (Help)
Looking the source code I get something like the following for this:
<!--//--><\\\\[/img]$\')) || [\'\', \'\', \'\', \'\'];\nvar form = [\n {name: \'src\', title: \'Image URL\', value: M[3], suffix: E.imce.button(\'attr_src\'), required: true},\n {name: \'width\', title: \'Width x Height\', value: M[1], suffix: \' x \', attributes: {size: 3}, getnext: true},\n {name: \'height\', value: M[2], attributes: {size: 3}}\n];\nvar opt = {title: \'Insert/edit image\'};\nopt.submit = function(tag, form) {\n var el = form.elements;\n var src = el[\'attr_src\'].value;\n var w = el[\'attr_width\'].value;\n var h = el[\'attr_height\'].value;\n E.replaceSelection(\'[img\'+ (w*1 ? (\'=\'+ w +\'x\'+ h) : \'\') +\']\'+ src +\'[/img]\');\n};\nE.tagDialog(\'img\', form, opt);", "image.png", "M" ], [ "Insert/edit link", "js:\nvar S = E.getSelection();\nvar M = S.match(new RegExp(\'^\\\\[url(?:=([^\\\\]]*))?]((?:.|[\\r\\n])*)\\\\[/url]$\')) || [\'\', \'\', \'\'];\nvar form = [\n {name: \'href\', title: \'URL\', value: M[1] || M[2], suffix: E.imce.button(\'attr_href\'), required: true},\n {name: \'text\', value: M[1] ? M[2] : (M[0] ? \'\' : S)}\n];\nvar opt = {title: \'Insert/edit link\'};\nopt.submit = function(tag, form) {\n var el = form.elements;\n var url = el[\'attr_href\'].value;\n var txt = el[\'attr_text\'].value;\n E.replaceSelection(\'[url\'+ (txt ? (\'=\'+ url) : \'\') +\']\'+ (txt || url) +\'[/url]\');\n};\nE.tagDialog(\'a\', form, opt);", "link.png", "L" ], [ "tpl:dot", "", "dot.png", "" ], [ "Bold", "[b]%TEXT%[/b]", "bold.png", "B" ], [ "Italic", "[i]%TEXT%[/i]", "italic.png", "I" ], [ "Underline", "[u]%TEXT%[/u]", "underline.png", "U" ], [ "Strikethrough", "[s]%TEXT%[/s]", "strike.png", "S" ], [ "tpl:dot", "", "dot.png", "" ], [ "Ordered list. Converts selected lines to a numbered list.", "js: E.wrapLines(\'[list=1]\\n\', \' [*]\', \'\', \'\\n[/list]\');", "ol.png", "O" ], [ "Unordered list. Converts selected lines to a bulleted list.", "js: E.wrapLines(\'[list]\\n\', \' [*]\', \'\', \'\\n[/list]\');", "ul.png", "N" ], [ "tpl:dot", "", "dot.png", "" ], [ "Headings", "js:\nvar tags = [[\'h1\', \'Heading1\'], [\'h2\', \'Heading2\'], [\'h3\', \'Heading3\'], [\'h4\', \'Heading4\'], [\'h5\', \'Heading5\'], [\'h6\', \'Heading6\']];\nE.tagChooser(tags);\n$(\'a.choice-link\', E.quickPop).unbind(\'click\').each(function(i, a) {\n $(a).click(function() {\n E.tagSelection(\'[\'+ tags[i][0] +\']\', \'[/\'+ tags[i][0] +\']\').focus();\n return false;\n });\n});", "headers.png", "H" ], [ "Quote", "[quote]%TEXT%[/quote]", "quote.png", "Q" ], [ "Code", "[code]%TEXT%[/code]", "code.png", "D" ], [ "tpl:dot", "", "dot.png", "" ], [ "Teaser break", "\x3c!--break--\x3e", "teaserbr.png", "T" ], [ "Preview", "js: E.prvAjax();", "preview.png", "P" ], [ "Help", "js: E.help(\'fadeIn\');", "help.png", "1" ] ], "sprite": { "url": "http://www.projectamethyst.co.uk/sites/default/files/bueditor-sprites/sprite_45f95041d2947155a246ac0923142347.png", "unit": 20, "x1": "/sites/all/modules/bueditor/icons/x1.png" } } }, "preset": { "edit-comment": "e2" } } });
//--><!]]>
Any idea what I am missing? not properly configuring?
I setup as a default edit BBCode for this
Thanks very much
Gonzalo