Skip navigation

CQ5

benid0r
Currently Being Moderated

Block unwanted tags from drag&drop

Jul 27, 2012 3:44 AM

Tags: #configuration #widgets #cq5.5

Hi

 

we successfully block any unwanted tags pasted from the clipboard, what passes the rte edit plugin and paste-wordhtml is what we want. Fine.

 

But authors are still able to inject everything they want by using drag&drop from external programs. I.e. they edit a simple HTML file, add some <pre> code, display it in a webbrowser, mark and drag it to the editor.

 

We tried whatever we could find in the rte configuration, but it looks like the paste settings completely forgot about drag&drop.

 

So the question is: how do you avoid unwanted tags from drag&drop? Or better, how to you whitelist what you want to allow?

 
Replies
  • Currently Being Moderated
    Jul 29, 2012 6:39 PM   in reply to benid0r

    D&D from other browser window is not supported.  See if something can be implemented at project level on similar lines as [1].

     

    http://blog.navigationarts.com/modifying-an-extjs-authoring-interface- in-cq5/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points