Needs review
Project:
quicktags
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2007 at 21:06 UTC
Updated:
16 Oct 2007 at 11:29 UTC
if using other editors like tinymce or similar, it would be nice to have the option to add quicktags only to comments.
it's an easy fix, a appended the patch.
| Comment | File | Size | Author |
|---|---|---|---|
| quicktags_3.patch | 856 bytes | suit4 |
Comments
Comment #1
ursus@drupal.ru commentedI've patched quicktags.module and after I've selected Comments only option, quicktags buttons neither shows in node/add/* no above commets textarea :(
Comment #2
suit4 commentedhmm, did you use the latest release of quicktags?
I only testet this on Drupal 5.2 and it works nice for me.
Comment #3
ursus@drupal.ru commentedhmm...
can you share your patched quicktags.module file? :)
Comment #4
ursus@drupal.ru commentedsorry, patch is really working.
but I see quicktags buttons only when address is like comment/reply/*
Comment #5
suit4 commenteddo you use quicktags on custom nodes, like cck nodes?
It might be possible, that quicktags is not working currently qith custom nodes...
Comment #6
suit4 commented... the check works like this in the pathced quicktags.module
case 3 is your check: if the first argument is not comment, it will return false.
How is the name of your url? http://yourdomain.org/yourcustomnode/comment ?
Than this check WILL fail, because arg(0) is not comment, but yourcustomnode.
Try to chankge that check to
maybe that helps.