ui-tinymce icon indicating copy to clipboard operation
ui-tinymce copied to clipboard

How to upload image?

Open mahendhar9 opened this issue 8 years ago • 0 comments

Hello. What am I doing wrong here, the browse image button doesn't show up.

$scope.options = {
    plugins: [
        "advlist autolink lists link image charmap print preview anchor",
        "searchreplace visualblocks code fullscreen",
        "insertdatetime media table contextmenu paste"
    ],
    toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
    file_browser_callback: function(field_name, url, type, win) {
              win.document.getElementById(field_name).value = 'my browser value';
    }
  };
<textarea ng-model="item.html"
      ng-change="demo.updateHtml()" ng-bind-html="item.html" ui-tinymce="{{options}}"></textarea>
  </form>

Thanks

mahendhar9 avatar Feb 06 '17 22:02 mahendhar9