This module is pure beauty! (Thank you mister developer!) Really.
But it is sometimes confusing to see it for example at feedback page where it has no sense (as emails sent in plain text).
So it would be nice to have settings page where it would be possible to restrict quicktags to be shown only on some certain node types. Only on blogs and story for example.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | quicktags_1.patch | 3.41 KB | laer |
Comments
Comment #1
mudanoman commentedI am interested in this as well. Thanks, Ivan
Comment #2
Bèr Kessels commentednew features are only introduced in HEAD.
Comment #3
ardas commentedThis is a good idea. This feature is especially required when modifying different content types are allowed to different roles with different filter settings. So, several content types bodies may have these buttons disabled bbcode filter - in this case all entered tags won't be formatted, they are just annoying the user.
Thanks.
Comment #4
Bèr Kessels commentedalacarteinternet developers and I are working on some nice features for switching the quicktags on and off based on very nifty features. So far, it looks really cool whats coming up! General idea is to render a checkbox/fieldset with each textarea (based on several settings and a permission) wich allows you to change quicktags settings for that specific textarea. PAtches and screenshots soon to come.
Comment #5
gregglesSounds great! It would be nice if this system took into account not just node types, but also comment text areas, contact/feedback form textareas, profile textareas, etc.
Looking forward to it!
Comment #6
momper commentedhello
excellent module - but: it is nearly useless for my customers without the possibility to activate/deactivate for contenttype, roles etc. - did anybody worked on this?
it would be such a nice alternative for heavy stuff like tinymce - it has the possibility to grow to a "mini-drupal-editor" ....
thanks and greetings
momper
Comment #7
Bèr Kessels commented.. if its 'nearly useless' for you, then either don't use it or improve it. That's the way open soure works. Moaning will not get yo anywhere, puttung your effort where your mouth is, will :)
Comment #8
AdrianB commentedNot moaning, but just nicely asking if they developement mentioned in #4 still is active? I liked the idea.
Comment #9
Bèr Kessels commentedSorry, its not. I have asked for the code, but w/o luck.
Comment #10
gmak commentedThis is a feature that I'd really like to see. I've created an "add on" module for quicktags which uses Wiki formatting (in conjunction with pearwiki_filter and wikitools), but I'd only like quicktags to be used for the wiki and have tinyMCE for other content types.
I've had a look at the tinymce.module (v 1.90.4.16) file and can roughly see where their code is setting up to determine which pages/content types tinymce will be visible. Unfortunately the code is a bit too complex for me to follow and see how it actually flows.
As I follow it, there is this function which checks some settings to determine whether to show tinymce on a textarea (around line #1081):
This looks to be coupled with some admin settings which give the options for determining display (around line #732):
(please note in the above I had to replace some '<' and '/> in order keep the 'code' block formatting)
What I can't figure out is how to get the settings into the database and call them out again as necessary. I'm probably also missing something else.
Anyone willing to take up the gauntlet?
Comment #11
laer commentedI added "Show quicktags on specific pages" textarea to specify visibility.
Comment #12
tcblack commentedJust updating status since there is a patch here
Comment #13
kalin9 commentedI applied this patch to $Id: quicktags.module,v 1.21 2007/02/03 10:59:25 ber Exp $ which i downloaded today seems to work fine, you get a reject on the $Id:$ tag comment line is all, not that it of course matters there.
Comment #14
summit commentedSubscribing, greetings, Martijn
Comment #15
Bèr Kessels commented@kalin but did it add the feature as you suspected it would? I'd like to hear some positive reviews before I go ahead and commit the patch.