Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

WYSIWYG plugin selected by default ...

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


kiffin.gish at planet

Nov 19, 2009, 11:24 AM

Post #1 of 7 (600 views)
Permalink
WYSIWYG plugin selected by default ...

Hi there.

I've got the wysiwyg plugin working alright, except that whenever one
creates a ticket he/she must click on the wysiwyg radio button in order
to enable it.

Is it possible to have it enabled by default for all textareas?

--
Kiffin Gish <Kiffin.Gish [at] planet>
Gouda, The Netherlands


--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


Chris.Nelson at SIXNET

Nov 19, 2009, 11:44 AM

Post #2 of 7 (581 views)
Permalink
Re: WYSIWYG plugin selected by default ... [In reply to]

> I've got the wysiwyg plugin working alright, except that whenever one
> creates a ticket he/she must click on the wysiwyg radio button in order
> to enable it.
>
> Is it possible to have it enabled by default for all textareas?

We did this with:

diff --git a/tracwysiwygplugin/0.11/tracwysiwyg/htdocs/wysiwyg.js b/
tracwysiwygp
index d51c0c9..2046e19 100644
--- a/tracwysiwygplugin/0.11/tracwysiwyg/htdocs/wysiwyg.js
+++ b/tracwysiwygplugin/0.11/tracwysiwyg/htdocs/wysiwyg.js
@@ -3697,9 +3697,10 @@ TracWysiwyg.getEditorMode = function() {
if (match) {
switch (match[1]) {
case "wysiwyg":
+ case "textarea":
mode = match[1];
break;
- default: // "textarea"
+ default:
mode = null;
break;
}
@@ -3707,7 +3708,7 @@ TracWysiwyg.getEditorMode = function() {
}
}

- TracWysiwyg.editorMode = mode || "textarea";
+ TracWysiwyg.editorMode = mode || "wysiwyg";
return TracWysiwyg.editorMode;
};

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


roger.oberholtzer at gmail

Nov 20, 2009, 2:25 AM

Post #3 of 7 (581 views)
Permalink
Re: WYSIWYG plugin selected by default ... [In reply to]

On Thu, 2009-11-19 at 20:24 +0100, Kiffin Gish wrote:
> Hi there.
>
> I've got the wysiwyg plugin working alright, except that whenever one
> creates a ticket he/she must click on the wysiwyg radio button in order
> to enable it.
>
> Is it possible to have it enabled by default for all textareas?

While on the subject of text areas, sometimes I see that there is an
option to increase the lines shown in the edit area. Sometimes not. Is
it possible to have that item always shown?

--
Roger Oberholtzer

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


remy.blank at pobox

Nov 20, 2009, 3:21 AM

Post #4 of 7 (574 views)
Permalink
Re: WYSIWYG plugin selected by default ... [In reply to]

Roger Oberholtzer wrote:
> While on the subject of text areas, sometimes I see that there is an
> option to increase the lines shown in the edit area. Sometimes not. Is
> it possible to have that item always shown?

I have tried making them dynamically resizable, but all my attempts have
failed so far on IE (all other browsers work). See:

http://trac.edgewall.org/ticket/8216

If you have any suggestions about how to solve the issue with IE, please
add a comment to that ticket, and I'll take it up again. Heck, maybe
the issue has even disappeared with IE8.

-- Remy
Attachments: signature.asc (0.19 KB)


Chris.Nelson at sixnet

Nov 20, 2009, 4:45 AM

Post #5 of 7 (573 views)
Permalink
RE: WYSIWYG plugin selected by default ... [In reply to]

Roger Oberholtzer wrote:
> On Thu, 2009-11-19 at 20:24 +0100, Kiffin Gish wrote:
>> Hi there.
>>
>> I've got the wysiwyg plugin working alright, except that whenever one
>> creates a ticket he/she must click on the wysiwyg radio button in
>> order to enable it.
>>
>> Is it possible to have it enabled by default for all textareas?
>
> While on the subject of text areas, sometimes I see that there is an
> option to increase the lines shown in the edit area. Sometimes not. Is
> it possible to have that item always shown?

I think it's in the wiki when previewing changes but not elsewhere. I'd
like to see it all the time, too.

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


