Editor field w/ hyperlink: Prevent opening of Bubble dialog

Editor field w/ hyperlink: Prevent opening of Bubble dialog

emtemt Posts: 46Questions: 10Answers: 0

I'm using CKEditor w/ Editor's bubble editing method to create hyperlinks in my fields. The problem I'm having is that when I click a link in a field, it opens the link in a new tab (which is what I want), but it also opens the bubble dialog. How can I prevent the bubble dialog from opening when the link is clicked?

This question has an accepted answers - jump to answer

Answers

  • emtemt Posts: 46Questions: 10Answers: 0

    Anyone?

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Sounds like you need to stop the bubble of the event. Perhaps something like:

    $('#myTable').on( 'click', 'tbody td a', function ( e ) {
      e.stopPropagation();
    } );
    

    Although a little difficult to say exactly without being able to see the page.

    Allan

  • emtemt Posts: 46Questions: 10Answers: 0

    Thank you Allan!

This discussion has been closed.