okay, i've spent some serious time tweaking bueditor to get the collection i want and now have it working and so i'm attaching this collection here for you as a CSV which you can simply import (or view to see assorted codes)

please note that you may need to modify your input filters to allow for certain tags. this makes use of both html and js within bueditor as well as an example for implementing control over the style by putting the command into the BUEditor and the 'reference' into the css..

huh? what do i mean by that? an example: i want to have some darkish red text available on command from within BUEditor as a color choice for font (if selected) - this could be done with a span for the color, but it's *much* cleaner to have something in your css like:

/*using this for text coloration on site but also need to add a button in bueditor for this using <span class="textred">%text%</span>*/

.textred {
color: #ec0000;
}

...also using a custom 'text wrap as a block' - meanign this code in CSS:

/*just a test of new formatting buttons for BUEditor, change to what you really want*/

.boxed {
border: medium solid black;
border-width: thin;
background-color: lightgrey;
padding: 3px;
}

..is then called by the button you see in the css that is "Boxed" (puts a nice box around a line of text, gray background, thin black border, etc - nice for calling attention to sections on long pages!

at any rate, here's what's in here - code from base and contribs resulting in this main list to configure and copy to create other editors (you'll need some icons - i'm using text for several and default icons for several!)

Insert/Edit Link
Bold
Italic
Headers (4 sizes)
Imager (for link to outside image, like a URL path to picasa or your own other site, or IMCE if you've got it,which i do NOT)
Ordered List
Unordered List
Blockquote
Boxed (see CSS example above)
Break (a line break in case your theme is not seeing one regularly ;)
Center Justify
Full Justify
Left Justify
Right Justify
Paragraph
Red (a font coloring done via CSS - see example above)
Help
Preview
Underline Text (not working - and honestly, get rid of it, I am - it's so unaccepted! doh)
Table (very useful - automagically drops in tags for a draggable table view, be sure to add table, td and tr to input filter

...that's about it...but please add your own if you've got more, like custom ones!! note that if you're doing the CSS stuff, make sure it comes last, ideally in a local.css file (if available with your theme)

also attached a screenshot so you can see what i mean by "Boxed" (what it does to text in this example) and also the buttons themselves...pic also shows a bad example of a table 2x2 with numbers 1,2 in top rows, 3 and 4 in bottom....

CommentFileSizeAuthor
screen.jpg51.67 KBzilla
bueditor_buttons.csv_.txt4.56 KBzilla
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

serkan_isin’s picture

Thanks a lot! By the way, is there any way to make buttons for some kind of find and replace tasks? For example, i would like to change [[some-text]] tags with [w:some-text]. Is that possible?

espirates’s picture

It's missing icons for the text align left right justify.

OFF’s picture

Cool! But table non full useful

ufku’s picture

Status: Active » Closed (won't fix)

Closing 6.x-1.x issues as this branch is no more supported.