rantingman at gmail

Nov 20, 2009, 6:20 AM

Post #6 of 7 (573 views)
Permalink
RE: WYSIWYG plugin selected by default ... [In reply to]

This was due to be in 0.11.6 - sadly it's been postponed until 0.12.1
according to http://trac.edgewall.org/ticket/8216

Happy to join any testing/lobbying effort to get this upgraded in priority.
I have personally used the patch supplied to
http://trac.edgewall.org/ticket/8381 and it works fine - the main issue
seems to be about compatibility with all browsers.

Chris Carr


> -----Original Message-----
> From: Chris Nelson [mailto:Chris.Nelson [at] sixnet]
> Sent: 20 November 2009 12:45
> To: trac-users [at] googlegroups
> Subject: RE: [Trac] WYSIWYG plugin selected by default ...
>
> Roger Oberholtzer wrote:
> > On Thu, 2009-11-19 at 20:24 +0100, Kiffin Gish wrote:
> >> Hi there.
> >>
> >> I've got the wysiwyg plugin working alright, except that
> whenever one
> >> creates a ticket he/she must click on the wysiwyg radio button in
> >> order to enable it.
> >>
> >> Is it possible to have it enabled by default for all textareas?
> >
> > While on the subject of text areas, sometimes I see that there is an
> > option to increase the lines shown in the edit area.
> Sometimes not. Is
> > it possible to have that item always shown?
>
> I think it's in the wiki when previewing changes but not
> elsewhere. I'd
> like to see it all the time, too.
>
> --
>
> You received this message because you are subscribed to the
> Google Groups "Trac Users" group.
> To post to this group, send email to trac-users [at] googlegroups
> To unsubscribe from this group, send email to
> trac-users+unsubscribe [at] googlegroups
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


ciaran.dunn at gmail

Nov 20, 2009, 6:56 AM

Post #7 of 7 (551 views)
Permalink
Re: WYSIWYG plugin selected by default ... [In reply to]

One of my users requested this just last week. our shop could help in
testing with pretty much all browsers(except maybe Opera).

Cheers,
Ciaran Dunn

2009/11/20 Chris Carr <rantingman [at] gmail>

> This was due to be in 0.11.6 - sadly it's been postponed until 0.12.1
> according to http://trac.edgewall.org/ticket/8216
>
> Happy to join any testing/lobbying effort to get this upgraded in priority.
> I have personally used the patch supplied to
> http://trac.edgewall.org/ticket/8381 and it works fine - the main issue
> seems to be about compatibility with all browsers.
>
> Chris Carr
>
>
> > -----Original Message-----
> > From: Chris Nelson [mailto:Chris.Nelson [at] sixnet]
> > Sent: 20 November 2009 12:45
> > To: trac-users [at] googlegroups
> > Subject: RE: [Trac] WYSIWYG plugin selected by default ...
> >
> > Roger Oberholtzer wrote:
> > > On Thu, 2009-11-19 at 20:24 +0100, Kiffin Gish wrote:
> > >> Hi there.
> > >>
> > >> I've got the wysiwyg plugin working alright, except that
> > whenever one
> > >> creates a ticket he/she must click on the wysiwyg radio button in
> > >> order to enable it.
> > >>
> > >> Is it possible to have it enabled by default for all textareas?
> > >
> > > While on the subject of text areas, sometimes I see that there is an
> > > option to increase the lines shown in the edit area.
> > Sometimes not. Is
> > > it possible to have that item always shown?
> >
> > I think it's in the wiki when previewing changes but not
> > elsewhere. I'd
> > like to see it all the time, too.
> >
> > --
> >
> > You received this message because you are subscribed to the
> > Google Groups "Trac Users" group.
> > To post to this group, send email to trac-users [at] googlegroups
> > To unsubscribe from this group, send email to
> > trac-users+unsubscribe [at] googlegroups<trac-users%2Bunsubscribe [at] googlegroups>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/trac-users?hl=.
> >
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To post to this group, send email to trac-users [at] googlegroups
> To unsubscribe from this group, send email to
> trac-users+unsubscribe [at] googlegroups<trac-users%2Bunsubscribe [at] googlegroups>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.