Closed (won't fix)
Project:
quicktags
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2006 at 17:52 UTC
Updated:
3 Feb 2013 at 20:12 UTC
Dear Ber,
There is an idea to support separators for buttons (because quite a lot of modules will be using quicktags soon).
Instead of passing
$items['ed_block'] = array(
'name' => 'quote',
'prefix' =>'[quote]',
'suffix' => '[/quote]',
'accesskey' => 'q',
'icon' => $path .'ed_block.png',
);
we will pass the following data:
$items['sep1'] = array(
'type' => 'separator',
'icon' => $path .'ed_block.png',
'weight' => 5,
);
Where 'type' will be the new attribute set to 'image' by default indicating that this is a normal image (button), and 'separator' will mean that this is just an image without an A-HREF tag and function call. 'weight' attribute will specify its order (hope it will be implemented soon, I saw a feature request).
What do you think ? If you agree and accept an idea, I can provide you a patch shortly.
Thanks.
Comments
Comment #1
Bèr Kessels commentedI like this idea. I think, however, that we should look at a more general 'HTML code' tag. That way we can also add breaks (BR) and something like
<img src="separator.png"/>, to add a separator.Comment #2
ardas commentedBer, are you going to commit weight patch provided here http://drupal.org/node/72753 ?
I'm asking because if I provide you separators patch, that one can't be applied. So, if you are going to commit it please do it, and I'll download the newest version or I can take weight patch and provide you an aggregated patch for weights and separators.
Thanks.
Comment #3
duaelfrThis version of quicktags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.