2

Initially when I drag an image into text area, it looks like this:

enter image description here

When I select 100% through my options, it fits to the frame like below:

enter image description here

What I want: when I drag and drop my image, it fits to 100% width by default, as showed in image 2. I am using textangular.

Can somebody help me? Thanks.

My HTML:

<text-angular id="textangular_group" ng-model="vm.creategroup.desc" ta-toolbar="vm.options"></text-angular>
sig
  • 6,024
  • 2
  • 26
  • 31
Daniel
  • 1,939
  • 3
  • 11
  • 18
  • 4
    Please show your code effort – Mukul Kant Mar 02 '17 at 10:24
  • 1
    checkout [textAngular Directives](https://github.com/fraywing/textAngular/wiki/Directives), all you need is to use `taFileDrop` and set `style="width: 100%;"`, [how to use `taFileDrop`](http://stackoverflow.com/questions/27816253/textangular-filedrophandler-documentation#answer-28035904) – Vilas Kumkar Mar 02 '17 at 10:31

0 Answers0