sample code for blockquote? would like to add...

zilla - March 9, 2008 - 20:43
Project:BUEditor
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hi. i'd like to add a simple script to highlight text and make it a blockquote with parens styled by theme, etc - has anybody already written a simple script for this that may be pasted into my current editor?

something that will let users click once for this effect

#1

zilla - March 23, 2008 - 16:29
Category:support request» feature request

hi. changing this to 'feature request' such that it might be one of the standard elements included in core. seems like quote is a very, very common element alongside bold, italic, list etc....anybody doing this already?

#2

aaroncouch - February 12, 2009 - 14:21

this is pretty simple, just copy the 'bold' settings and switch 'blockquote' out for 'strong'. the full settings would be:

title       content                            icon

quote       <blockquote>%TEXT%</blockquote>    Caption
                                               quote

instead of an image, when you select 'Caption' it allows you to write text that will form the button.

#3

quicksketch - September 29, 2009 - 19:15
Category:feature request» support request
Status:active» fixed

Expanding the default set to include blockquote would likely just extend to other tags (align, underline, strike, etc.) I think the default set is fine, since it's easy to make new ones that are suitable for your site. Better to have too little than to have too many when not all tags work on all sites (blockquote isn't even allowed by default in Drupal 6).

#4

System Message - October 13, 2009 - 19:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.