12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!-- <div>
- <textarea class="form-control autosize msd-elastic: \n;" data-ng-model="model[options.key]" ng-change="to['onChange'](model[options.key], options, this, $event ,model);"></textarea>
- </div> -->
- <div>
- <div id="textarea" ng-contenteditable="{{!to.readOnly}}" ng-bind-html="model[options.key]"></div>
-
- </div>
-
- <!-- <div class="col-md-12" style="z-indx:1px;" >
- <div ckeditor="options" ng-model="model[options.key]" ready="onReady()"></div>
- </div> -->
- <style>
- #textarea {
- height: auto;
- min-height: 28px;
- width: 100%;
- padding: 4px;
- color: #666;
- background-color: #eee;
- border: 1px solid #dedede;
- border-radius: 2px;
- resize: vertical;
- overflow: auto;
- transition-duration: 0.1s;
- transition: 300ms ease-in-out;
- font-size: 14px;
- }
- #textarea img{
- width: 400px;
- }
-
- #textarea:focus,
- #textarea:hover {
- outline: none;
- background: #f7f7f8 !important;
- border-color: #F8F8F8;
- }
-
- /* #textarea:empty:before {
- content: attr(placeholder);
- color: #bbb;
- } */
- </style>
|