Loading ...
Sorry, an error occurred while loading the content.

Rich Text Editor : Pre Check

Expand Messages
  • bacteries_metalorgie
    Hello, I use RTE (wonderful editor!) and I would like to have a pre checked box for Open In A New Window when I click on the link button. How can I do that?
    Message 1 of 4 , Mar 31 2:11 PM
    • 0 Attachment
      Hello,
      I use RTE (wonderful editor!) and I would like to have a pre checked box
      for "Open In A New Window" when I click on the link button. How can I do
      that? (and also, how traduce text in this box?)

      And bonus question : is there a doc (I searched it but don't find)
      listing all the button possibility?

      Thanks.
    • Dav Glass
      bacteries_metalorgie -- You could listen to the windowcreatelinkOpen event like this: myEditor.on( windowcreatelinkOpen , function() {
      Message 2 of 4 , Mar 31 2:35 PM
      • 0 Attachment
        bacteries_metalorgie --

        You could listen to the windowcreatelinkOpen event like this:

        myEditor.on('windowcreatelinkOpen', function() {
        YAHOO.util.Dom.get('createlink_target').checked = true;
        });

        Hope that helps :)
        Dav

        Dav Glass
        dav.glass@...
        blog.davglass.com



        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +

        ----- Original Message ----
        From: bacteries_metalorgie <bacteries_metalorgie@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Monday, March 31, 2008 2:11:28 PM
        Subject: [ydn-javascript] Rich Text Editor : Pre Check

        Hello,
        I use RTE (wonderful editor!) and I would like to have a pre checked box
        for "Open In A New Window" when I click on the link button. How can I do
        that? (and also, how traduce text in this box?)

        And bonus question : is there a doc (I searched it but don't find)
        listing all the button possibility?

        Thanks.



        ------------------------------------

        Yahoo! Groups Links
      • bacteries_metalorgie
        Thanks! I will check this.
        Message 3 of 4 , Apr 1, 2008
        • 0 Attachment
          Thanks! I will check this.

          --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...> wrote:
          >
          > bacteries_metalorgie --
          >
          > You could listen to the windowcreatelinkOpen event like this:
          >
          > myEditor.on('windowcreatelinkOpen', function() {
          > YAHOO.util.Dom.get('createlink_target').checked = true;
          > });
          >
          > Hope that helps :)
          > Dav
          >
          > Dav Glass
          > dav.glass@...
          > blog.davglass.com
          >
          >
          >
          > + Windows: n. - The most successful computer virus, ever. +
          > + A computer without a Microsoft operating system is like a dog
          > without bricks tied to its head +
          > + A Microsoft Certified Systems Engineer is to computing what a
          > McDonalds Certified Food Specialist is to fine cuisine +
          >
          > ----- Original Message ----
          > From: bacteries_metalorgie <bacteries_metalorgie@...>
          > To: ydn-javascript@yahoogroups.com
          > Sent: Monday, March 31, 2008 2:11:28 PM
          > Subject: [ydn-javascript] Rich Text Editor : Pre Check
          >
          > Hello,
          > I use RTE (wonderful editor!) and I would like to have a pre checked box
          > for "Open In A New Window" when I click on the link button. How can I do
          > that? (and also, how traduce text in this box?)
          >
          > And bonus question : is there a doc (I searched it but don't find)
          > listing all the button possibility?
          >
          > Thanks.
          >
          >
          >
          > ------------------------------------
          >
          > Yahoo! Groups Links
          >
        • bacteries_metalorgie
          I Try it but I never go in the function. I m new to listener events so I try to understand but don t know what change to have it works. I see here :
          Message 4 of 4 , Apr 1, 2008
          • 0 Attachment
            I Try it but I never go in the function.

            I'm new to listener events so I try to understand but don't know what
            change to have it works. I see here :
            http://developer.yahoo.com/yui/docs/editor.js.html that
            windowcreatelinkOpen might be the correct name for this event...

            Any idea?

            --- In ydn-javascript@yahoogroups.com, "bacteries_metalorgie"
            <bacteries_metalorgie@...> wrote:
            >
            > Thanks! I will check this.
            >
            > --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@> wrote:
            > >
            > > bacteries_metalorgie --
            > >
            > > You could listen to the windowcreatelinkOpen event like this:
            > >
            > > myEditor.on('windowcreatelinkOpen', function() {
            > > YAHOO.util.Dom.get('createlink_target').checked = true;
            > > });
            > >
            > > Hope that helps :)
            > > Dav
            > >
            > > Dav Glass
            > > dav.glass@
            > > blog.davglass.com
            > >
            > >
            > >
            > > + Windows: n. - The most successful computer virus, ever. +
            > > + A computer without a Microsoft operating system is like a dog
            > > without bricks tied to its head +
            > > + A Microsoft Certified Systems Engineer is to computing what a
            > > McDonalds Certified Food Specialist is to fine cuisine +
            > >
            > > ----- Original Message ----
            > > From: bacteries_metalorgie <bacteries_metalorgie@>
            > > To: ydn-javascript@yahoogroups.com
            > > Sent: Monday, March 31, 2008 2:11:28 PM
            > > Subject: [ydn-javascript] Rich Text Editor : Pre Check
            > >
            > > Hello,
            > > I use RTE (wonderful editor!) and I would like to have a pre
            checked box
            > > for "Open In A New Window" when I click on the link button. How
            can I do
            > > that? (and also, how traduce text in this box?)
            > >
            > > And bonus question : is there a doc (I searched it but don't find)
            > > listing all the button possibility?
            > >
            > > Thanks.
            > >
            > >
            > >
            > > ------------------------------------
            > >
            > > Yahoo! Groups Links
            > >
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.