Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
Facing issue while using ngx-quill and ngx-tribute

I want to use ngx-tribute with ngx-quill, but I am facing an issue, selected item (from tribute's dropdown) is not inserting properly. I am attaching two screenshots related to this problem. Am I doing something wrong?

<quill-editor id="quillEditor" [ngxTribute]="options" [(ngModel)]="input" [styles]="{height: '300px'}" #tributeDirective="ngx-tribute"></quill-editor>

options: TributeOptions<TributeValue> = {
    trigger: "@",
    values: [
        { key: 'test1', value: 'test1' },
        { key: 'test2', value: 'test2' },
        { key: 'test3', value: 'test3' }
    ],
    selectTemplate: function (item) {  
      return item.original.key;
    },
   
};

[![Screenshot 1][1]][1]


[![Screenshot 2][2]][2]


  [1]: https://i.stack.imgur.com/O9Yp4.png
  [2]: https://i.stack.imgur.com/zKSgq.png
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!