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

Re: [ydn-javascript] Rich Editor remove HTML formatting

Expand Messages
  • Dav Glass
    evpamex -- Currently there is no cross browser way to trap the paste event. You can however offer a paste button (you would have to build it). From that
    Message 1 of 2 , Sep 30, 2008
    • 0 Attachment
      evpamex --

      Currently there is no cross browser way to trap the paste event.

      You can however offer a paste button (you would have to build it).
      From that button, they can paste the content into a textarea (etc) and then you filter the HTML and place it into the Editor.

      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: evpamex <evpamex@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Tuesday, September 30, 2008 2:54:44 PM
      > Subject: [ydn-javascript] Rich Editor remove HTML formatting
      >
      > Hello,
      >
      > Rich Editor works good, but when I copy some text from some HTML page
      > it goes to Rich Editor with HTML formatting.
      >
      > Is there a way to clean buffer from HTML tag when I do this copy?
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.