title: Override quill editor link with angular 2
body: <p>I am using <a href="https://github.com/KillerCodeMonkey/ngx-quill" rel="nofollow noreferrer">ngx-quill</a> with the snow theme and i want to override Quill link behavior.
  I want to open a custom modal (primeng) when I click on the add link icon and re-open this modal when user select a link in the text content instead of open the quill tooltip.</p>
  
  <p>I use onEditorCreated to catch editor:</p>
  
  <pre><code>&lt;quill-editor id="quill-editor" #editor [(ngModel)]="selectedSiteWebPageLigneColonne.contenuTemp" [style]="{'height':'300px'}" [modules]="moduleSortieSportQuill" (onEditorCreated)="onEditorCreated($event)"&gt;
  </code></pre>
  
  <p>In the component : </p>
  
  <pre><code>onInitEditor(event) {
      const quill = event.editor;
      quill.options.bounds = "#quill-editor";
      const toolbar = quill.getModule('toolbar');
      toolbar.addHandler('link', (value) =&gt; {
          if (value) {
              let range = quill.getSelection();
              if (range == null || range.length == 0) return;
              let preview = quill.getText(range);
              if (/^\S+@\S+\.\S+$/.test(preview) &amp;&amp; preview.indexOf('mailto:') !== 0) {
                  preview = 'mailto:' + preview;
              }
  
              //let tooltip = quill.theme.tooltip;
              //tooltip.edit('link', preview);
              //HERE I CAN OPEN MY MODAL WITH SUCCESS INSTEAD OF USING QUILL TOOLTIP
          } else {
              quill.format('link', false);
          }
      });
  }
  </code></pre>
  
  <p>But it become very difficul to me to avoid the tooltip to be opened when user click on a link into the quill editor.</p>
  
  <p>I have tried many things like: </p>
  
  <pre><code>    editor.on(Emitter.events.SELECTION_CHANGE, (range, oldRange, source) =&gt; {
          return;
      });
  
      document.querySelector('a.ql-action').addEventListener('click', (event) =&gt; {
          event.preventDefault();
      });
      document.querySelector('a.ql-remove').addEventListener('click', (event) =&gt; {
          event.preventDefault();
      });
  </code></pre>
  
  <p>in order to stop the tooltip to be opened and try to open my custom modal but the tooltip always appears... :( </p>
  
  <p>Any help will be really appreciate.</p>