mention-custom-renderer.html 197 B

12345678910
  1. <div id="editor">
  2. <p>Hello <span class="mention" data-mention="Ted">@Ted</span>.</p>
  3. </div>
  4. <style>
  5. .mention {
  6. background: hsla(341, 100%, 87%, 0.4);
  7. color: hsl(340, 100%, 31%);
  8. }
  9. </style>