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

Re: [ydn-javascript] yui editor missing documented events?

Expand Messages
  • Steven Hartland
    Ahh yes it does thanks, couldnt see the wood for the trees there Dav ;-) Saw the name of the function and just expected it to fire on the change of the html
    Message 1 of 3 , Apr 2, 2009
    • 0 Attachment
      Ahh yes it does thanks, couldnt see the wood for the trees there Dav ;-)
       
      Saw the name of the function and just expected it to fire on the change of
      the html under user input in the editor.
       
      nodeChange is what I want I believe.
       
          Regards
          Steve
       
      ----- Original Message -----
      From: Dav Glass
      Sent: Thursday, April 02, 2009 5:37 PM
      Subject: Re: [ydn-javascript] yui editor missing documented events?

      Steve --

      Those are attribute events, they only get fired when you change a
      configuration option. Like this:

      myEditor.on( 'markupChange' , console.log) ;
      myEditor.set( 'markup', 'xhtml');
      myEditor.set( 'markup', 'css');
      myEditor.set( 'markup', 'default');

      Does that help?
      Dav

      --
      Dav Glass
      davglass@gmail. com
      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 +

      On Thu, Apr 2, 2009 at 9:06 AM, Steven Hartland <killing@multiplay. co.uk> wrote:
      > Am I going nuts or does the released version ( 2.7.0 ) of the
      > editor not include some of the events documented in the API
      > docs?
      >
      > Events I'm looking for are: htmlChange & markupChange
      > http://developer. yahoo.com/ yui/docs/ YAHOO.widget. SimpleEditor. html#event_ markupChange
      > http://developer. yahoo.com/ yui/docs/ YAHOO.widget. SimpleEditor. html#event_ htmlChange
      >
      > I've looked through editor.js and simpleeditor. js cant find
      > any mention of these methods nor can I see them in a js
      > debugger.
      >
      > Did I miss something?
      >
      > Note: I'm using editor not simple editor but that should just
      > be an extension so should have all the functionality according
      > to the docs.
      >
      > Regards
      > Steve
      >
      > ============ ========= ========= ========= =========
      > This e.mail is private and confidential between Multiplay (UK) Ltd. and the
      > person or entity to whom it is addressed. In the event of misdirection, the
      > recipient is prohibited from using, copying, printing or otherwise
      > disseminating it or any information contained in it.
      >
      > In the event of misdirection, illegible or incomplete transmission please
      > telephone +44 845 868 1337
      > or return the E.mail to postmaster@multipla y.co.uk.
      >
      >


      ================================================
      This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

      In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
      or return the E.mail to postmaster@....
    Your message has been successfully submitted and would be delivered to recipients shortly.