Closed (fixed)
Project:
quicktags
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2006 at 10:41 UTC
Updated:
29 Jan 2008 at 19:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
Bèr Kessels commentedNice feature. I doubt it is very hard to code. Will reconsider this if someone can make a patch. (Or if I find time to make one).
Bèr
Comment #2
naudefj commentedHere is a patch, please review.
Comment #3
Bèr Kessels commentedThe usort breaks the assiciative arrays. PLease use uasort instead.
Comment #4
Bèr Kessels commentedComment #5
naudefj commentedUpdated patch attached.
Comment #6
naudefj commentedPing Bèr.
Comment #7
pfaocleThis patch seems to work fine for me, looks good. Just a note that if applied, other modules which implement hook_quicktags_insert or hook_quicktags_alter (such as bbcode.module) will need to provide a weight, too.
Comment #8
tcblack commentedThis additional patch provides similar weighting to the quicktagsplus contribution (as of just now only in cvs). The original module weighting ends with 60, this module begins at 70 and counts upwards with a few minor jumps.
Comment #9
tcblack commentedAfter testing for a week, both patches (quicktags, quicktagsplus) appear to work for me.
I'll wait for Bèr to commit these to head since It doesn't appear that a patch has been made yet for the bbcode module. I suspect one will have to be made and tested there before this one is truly RTBC.
Comment #10
Bèr Kessels commentedThanks for you review. I don't have immediate time available for a commit, but hope to get it done before my (badly needed) holidays, otherwise it will be commited somewhere in 2 to 3 weeks.
Comment #11
tcblack commentedI've created a matching patch for BBcode and posted it there (http://drupal.org/node/208059) in order to help any future compatibility issues along.
Comment #13
Bèr Kessels commentedCommitted to the HEAD on the Drupal-5 branch.
Doc at http://webschuur.com/node/628 updated to explain the hook wih the new integer.
Comment #14
Bèr Kessels commentedComment #15
jmai commentedI tried the latest code for 5.x-2.x and i get a blank page. I compared the committed files of quicktags.module commited on January 13th 1.21.4.1 with 1.22. It seems to be commit is at the wrong location for 5.x-2.x. b/c it doesn't have the 'undefined import stylesheet' fixed commited on January 8 which is causing the blank page. This is also true for 5.x-3.x. Tell me if i'm wrong.
Comment #16
Bèr Kessels commentedCan you post a new bug issue about hat stylesheet import?
Comment #17
jmai commented@Ber Kessels: The bug issue was already created #198326 with the code fix on comment #2. There was also the issue #208894 which is also very useful that I thought was suppose to be commited too.
Comment #18
tcblack commentedI created the 5--3 branch specifically to get that stylesheet fix out there since it was causing problems. I just downloaded 5.x-3.x and line 124 has the corrected code.
I do notice that the weight ordering is not included. I thought it had been committed to head but it was committed to 5--2 instead.
My reason for creating the new dev branch was specifically because the weight feature was new.
Bèr: I'm still learning CVS does this merely need to be committed to 5--3 to fix?
exuberance+lack of experience=oops.Comment #19
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.