hyperLink.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <div class="btn-group-vertical" dropdown is-open="isopen">
  2. <button type="button"
  3. class="btn btn-default hyperlink"
  4. title="{{ 'link' | lang:'ui' }}"
  5. ng-class="{'active': isopen}"
  6. ng-click="addHyperlink()"
  7. ng-disabled="minder.queryCommandState('HyperLink') === -1"></button>
  8. <button type="button"
  9. class="btn btn-default hyperlink-caption dropdown-toggle"
  10. ng-disabled="minder.queryCommandState('HyperLink') === -1"
  11. title="{{ 'link' | lang:'ui' }}"
  12. dropdown-toggle>
  13. <span class="caption">{{ 'link' | lang:'ui' }}</span>
  14. <span class="caret"></span>
  15. <span class="sr-only">{{ 'link' | lang:'ui' }}</span>
  16. </button>
  17. <ul class="dropdown-menu" role="menu">
  18. <li>
  19. <a href
  20. ng-click="addHyperlink()">{{ 'insertlink' | lang:'ui' }}</a>
  21. </li>
  22. <li>
  23. <a href
  24. ng-click="minder.execCommand('HyperLink', null)">{{ 'removelink' | lang:'ui' }}</a>
  25. </li>
  26. </ul>
  27. </div>