imageBtn.html 1.0 KB

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